	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getc                           ## -- Begin function getc
	.p2align	4, 0x90
_getc:                                  ## @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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_V86_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_v86@GOTPCREL(%rip), %r15
	movl	%eax, 12(%r15)
	movl	$22, (%r15)
	movl	%edi, %eax
	shll	$8, %eax
	movl	%eax, 4(%r15)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_v86int
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movl	8(%r15), %edi
	callq	_V86_ZR
	testq	%rax, %rax
	jne	LBB0_3
LBB0_2:
	movl	4(%r15), %r14d
LBB0_3:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V86_FLAGS,4,2                  ## @V86_FLAGS
	.comm	_v86,16,2                       ## @v86
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getc                           ; -- Begin function getc
	.p2align	2
_getc:                                  ; @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, _V86_FLAGS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V86_FLAGS@GOTPAGEOFF]
Lloh2:
	adrp	x20, _v86@GOTPAGE
Lloh3:
	ldr	x20, [x20, _v86@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #12]
	mov	w8, #22
	lsl	w9, w0, #8
	stp	w8, w9, [x20]
	bl	_v86int
	cbz	w19, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_V86_ZR
	ldr	w8, [x20, #4]
	cmp	x0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20, #4]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_V86_FLAGS,4,2                  ; @V86_FLAGS
	.comm	_v86,16,2                       ; @v86
.subsections_via_symbols
