	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ok
_ok:                                    ## @ok
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
	movq	_lbuf@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_LBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_stdin@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	movq	$0, -8(%rbx,%rax,8)
	movq	(%r14), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_6
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	movl	$1, %ebx
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_7
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s [n] "

	.comm	_stdout,4,2                     ## @stdout
	.comm	_lbuf,8,3                       ## @lbuf
	.comm	_LBUF,4,2                       ## @LBUF
	.comm	_stdin,4,2                      ## @stdin
L_.str.1:                               ## @.str.1
	.asciz	"yes"

L_.str.2:                               ## @.str.2
	.asciz	"YES"

L_.str.3:                               ## @.str.3
	.asciz	"y"

L_.str.4:                               ## @.str.4
	.asciz	"Y"

	.no_dead_strip	_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ok
_ok:                                    ; @ok
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x1, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_fflush
Lloh5:
	adrp	x20, _lbuf@GOTPAGE
Lloh6:
	ldr	x20, [x20, _lbuf@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh7:
	adrp	x8, _LBUF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LBUF@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x8, _stdin@GOTPAGE
Lloh11:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	bl	_fgets
	cbz	x0, LBB0_9
; %bb.1:
	ldr	x19, [x20]
	mov	x0, x19
	bl	_strlen
	sub	w8, w0, #1
	str	xzr, [x19, w8, sxtw #3]
	ldr	x0, [x20]
	ldr	x8, [x0]
	cbz	x8, LBB0_6
; %bb.2:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.3:
	ldr	x0, [x20]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.4:
	ldr	x0, [x20]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_7
; %bb.5:
	ldr	x0, [x20]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s [n] "

	.comm	_stdout,4,2                     ; @stdout
	.comm	_lbuf,8,3                       ; @lbuf
	.comm	_LBUF,4,2                       ; @LBUF
	.comm	_stdin,4,2                      ; @stdin
l_.str.1:                               ; @.str.1
	.asciz	"yes"

l_.str.2:                               ; @.str.2
	.asciz	"YES"

l_.str.3:                               ; @.str.3
	.asciz	"y"

l_.str.4:                               ; @.str.4
	.asciz	"Y"

	.no_dead_strip	_ok
.subsections_via_symbols
