	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readin_int                     ## -- Begin function readin_int
	.p2align	4, 0x90
_readin_int:                            ## @readin_int
	.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	_idx_rptr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	addq	$4, %rax
	movq	_idx_wptr@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$4, %edi
	callq	_idx_load_next
	xorl	%edi, %edi
	cmpl	$4, %eax
	setge	%dil
	callq	_assert
LBB0_2:
	movq	(%rbx), %rcx
	movl	(%rcx), %eax
	addq	$4, %rcx
	movq	%rcx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_rptr,8,3                   ## @idx_rptr
	.comm	_idx_wptr,8,3                   ## @idx_wptr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readin_int                     ; -- Begin function readin_int
	.p2align	2
_readin_int:                            ; @readin_int
	.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	x19, _idx_rptr@GOTPAGE
Lloh1:
	ldr	x19, [x19, _idx_rptr@GOTPAGEOFF]
	ldr	x8, [x19]
	add	x8, x8, #4
Lloh2:
	adrp	x9, _idx_wptr@GOTPAGE
Lloh3:
	ldr	x9, [x9, _idx_wptr@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #4
	bl	_idx_load_next
	cmp	w0, #3
	cset	w0, gt
	bl	_assert
LBB0_2:
	ldr	x8, [x19]
	ldr	w0, [x8], #4
	str	x8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_rptr,8,3                   ; @idx_rptr
	.comm	_idx_wptr,8,3                   ; @idx_wptr
.subsections_via_symbols
