	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidc_ischar
_vidc_ischar:                           ## @vidc_ischar
	.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	_KEYBUFSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movq	_keybuf@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx,%rdx,8)
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_3
LBB0_5:
	movq	_V86_FLAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_v86@GOTPCREL(%rip), %rbx
	movl	%eax, 12(%rbx)
	movabsq	$1099511627798, %rax            ## imm = 0x10000000016
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	callq	_v86int
	movl	8(%rbx), %edi
	callq	_V86_ZR
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	jmp	LBB0_6
LBB0_4:
	movl	$1, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KEYBUFSZ,4,2                   ## @KEYBUFSZ
	.comm	_keybuf,8,3                     ## @keybuf
	.comm	_V86_FLAGS,4,2                  ## @V86_FLAGS
	.comm	_v86,16,2                       ## @v86
	.no_dead_strip	_vidc_ischar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function vidc_ischar
lCPI0_0:
	.long	22                              ; 0x16
	.long	256                             ; 0x100
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_vidc_ischar:                           ; @vidc_ischar
	.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
Lloh0:
	adrp	x8, _KEYBUFSZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KEYBUFSZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _keybuf@GOTPAGE
Lloh4:
	ldr	x9, [x9, _keybuf@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbnz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
Lloh6:
	adrp	x8, _V86_FLAGS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V86_FLAGS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x19, _v86@GOTPAGE
Lloh10:
	ldr	x19, [x19, _v86@GOTPAGEOFF]
	str	w8, [x19, #12]
Lloh11:
	adrp	x8, lCPI0_0@PAGE
Lloh12:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	bl	_v86int
	ldr	w0, [x19, #8]
	bl	_V86_ZR
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_KEYBUFSZ,4,2                   ; @KEYBUFSZ
	.comm	_keybuf,8,3                     ; @keybuf
	.comm	_V86_FLAGS,4,2                  ; @V86_FLAGS
	.comm	_v86,16,2                       ; @v86
	.no_dead_strip	_vidc_ischar
.subsections_via_symbols
