	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_io_mmap_read
_r_io_mmap_read:                        ## @r_io_mmap_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.1:
	movq	%rdx, %r12
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.2:
	movq	(%rsi), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.3:
	movl	%ecx, %r14d
	movq	%rdi, %r15
	movl	(%rbx), %edi
	callq	_r_buf_size
	movq	(%r15), %rsi
	cmpq	%rsi, %rax
	jge	LBB0_5
## %bb.4:
	movl	(%rbx), %edi
	callq	_r_buf_size
	movq	%rax, %rsi
	movq	%rax, (%r15)
LBB0_5:
	movl	(%rbx), %edi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_buf_read_at                  ## TAILCALL
LBB0_6:
	movl	$-1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_r_io_mmap_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_io_mmap_read
_r_io_mmap_read:                        ; @r_io_mmap_read
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cbz	x1, LBB0_6
; %bb.1:
	mov	x20, x2
	cbz	x2, LBB0_6
; %bb.2:
	ldr	x22, [x1]
	cbz	x22, LBB0_6
; %bb.3:
	mov	x19, x3
	mov	x21, x0
	ldr	w0, [x22]
	bl	_r_buf_size
	ldr	x1, [x21]
	cmp	x0, x1
	b.ge	LBB0_5
; %bb.4:
	ldr	w0, [x22]
	bl	_r_buf_size
	mov	x1, x0
	str	x0, [x21]
LBB0_5:
	ldr	w0, [x22]
	mov	x2, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_r_buf_read_at
LBB0_6:
	mov	w0, #-1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_r_io_mmap_read
.subsections_via_symbols
