	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reply                          ## -- Begin function reply
	.p2align	4, 0x90
_reply:                                 ## @reply
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_preen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_pfatal
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcmp
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_putchar
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.3:
	movq	_nflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.4:
	movq	_fswritefd@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jns	LBB0_7
## %bb.5:
	movq	_bkgrdflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_7
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_resolved@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_19
LBB0_7:
	movq	_yflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_10
## %bb.8:
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.9:
	movq	_nflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_11
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movl	$1, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.p2align	4, 0x90
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	leaq	L_.str.5(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_stdin@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_getc
	cmpb	$10, %al
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%eax, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %edi
	callq	_getc
	cmpb	$10, %al
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	(%rbx), %edi
	callq	_feof
	testq	%rax, %rax
	je	LBB0_13
	jmp	LBB0_18
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	leal	-78(%r14), %eax
	cmpb	$43, %al
	ja	LBB0_11
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movzbl	%al, %eax
	movabsq	$8800387991553, %rcx            ## imm = 0x80100000801
	btq	%rax, %rcx
	jae	LBB0_11
## %bb.17:
	movl	$10, %edi
	callq	_putchar
	andb	$-33, %r14b
	movl	$1, %ebx
	cmpb	$89, %r14b
	je	LBB0_19
LBB0_18:
	movq	_resolved@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_preen,8,3                      ## @preen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INTERNAL ERROR: GOT TO reply()"

L_.str.1:                               ## @.str.1
	.asciz	"CONTINUE"

	.comm	_nflag,8,3                      ## @nflag
	.comm	_fswritefd,8,3                  ## @fswritefd
	.comm	_bkgrdflag,8,3                  ## @bkgrdflag
L_.str.3:                               ## @.str.3
	.asciz	"%s? no\n\n"

	.comm	_resolved,8,3                   ## @resolved
	.comm	_yflag,8,3                      ## @yflag
L_.str.4:                               ## @.str.4
	.asciz	"%s? yes\n\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s? [yn] "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stdin,4,2                      ## @stdin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_reply                          ; -- Begin function reply
	.p2align	2
_reply:                                 ; @reply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x0
Lloh0:
	adrp	x8, _preen@GOTPAGE
Lloh1:
	ldr	x8, [x8, _preen@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pfatal
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	mov	x20, x0
	mov	w0, #10
	bl	_putchar
	cbz	w20, LBB0_8
; %bb.3:
Lloh7:
	adrp	x8, _nflag@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nflag@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbnz	x8, LBB0_6
; %bb.4:
Lloh10:
	adrp	x8, _fswritefd@GOTPAGE
Lloh11:
	ldr	x8, [x8, _fswritefd@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	tbz	x8, #63, LBB0_8
; %bb.5:
Lloh13:
	adrp	x8, _bkgrdflag@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bkgrdflag@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
LBB0_6:
	str	x19, [sp]
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
LBB0_7:
	mov	w0, #0
Lloh18:
	adrp	x8, _resolved@GOTPAGE
Lloh19:
	ldr	x8, [x8, _resolved@GOTPAGEOFF]
Lloh20:
	str	xzr, [x8]
	b	LBB0_13
LBB0_8:
Lloh21:
	adrp	x8, _yflag@GOTPAGE
Lloh22:
	ldr	x8, [x8, _yflag@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbnz	x8, LBB0_11
; %bb.9:
	cbnz	w20, LBB0_14
; %bb.10:
Lloh24:
	adrp	x8, _nflag@GOTPAGE
Lloh25:
	ldr	x8, [x8, _nflag@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
LBB0_11:
	str	x19, [sp]
Lloh27:
	adrp	x0, l_.str.4@PAGE
Lloh28:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_printf
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_16 Depth 2
	str	x19, [sp]
Lloh29:
	adrp	x0, l_.str.5@PAGE
Lloh30:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_printf
Lloh31:
	adrp	x8, _stdout@GOTPAGE
Lloh32:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
	bl	_fflush
Lloh34:
	adrp	x21, _stdin@GOTPAGE
Lloh35:
	ldr	x21, [x21, _stdin@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_getc
	cmp	w0, #10
	b.eq	LBB0_14
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x20, x0
LBB0_16:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x21]
	bl	_getc
	cmp	w0, #10
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=2
	ldr	w0, [x21]
	bl	_feof
	cbz	x0, LBB0_16
	b	LBB0_7
LBB0_18:                                ;   in Loop: Header=BB0_14 Depth=1
	and	w8, w20, #0xff
	sub	w8, w8, #78
	cmp	w8, #43
	b.hi	LBB0_14
; %bb.19:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #2049
	movk	x9, #2049, lsl #32
	tst	x8, x9
	b.eq	LBB0_14
; %bb.20:
	mov	w0, #10
	bl	_putchar
	and	w8, w20, #0xffffffdf
	cmp	w8, #89
	b.ne	LBB0_7
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_preen,8,3                      ; @preen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INTERNAL ERROR: GOT TO reply()"

l_.str.1:                               ; @.str.1
	.asciz	"CONTINUE"

	.comm	_nflag,8,3                      ; @nflag
	.comm	_fswritefd,8,3                  ; @fswritefd
	.comm	_bkgrdflag,8,3                  ; @bkgrdflag
l_.str.3:                               ; @.str.3
	.asciz	"%s? no\n\n"

	.comm	_resolved,8,3                   ; @resolved
	.comm	_yflag,8,3                      ; @yflag
l_.str.4:                               ; @.str.4
	.asciz	"%s? yes\n\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s? [yn] "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stdin,4,2                      ; @stdin
.subsections_via_symbols
