	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chdstream_getc                 ## -- Begin function chdstream_getc
	.p2align	4, 0x90
_chdstream_getc:                        ## @chdstream_getc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movb	$0, -1(%rbp)
	leaq	-1(%rbp), %rsi
	xorl	%edx, %edx
	callq	_chdstream_read
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_1:
	movsbl	-1(%rbp), %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOF,4,2                        ## @EOF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chdstream_getc                 ; -- Begin function chdstream_getc
	.p2align	2
_chdstream_getc:                        ; @chdstream_getc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	sturb	wzr, [x29, #-1]
	sub	x1, x29, #1
	mov	w2, #0
	bl	_chdstream_read
Lloh0:
	adrp	x8, _EOF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldursb	w9, [x29, #-1]
	cmp	x0, #0
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EOF,4,2                        ; @EOF
.subsections_via_symbols
