	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spu_elf_open_builtin_lib       ## -- Begin function spu_elf_open_builtin_lib
	.p2align	4, 0x90
_spu_elf_open_builtin_lib:              ## @spu_elf_open_builtin_lib
	.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	%rsi, %rcx
	movq	%rdi, %rbx
	movq	_ovl_mgr_open@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ovl_mgr_pread@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	$0, (%rsp)
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r9d, %r9d
	callq	_bfd_openr_iovec
	movq	%rax, (%rbx)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"builtin ovl_mgr"

L_.str.1:                               ## @.str.1
	.asciz	"elf32-spu"

	.comm	_ovl_mgr_open,4,2               ## @ovl_mgr_open
	.comm	_ovl_mgr_pread,4,2              ## @ovl_mgr_pread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spu_elf_open_builtin_lib       ; -- Begin function spu_elf_open_builtin_lib
	.p2align	2
_spu_elf_open_builtin_lib:              ; @spu_elf_open_builtin_lib
	.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	x3, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ovl_mgr_open@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ovl_mgr_open@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _ovl_mgr_pread@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ovl_mgr_pread@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x5, #0
	mov	x6, #0
	bl	_bfd_openr_iovec
	str	x0, [x19]
	cmp	x0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"builtin ovl_mgr"

l_.str.1:                               ; @.str.1
	.asciz	"elf32-spu"

	.comm	_ovl_mgr_open,4,2               ; @ovl_mgr_open
	.comm	_ovl_mgr_pread,4,2              ; @ovl_mgr_pread
.subsections_via_symbols
