	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readin                         ## -- Begin function readin
	.p2align	4, 0x90
_readin:                                ## @readin
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	_rptr@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_rBuff@GOTPCREL(%rip), %rax
	movl	%esi, %ecx
	subl	(%rax), %ecx
	movq	_rBuff_len@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %eax
	subl	%ebx, %eax
	cmpl	%eax, %ecx
	jle	LBB0_3
## %bb.1:
	movq	_verbosity@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	jle	LBB0_4
## %bb.2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	jmp	LBB0_4
LBB0_3:
	movl	%ebx, %edx
	callq	_memcpy
	addl	%ebx, (%r14)
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rptr,4,2                       ## @rptr
	.comm	_rBuff,4,2                      ## @rBuff
	.comm	_rBuff_len,4,2                  ## @rBuff_len
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Buffer size %d seems to be too small. Skipping read.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_readin                         ; -- Begin function readin
	.p2align	2
_readin:                                ; @readin
	.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, x1
Lloh0:
	adrp	x20, _rptr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _rptr@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _rBuff@GOTPAGE
Lloh3:
	ldr	x8, [x8, _rBuff@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w8, w1, w8
Lloh5:
	adrp	x9, _rBuff_len@GOTPAGE
Lloh6:
	ldr	x9, [x9, _rBuff_len@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x9]
	sub	w9, w2, w19
	cmp	w8, w9
	b.le	LBB0_4
; %bb.1:
Lloh8:
	adrp	x8, _verbosity@GOTPAGE
Lloh9:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.2:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_3:
	mov	w19, #0
	b	LBB0_5
LBB0_4:
	mov	x2, x19
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, w19
	str	w8, [x20]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rptr,4,2                       ; @rptr
	.comm	_rBuff,4,2                      ; @rBuff
	.comm	_rBuff_len,4,2                  ; @rBuff_len
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Buffer size %d seems to be too small. Skipping read.\n"

.subsections_via_symbols
