	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_io_mmap_open
_r_io_mmap_open:                        ## @r_io_mmap_open
	.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
	movl	%ecx, %r14d
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$7, %edx
	callq	_strncmp
	leaq	7(%rbx), %rsi
	testl	%eax, %eax
	cmovneq	%rbx, %rsi
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%r15d, %ecx
	callq	_r_io_mmap_create_new_file
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rax), %edx
	movq	_r_io_plugin_mmap@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %ecx
	movl	%r14d, %r8d
	movq	%rax, %r9
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_r_io_desc_new                  ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mmap://"

	.comm	_r_io_plugin_mmap,4,2           ## @r_io_plugin_mmap
	.no_dead_strip	_r_io_mmap_open
.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_open
_r_io_mmap_open:                        ; @r_io_mmap_open
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w23, #7
	mov	x0, x22
	mov	w2, #7
	bl	_strncmp
	cmp	w0, #0
	csel	x8, x23, xzr, eq
	add	x1, x22, x8
	mov	x0, x21
	mov	x2, x19
	mov	x3, x20
	bl	_r_io_mmap_create_new_file
	cbz	x0, LBB0_2
; %bb.1:
	mov	x5, x0
	ldr	w2, [x0]
Lloh2:
	adrp	x1, _r_io_plugin_mmap@GOTPAGE
Lloh3:
	ldr	x1, [x1, _r_io_plugin_mmap@GOTPAGEOFF]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_r_io_desc_new
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mmap://"

	.comm	_r_io_plugin_mmap,4,2           ; @r_io_plugin_mmap
	.no_dead_strip	_r_io_mmap_open
.subsections_via_symbols
