	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __read_char
___read_char:                           ## @__read_char
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_input_buf_ptr@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	_input_buf_siz@GOTPCREL(%rip), %rsi
	movl	$-1, %eax
	cmpq	(%rsi), %rcx
	jge	LBB0_2
## %bb.1:
	movq	_input_buf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rdx)
	movl	(%rax,%rcx,4), %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_input_buf_ptr,8,3              ## @input_buf_ptr
	.comm	_input_buf_siz,8,3              ## @input_buf_siz
	.comm	_input_buf,8,3                  ## @input_buf
	.no_dead_strip	___read_char
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __read_char
___read_char:                           ; @__read_char
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _input_buf_ptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _input_buf_ptr@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _input_buf_siz@GOTPAGE
Lloh3:
	ldr	x10, [x10, _input_buf_siz@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ge	LBB0_2
; %bb.1:
Lloh5:
	adrp	x10, _input_buf@GOTPAGE
Lloh6:
	ldr	x10, [x10, _input_buf@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	add	x11, x9, #1
	str	x11, [x8]
	ldr	w0, [x10, x9, lsl #2]
	ret
LBB0_2:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_input_buf_ptr,8,3              ; @input_buf_ptr
	.comm	_input_buf_siz,8,3              ; @input_buf_siz
	.comm	_input_buf,8,3                  ; @input_buf
	.no_dead_strip	___read_char
.subsections_via_symbols
