	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_core_file_do_load_for_io_plugin
_r_core_file_do_load_for_io_plugin:     ## @r_core_file_do_load_for_io_plugin
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %r14
	callq	_r_core_file_cur
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_18
## %bb.1:
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	js	LBB0_18
## %bb.2:
	movl	12(%r14), %edi
	movl	%ebx, %esi
	callq	_r_io_use_fd
	movq	(%r14), %rax
	movl	16(%rax), %r8d
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	movl	%r15d, %ecx
	callq	_r_bin_options_init
	movl	$0, -48(%rbp)
	movq	(%r14), %rdi
	movq	%r13, %rsi
	callq	_r_bin_open_io
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_18
## %bb.3:
	movq	(%r14), %rdi
	callq	_r_bin_cur
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_r_core_bin_set_env
	movq	%r12, %rdi
	callq	_r_bin_file_cur_plugin
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	testq	%r12, %r12
	jne	LBB0_11
	jmp	LBB0_16
LBB0_8:
	testq	%r12, %r12
	je	LBB0_9
LBB0_11:
	movq	(%r14), %rdi
	callq	_r_bin_cur_object
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	movq	(%rax), %rbx
	xorl	%r13d, %r13d
	testq	%rbx, %rbx
	setne	%r13b
	je	LBB0_18
## %bb.13:
	testq	%r15, %r15
	je	LBB0_18
## %bb.14:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	movl	(%r12), %esi
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_r_core_bin_set_arch_bits
	jmp	LBB0_16
LBB0_5:
	movq	(%r14), %rdi
	callq	_r_bin_cur_object
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.7:
	movl	(%r12), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	%r14, %rdi
	callq	_r_core_bin_set_arch_bits
	movl	8(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_r_config_get_i
	movq	(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	8(%r14), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_r_config_get_i
	movq	(%r14), %rcx
	movq	%rax, (%rcx)
LBB0_16:
	movl	(%r15), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movl	$1, %r13d
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_r_core_cmd0
	jmp	LBB0_18
LBB0_9:
	movl	$1, %r13d
LBB0_18:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"any"

L_.str.1:                               ## @.str.1
	.asciz	"bin.minstr"

L_.str.2:                               ## @.str.2
	.asciz	"bin.maxstrbuf"

L_.str.3:                               ## @.str.3
	.asciz	"dex"

L_.str.4:                               ## @.str.4
	.asciz	"\"(fix-dex,wx `ph sha1 $s-32 @32` @12 ; wx `ph adler32 $s-12 @12` @8)\"\n"

	.no_dead_strip	_r_core_file_do_load_for_io_plugin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_core_file_do_load_for_io_plugin
_r_core_file_do_load_for_io_plugin:     ; @r_core_file_do_load_for_io_plugin
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	bl	_r_core_file_cur
	cbz	x0, LBB0_19
; %bb.1:
	ldr	w22, [x0]
	tbnz	w22, #31, LBB0_18
; %bb.2:
	ldr	w0, [x19, #12]
	mov	x1, x22
	bl	_r_io_use_fd
	ldr	x8, [x19]
	ldr	w4, [x8, #16]
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_r_bin_options_init
	str	wzr, [sp, #8]
	ldr	x0, [x19]
	add	x1, sp, #8
	bl	_r_bin_open_io
	cbz	w0, LBB0_19
; %bb.3:
	ldr	x0, [x19]
	bl	_r_bin_cur
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_r_core_bin_set_env
	mov	x0, x21
	bl	_r_bin_file_cur_plugin
	mov	x20, x0
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_12
; %bb.5:
	cbnz	x21, LBB0_7
	b	LBB0_15
LBB0_6:
	cbz	x21, LBB0_17
LBB0_7:
	ldr	x0, [x19]
	bl	_r_bin_cur_object
	cbz	x0, LBB0_19
; %bb.8:
	ldr	x22, [x0]
	cmp	x22, #0
	cset	w0, ne
	cbz	x22, LBB0_19
; %bb.9:
	cbz	x20, LBB0_19
; %bb.10:
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_15
; %bb.11:
	ldr	w1, [x21]
	ldp	w3, w2, [x22]
	mov	x0, x19
	bl	_r_core_bin_set_arch_bits
	b	LBB0_15
LBB0_12:
	ldr	x0, [x19]
	bl	_r_bin_cur_object
	cbz	x0, LBB0_19
; %bb.13:
	ldr	x8, [x0]
	cbz	x8, LBB0_18
; %bb.14:
	ldr	w1, [x21]
	ldp	w3, w2, [x8]
	mov	x0, x19
	bl	_r_core_bin_set_arch_bits
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_r_config_get_i
	ldr	x8, [x19]
	str	x0, [x8, #8]
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_r_config_get_i
	ldr	x8, [x19]
	str	x0, [x8]
LBB0_15:
	ldr	w0, [x20]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_17
; %bb.16:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_r_core_cmd0
LBB0_17:
	mov	w0, #1
	b	LBB0_19
LBB0_18:
	mov	w0, #0
LBB0_19:
	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
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"any"

l_.str.1:                               ; @.str.1
	.asciz	"bin.minstr"

l_.str.2:                               ; @.str.2
	.asciz	"bin.maxstrbuf"

l_.str.3:                               ; @.str.3
	.asciz	"dex"

l_.str.4:                               ; @.str.4
	.asciz	"\"(fix-dex,wx `ph sha1 $s-32 @32` @12 ; wx `ph adler32 $s-12 @12` @8)\"\n"

	.no_dead_strip	_r_core_file_do_load_for_io_plugin
.subsections_via_symbols
