	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_my_getc
_handle_my_getc:                        ## @handle_my_getc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_DLG_EXIT_OK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, (%rcx)
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.1:
	testl	%edx, %edx
	jne	LBB0_7
## %bb.2:
	movq	_ERR@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	jne	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_handle_input
	movq	%rbx, %rdi
	callq	_valid
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	setne	%al
	jmp	LBB0_7
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_7
LBB0_4:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_DLG_EXIT_OK,4,2                ## @DLG_EXIT_OK
	.comm	_ERR,4,2                        ## @ERR
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_handle_my_getc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_my_getc
_handle_my_getc:                        ; @handle_my_getc
	.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	x19, x0
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _DLG_EXIT_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DLG_EXIT_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x3]
	cbz	x19, LBB0_5
; %bb.1:
	cbnz	w2, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_handle_input
	mov	x0, x19
	bl	_valid
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _FALSE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_DLG_EXIT_OK,4,2                ; @DLG_EXIT_OK
	.comm	_ERR,4,2                        ; @ERR
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_handle_my_getc
.subsections_via_symbols
