	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_readline               ## -- Begin function openpam_readline
	.p2align	4, 0x90
_openpam_readline:                      ## @openpam_readline
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, -48(%rbp)
	leaq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	leaq	-56(%rbp), %rdx
	xorl	%r14d, %r14d
	xorl	%ecx, %ecx
	callq	_openpam_straddch
	testq	%rax, %rax
	jne	LBB0_19
## %bb.1:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	_EOF@GOTPCREL(%rip), %r12
	leaq	-72(%rbp), %r13
	leaq	-56(%rbp), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_openpam_straddch
	testq	%rax, %rax
	jne	LBB0_18
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rbx, %rdi
	callq	_fgetc
	cmpl	$35, %eax
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_fgetc
	movl	(%r12), %ecx
	cmpl	$10, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpl	%ecx, %eax
	jne	LBB0_4
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ecx, %eax
	je	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$10, %eax
	jne	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r15)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx
	cmpb	$92, -1(%rcx,%rax)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	decq	%rax
	movq	%rax, -56(%rbp)
	movb	$0, (%rcx,%rax)
	jmp	LBB0_2
LBB0_13:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_18
LBB0_14:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.15:
	movq	%rax, (%rcx)
LBB0_16:
	movq	-48(%rbp), %r14
	jmp	LBB0_19
LBB0_18:
	movq	-48(%rbp), %rdi
	callq	_FREE
	xorl	%r14d, %r14d
LBB0_19:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openpam_readline               ; -- Begin function openpam_readline
	.p2align	2
_openpam_readline:                      ; @openpam_readline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #24]
	add	x0, sp, #24
	add	x1, sp, #8
	add	x2, sp, #16
	mov	w3, #0
	bl	_openpam_straddch
	mov	x8, x0
	mov	x0, #0
	cbnz	x8, LBB0_19
; %bb.1:
Lloh0:
	adrp	x22, _EOF@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EOF@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #24
	add	x1, sp, #8
	add	x2, sp, #16
	bl	_openpam_straddch
	cbnz	x0, LBB0_18
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	mov	x0, x21
	bl	_fgetc
	cmp	w0, #35
	b.ne	LBB0_6
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x21
	bl	_fgetc
	mov	x3, x0
	ldr	w8, [x22]
	cmp	w0, #10
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	cmp	w3, w8
	b.ne	LBB0_4
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x3, x0
	ldr	w8, [x22]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, w8
	b.eq	LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w3, #10
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	x20, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #24]
	sub	x10, x8, #1
	ldrb	w11, [x9, x10]
	cmp	w11, #92
	b.ne	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	str	x10, [sp, #16]
	strb	wzr, [x9, x10]
	b	LBB0_3
LBB0_14:
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_18
LBB0_15:
	cbz	x19, LBB0_17
; %bb.16:
	str	x8, [x19]
LBB0_17:
	ldr	x0, [sp, #24]
	b	LBB0_19
LBB0_18:
	ldr	x0, [sp, #24]
	bl	_FREE
	mov	x0, #0
LBB0_19:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
