	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function relocate_object
_relocate_object:                       ## @relocate_object
	.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
	xorl	%r13d, %r13d
	cmpl	$0, (%rdi)
	jne	LBB0_20
## %bb.1:
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movl	$1, (%rdi)
	cmpq	%rdx, %rdi
	je	LBB0_3
## %bb.2:
	movl	32(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r8, %r13
	callq	_dbg
	movq	%r13, %r8
LBB0_3:
	cmpq	$0, 64(%rbx)
	je	LBB0_7
## %bb.4:
	cmpq	$0, 56(%rbx)
	je	LBB0_7
## %bb.5:
	cmpq	$0, 48(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 40(%rbx)
	je	LBB0_7
LBB0_8:
	cmpq	$0, 24(%rbx)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r8, %r13
	callq	_reloc_textrel_prot
	movq	%r13, %r8
	movl	$-1, %r13d
	testq	%rax, %rax
	jne	LBB0_20
LBB0_10:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	movq	%r8, %rcx
	movq	%r8, %r14
	callq	_reloc_non_plt
	movl	$-1, %r13d
	testq	%rax, %rax
	jne	LBB0_20
## %bb.11:
	cmpq	$0, 24(%rbx)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_reloc_textrel_prot
	testq	%rax, %rax
	jne	LBB0_20
LBB0_13:
	movq	%rbx, %rdi
	callq	_init_pltgot
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_reloc_plt
	cmpl	$-1, %eax
	je	LBB0_20
## %bb.14:
	testl	%r12d, %r12d
	jne	LBB0_16
## %bb.15:
	cmpq	$0, 16(%rbx)
	je	LBB0_17
LBB0_16:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_reloc_jmpslots
	cmpl	$-1, %eax
	je	LBB0_20
LBB0_17:
	cmpl	$0, 12(%rbx)
	jne	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_obj_enforce_relro
	cmpl	$-1, %eax
	je	LBB0_20
LBB0_19:
	movq	_RTLD_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_RTLD_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	xorl	%r13d, %r13d
	jmp	LBB0_20
LBB0_7:
	movl	32(%rbx), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	__rtld_error
	movl	$-1, %r13d
LBB0_20:
	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	"relocating \"%s\""

L_.str.1:                               ## @.str.1
	.asciz	"%s: Shared object has no run-time symbol table"

	.comm	_RTLD_MAGIC,4,2                 ## @RTLD_MAGIC
	.comm	_RTLD_VERSION,4,2               ## @RTLD_VERSION
	.no_dead_strip	_relocate_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function relocate_object
_relocate_object:                       ; @relocate_object
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_22
LBB0_2:
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
	mov	w8, #1
	str	w8, [x0]
	cmp	x0, x2
	b.eq	LBB0_4
; %bb.3:
	ldr	w1, [x19, #32]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dbg
LBB0_4:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_20
; %bb.5:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_20
; %bb.6:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_20
LBB0_8:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #1
	bl	_reloc_textrel_prot
	cbnz	x0, LBB0_21
LBB0_10:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	_reloc_non_plt
	cbnz	x0, LBB0_21
; %bb.11:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_13
; %bb.12:
	mov	x0, x19
	mov	w1, #0
	bl	_reloc_textrel_prot
	cbnz	x0, LBB0_21
LBB0_13:
	mov	x0, x19
	bl	_init_pltgot
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_reloc_plt
	cmn	w0, #1
	b.eq	LBB0_22
; %bb.14:
	cbnz	w22, LBB0_16
; %bb.15:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_17
LBB0_16:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_reloc_jmpslots
	cmn	w0, #1
	b.eq	LBB0_22
LBB0_17:
	ldr	w8, [x19, #12]
	cbnz	w8, LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_obj_enforce_relro
	cmn	w0, #1
	b.eq	LBB0_22
LBB0_19:
	mov	w0, #0
Lloh2:
	adrp	x8, _RTLD_MAGIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RTLD_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _RTLD_VERSION@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RTLD_VERSION@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
	b	LBB0_22
LBB0_20:
	ldr	w1, [x19, #32]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__rtld_error
LBB0_21:
	mov	w0, #-1
LBB0_22:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"relocating \"%s\""

l_.str.1:                               ; @.str.1
	.asciz	"%s: Shared object has no run-time symbol table"

	.comm	_RTLD_MAGIC,4,2                 ; @RTLD_MAGIC
	.comm	_RTLD_VERSION,4,2               ; @RTLD_VERSION
	.no_dead_strip	_relocate_object
.subsections_via_symbols
