	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function allocate_spuear_stubs
_allocate_spuear_stubs:                 ## @allocate_spuear_stubs
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rcx
	movq	_TRUE@GOTPCREL(%rip), %r12
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_2:
	cmpq	$0, 32(%rbx)
	je	LBB0_12
## %bb.3:
	movl	24(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_12:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	16(%rbx), %rdi
	leaq	_allocate_spuear_stubs.zero_rel(%rip), %rdx
	movq	%rbx, %rsi
	callq	_spu_stub_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movl	8(%r14), %edi
	movq	_TRUE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	_FALSE@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%rax, %rsi
	callq	_bfd_hash_lookup
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	cmpq	$0, 8(%rax)
	je	LBB0_10
## %bb.9:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_11
LBB0_5:
	movl	$1, (%r14)
	movq	_FALSE@GOTPCREL(%rip), %r12
	jmp	LBB0_12
LBB0_7:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_12
LBB0_10:
	movq	16(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movl	8(%rbx), %ecx
	movl	%ecx, (%rax)
	incl	4(%r14)
LBB0_11:
	movq	%r13, %r12
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ## @bfd_link_hash_defweak
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_SPUEAR_"

.zerofill __DATA,__bss,_allocate_spuear_stubs.zero_rel,4,2 ## @allocate_spuear_stubs.zero_rel
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_allocate_spuear_stubs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function allocate_spuear_stubs
_allocate_spuear_stubs:                 ; @allocate_spuear_stubs
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _bfd_link_hash_defined@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _bfd_link_hash_defweak@GOTPAGE
Lloh4:
	ldr	x10, [x10, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_11
; %bb.2:
	mov	x19, x1
	ldr	w0, [x20, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #8
	bl	_strncmp
Lloh8:
	adrp	x22, _TRUE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	cbnz	x0, LBB0_12
; %bb.3:
	ldr	x0, [x20, #16]
Lloh10:
	adrp	x2, _allocate_spuear_stubs.zero_rel@PAGE
Lloh11:
	add	x2, x2, _allocate_spuear_stubs.zero_rel@PAGEOFF
	mov	x1, x20
	bl	_spu_stub_name
	cbz	x0, LBB0_7
; %bb.4:
	mov	x21, x0
	ldr	w0, [x19, #8]
	ldr	w2, [x22]
Lloh12:
	adrp	x8, _FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_bfd_hash_lookup
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x0, x21
	bl	_free
	b	LBB0_11
LBB0_7:
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_9
LBB0_8:
	mov	x0, x21
	bl	_free
LBB0_9:
Lloh15:
	adrp	x22, _FALSE@GOTPAGE
Lloh16:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	x8, [x20, #16]
	str	x8, [x0, #8]
	ldr	w8, [x20, #8]
	str	w8, [x0]
	ldr	w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #4]
LBB0_11:
Lloh17:
	adrp	x22, _TRUE@GOTPAGE
Lloh18:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x22]
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
	.comm	_bfd_link_hash_defweak,8,3      ; @bfd_link_hash_defweak
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_SPUEAR_"

.zerofill __DATA,__bss,_allocate_spuear_stubs.zero_rel,4,2 ; @allocate_spuear_stubs.zero_rel
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_allocate_spuear_stubs
.subsections_via_symbols
