	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtld_bind                     ## -- Begin function _rtld_bind
	.p2align	4, 0x90
__rtld_bind:                            ## @_rtld_bind
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_rtld_bind_lock@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	-48(%rbp), %rsi
	callq	_rlock_acquire
	movl	-48(%rbp), %edi
	xorl	%esi, %esi
	callq	_sigsetjmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	leaq	-48(%rbp), %rsi
	callq	_lock_upgrade
LBB0_2:
	movq	32(%r12), %rax
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	24(%r12), %r15
LBB0_4:
	movslq	%ebx, %rbx
	movq	16(%r12), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r15,%rbx), %r14
	movl	(%r15,%rbx), %edi
	callq	_ELF_R_SYM
	movq	_SYMLOOK_IN_PLT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%edx, %edx
	movl	%edx, %r8d
	leaq	-56(%rbp), %rdx
	leaq	-48(%rbp), %r9
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_find_symdef
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
                                        ## kill: def $al killed $al killed $eax
	callq	_rtld_die
LBB0_6:
	addq	%rbx, %r15
	movl	16(%r13), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_GNU_IFUNC@GOTPCREL(%rip), %rcx
	movq	-56(%rbp), %rdi
	cmpq	(%rcx), %rax
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %r15
	jne	LBB0_8
## %bb.7:
	movq	%r13, %rsi
	callq	_rtld_resolve_ifunc
	movq	%rax, %r12
	movq	-56(%rbp), %rdi
	jmp	LBB0_9
LBB0_8:
	movq	8(%r13), %r12
	addq	16(%rdi), %r12
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rax, %r14
	movq	(%r13), %rbx
	addq	8(%rdi), %rbx
	movl	(%r15), %edi
	callq	_basename
	movl	%eax, %r13d
	movq	-56(%rbp), %rax
	movl	(%rax), %edi
	callq	_basename
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	%eax, %r8d
	callq	_dbg
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_reloc_jmpslot
	movq	%rax, %rbx
	movq	_rtld_bind_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_lock_release
	movq	%rbx, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rtld_bind_lock,4,2             ## @rtld_bind_lock
	.comm	_SYMLOOK_IN_PLT,4,2             ## @SYMLOOK_IN_PLT
	.comm	_STT_GNU_IFUNC,8,3              ## @STT_GNU_IFUNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"%s\" in \"%s\" ==> %p in \"%s\""

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__rtld_bind                     ; -- Begin function _rtld_bind
	.p2align	2
__rtld_bind:                            ; @_rtld_bind
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _rtld_bind_lock@GOTPAGE
Lloh1:
	ldr	x25, [x25, _rtld_bind_lock@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	x1, sp
	bl	_rlock_acquire
	ldr	w0, [sp]
	mov	w1, #0
	bl	_sigsetjmp
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x25]
	mov	x1, sp
	bl	_lock_upgrade
LBB0_2:
	ldr	x9, [x19, #32]
	mov	x8, x9
	cbnz	x9, LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
LBB0_4:
	add	x20, x8, w20, sxtw
	ldr	x23, [x19, #16]
	ldr	x24, [x20, #8]
	ldr	w0, [x20]
	bl	_ELF_R_SYM
Lloh2:
	adrp	x8, _SYMLOOK_IN_PLT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SYMLOOK_IN_PLT@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x4, #0
	add	x2, sp, #8
	mov	x5, sp
	mov	x1, x19
	bl	_find_symdef
	mov	x21, x0
	cbnz	x0, LBB0_6
; %bb.5:
	bl	_rtld_die
LBB0_6:
	ldr	w0, [x21, #16]
	bl	_ELF_ST_TYPE
	mov	x8, x0
Lloh5:
	adrp	x9, _STT_GNU_IFUNC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _STT_GNU_IFUNC@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x0, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	x1, x21
	bl	_rtld_resolve_ifunc
	mov	x22, x0
	ldr	x0, [sp, #8]
	b	LBB0_9
LBB0_8:
	ldr	x8, [x0, #16]
	ldr	x9, [x21, #8]
	add	x22, x9, x8
LBB0_9:
	add	x23, x24, x23
	ldr	x8, [x0, #8]
	ldr	x9, [x21]
	add	x21, x9, x8
	ldr	w0, [x19]
	bl	_basename
	mov	x24, x0
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_basename
	mov	x4, x0
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	mov	x2, x24
	mov	x3, x22
	bl	_dbg
	ldr	x2, [sp, #8]
	mov	x0, x23
	mov	x1, x22
	mov	x3, x19
	mov	x4, x20
	bl	_reloc_jmpslot
	mov	x19, x0
	ldr	w0, [x25]
	mov	x1, sp
	bl	_lock_release
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_rtld_bind_lock,4,2             ; @rtld_bind_lock
	.comm	_SYMLOOK_IN_PLT,4,2             ; @SYMLOOK_IN_PLT
	.comm	_STT_GNU_IFUNC,8,3              ; @STT_GNU_IFUNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"%s\" in \"%s\" ==> %p in \"%s\""

.subsections_via_symbols
