	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function spu_stub_name
_spu_stub_name:                         ## @spu_stub_name
	.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
	movq	%rdx, %r14
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	movq	(%rsi), %rdi
	callq	_strlen
	movl	%eax, %r12d
	leal	10(%r12), %edi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.2:
	movq	%rax, %r15
	movq	(%rbx), %rdx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	addl	$2, %r12d
	jmp	LBB0_5
LBB0_3:
	movq	%rdi, %r12
	movl	$27, %edi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r15
	movl	(%r12), %ebx
	movl	8(%r14), %edi
	callq	_ELF32_R_SYM
	movl	(%r14), %r8d
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_sprintf
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %r12d
LBB0_5:
	movslq	%r12d, %rax
	cmpb	$43, -2(%rax,%r15)
	jne	LBB0_11
## %bb.6:
	cmpb	$48, -1(%rax,%r15)
	jne	LBB0_11
## %bb.7:
	cmpb	$0, (%r15,%rax)
	jne	LBB0_11
## %bb.8:
	movb	$0, -2(%r15,%rax)
	jmp	LBB0_11
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s+%x"

L_.str.1:                               ## @.str.1
	.asciz	"%x:%x+%x"

	.no_dead_strip	_spu_stub_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function spu_stub_name
_spu_stub_name:                         ; @spu_stub_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x1, LBB0_3
; %bb.1:
	mov	x22, x1
	ldr	x0, [x1]
	bl	_strlen
	mov	x21, x0
	add	w0, w0, #10
	bl	_bfd_malloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.2:
	ldr	x8, [x22]
	ldr	x9, [x20]
	stp	x8, x9, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	add	w0, w21, #2
	b	LBB0_5
LBB0_3:
	mov	x21, x0
	mov	w0, #27
	bl	_bfd_malloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w0, [x20, #8]
	ldr	w21, [x21]
	bl	_ELF32_R_SYM
	ldr	x8, [x20]
	stp	x0, x8, [sp, #8]
	str	x21, [sp]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
LBB0_5:
	sxtw	x9, w0
	sub	x8, x9, #2
	ldrb	w10, [x19, x8]
	cmp	w10, #43
	b.ne	LBB0_9
; %bb.6:
	add	x10, x9, x19
	ldurb	w10, [x10, #-1]
	cmp	w10, #48
	b.ne	LBB0_9
; %bb.7:
	ldrb	w9, [x19, x9]
	cbnz	w9, LBB0_9
; %bb.8:
	strb	wzr, [x19, x8]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s+%x"

l_.str.1:                               ; @.str.1
	.asciz	"%x:%x+%x"

	.no_dead_strip	_spu_stub_name
.subsections_via_symbols
