	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_io_def_mmap_check_default
_r_io_def_mmap_check_default:           ## @r_io_def_mmap_check_default
	.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	%rdi, %rbx
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpb	$0, (%rbx)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	xorl	%esi, %esi
	callq	_r_return_val_if_fail
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_r_str_startswith
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_strlen
	cltq
	addq	%rax, %rbx
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$10, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	testq	%rax, %rax
	sete	%cl
	subq	%rbx, %rax
	cmpq	$11, %rax
	setge	%al
	orb	%cl, %al
	movzbl	%al, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"file://"

L_.str.1:                               ## @.str.1
	.asciz	"nocache://"

L_.str.2:                               ## @.str.2
	.asciz	"://"

	.no_dead_strip	_r_io_def_mmap_check_default
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_io_def_mmap_check_default
_r_io_def_mmap_check_default:           ; @r_io_def_mmap_check_default
	.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, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldrb	w8, [x19]
	cmp	w8, #0
	cset	w0, ne
LBB0_2:
	mov	w1, #0
	bl	_r_return_val_if_fail
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_r_str_startswith
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_strlen
	add	x19, x19, w0, sxtw
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #10
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strstr
	b	LBB0_7
LBB0_6:
	mov	x0, #0
LBB0_7:
	sub	x8, x0, x19
	cmp	x0, #0
	ccmp	x8, #10, #0, ne
	cset	w0, gt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"file://"

l_.str.1:                               ; @.str.1
	.asciz	"nocache://"

l_.str.2:                               ; @.str.2
	.asciz	"://"

	.no_dead_strip	_r_io_def_mmap_check_default
.subsections_via_symbols
