	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_load_object
_do_load_object:                        ## @do_load_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r14d
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	movl	%edi, %ebx
	movq	_dangerous_ld_env@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	leaq	-56(%rbp), %rsi
	movl	%ebx, %edi
	callq	_fstatfs
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r15, %rdi
	callq	_printable_path
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	jmp	LBB0_5
LBB0_3:
	movq	_MNT_NOEXEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -56(%rbp)
	je	LBB0_6
## %bb.4:
	movq	-48(%rbp), %rsi
	leaq	L_.str.1(%rip), %rdi
LBB0_5:
	callq	__rtld_error
	jmp	LBB0_15
LBB0_6:
	movq	%r15, %rdi
	callq	_printable_path
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_dbg
	movq	%r15, %rdi
	callq	_printable_path
	movl	%ebx, %edi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_map_object
	testq	%rax, %rax
	je	LBB0_15
## %bb.7:
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_object_add_name
LBB0_9:
	movq	%r15, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_digest_dynamic
	movq	(%rbx), %rsi
	movl	56(%rbx), %edx
	movl	52(%rbx), %ecx
	movl	48(%rbx), %r8d
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	cmpq	$0, 40(%rbx)
	movq	_RTLD_LO_DLOPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	je	LBB0_12
## %bb.10:
	movq	_RTLD_LO_TRACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	andl	%r14d, %ecx
	cmpl	%eax, %ecx
	jne	LBB0_12
## %bb.11:
	movq	(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	movq	(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	callq	__rtld_error
	movl	8(%rbx), %esi
	movl	16(%rbx), %edi
	callq	_munmap
	movq	%rbx, %rdi
	callq	_obj_free
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	xorl	%ecx, %ecx
	testl	%r14d, %eax
	setne	%cl
	movl	%ecx, 12(%rbx)
	movq	_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_obj_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	_obj_count@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_obj_loads@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	callq	_linkmap_add
	movl	32(%rbx), %eax
	movq	_max_stack_flags@GOTPCREL(%rip), %rcx
	orl	%eax, (%rcx)
	movslq	16(%rbx), %rsi
	movl	8(%rbx), %eax
	leal	(%rsi,%rax), %edx
	decl	%edx
	movq	(%rbx), %rcx
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
	cmpq	$0, 24(%rbx)
	je	LBB0_14
## %bb.13:
	movq	(%rbx), %rsi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_dbg
LBB0_14:
	movq	_UTRACE_LOAD_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %edx
	movl	8(%rbx), %ecx
	movq	(%rbx), %r9
	movq	%rbx, %rsi
	xorl	%r8d, %r8d
	callq	_LD_UTRACE
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_dangerous_ld_env,8,3           ## @dangerous_ld_env
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot fstatfs \"%s\""

	.comm	_MNT_NOEXEC,4,2                 ## @MNT_NOEXEC
L_.str.1:                               ## @.str.1
	.asciz	"Cannot execute objects on %s"

L_.str.2:                               ## @.str.2
	.asciz	"loading \"%s\""

L_.str.3:                               ## @.str.3
	.asciz	"%s valid_hash_sysv %d valid_hash_gnu %d dynsymcount %d"

	.comm	_RTLD_LO_DLOPEN,4,2             ## @RTLD_LO_DLOPEN
	.comm	_RTLD_LO_TRACE,4,2              ## @RTLD_LO_TRACE
L_.str.4:                               ## @.str.4
	.asciz	"refusing to load non-loadable \"%s\""

L_.str.5:                               ## @.str.5
	.asciz	"Cannot dlopen non-loadable %s"

	.comm	_obj_list,4,2                   ## @obj_list
	.comm	_next,4,2                       ## @next
	.comm	_obj_count,4,2                  ## @obj_count
	.comm	_obj_loads,4,2                  ## @obj_loads
	.comm	_max_stack_flags,4,2            ## @max_stack_flags
L_.str.6:                               ## @.str.6
	.asciz	"  %p .. %p: %s"

L_.str.7:                               ## @.str.7
	.asciz	"  WARNING: %s has impure text"

	.comm	_UTRACE_LOAD_OBJECT,4,2         ## @UTRACE_LOAD_OBJECT
	.no_dead_strip	_do_load_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_load_object
_do_load_object:                        ; @do_load_object
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _dangerous_ld_env@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dangerous_ld_env@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.1:
	add	x1, sp, #32
	mov	x0, x23
	bl	_fstatfs
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_printable_path
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
	ldr	w8, [sp, #32]
Lloh5:
	adrp	x9, _MNT_NOEXEC@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MNT_NOEXEC@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.4:
	ldr	x1, [sp, #40]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	bl	__rtld_error
	mov	x19, #0
	b	LBB0_15
LBB0_6:
	mov	x0, x21
	bl	_printable_path
	mov	x1, x0
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_dbg
	mov	x0, x21
	bl	_printable_path
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	bl	_map_object
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.7:
	cbz	x22, LBB0_9
; %bb.8:
	mov	x0, x19
	mov	x1, x22
	bl	_object_add_name
LBB0_9:
	str	x21, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_digest_dynamic
	ldr	x1, [x19]
	ldp	w9, w8, [x19, #52]
	ldr	w10, [x19, #48]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dbg
	ldr	x9, [x19, #40]
Lloh14:
	adrp	x8, _RTLD_LO_DLOPEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RTLD_LO_DLOPEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cbz	x9, LBB0_12
; %bb.10:
Lloh17:
	adrp	x9, _RTLD_LO_TRACE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _RTLD_LO_TRACE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w9, w9, w8
	and	w9, w9, w20
	cmp	w9, w8
	b.ne	LBB0_12
; %bb.11:
	ldr	x1, [x19]
Lloh20:
	adrp	x0, l_.str.4@PAGE
Lloh21:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_dbg
	ldr	x1, [x19]
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__rtld_error
	ldr	w0, [x19, #16]
	ldr	w1, [x19, #8]
	bl	_munmap
	mov	x0, x19
	bl	_obj_free
	mov	x19, #0
	b	LBB0_15
LBB0_12:
	tst	w8, w20
	cset	w8, ne
	str	w8, [x19, #12]
Lloh24:
	adrp	x8, _next@GOTPAGE
Lloh25:
	ldr	x8, [x8, _next@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
Lloh27:
	adrp	x0, _obj_list@GOTPAGE
Lloh28:
	ldr	x0, [x0, _obj_list@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
Lloh29:
	adrp	x8, _obj_count@GOTPAGE
Lloh30:
	ldr	x8, [x8, _obj_count@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh31:
	adrp	x8, _obj_loads@GOTPAGE
Lloh32:
	ldr	x8, [x8, _obj_loads@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	mov	x0, x19
	bl	_linkmap_add
	ldr	w8, [x19, #32]
Lloh33:
	adrp	x9, _max_stack_flags@GOTPAGE
Lloh34:
	ldr	x9, [x9, _max_stack_flags@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
	str	w8, [x9]
	ldrsw	x1, [x19, #16]
	ldr	w8, [x19, #8]
	add	w8, w1, w8
	sub	w8, w8, #1
	ldr	x9, [x19]
	stp	x8, x9, [sp]
Lloh35:
	adrp	x0, l_.str.6@PAGE
Lloh36:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_dbg
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_14
; %bb.13:
	ldr	x1, [x19]
Lloh37:
	adrp	x0, l_.str.7@PAGE
Lloh38:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_dbg
LBB0_14:
Lloh39:
	adrp	x8, _UTRACE_LOAD_OBJECT@GOTPAGE
Lloh40:
	ldr	x8, [x8, _UTRACE_LOAD_OBJECT@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldr	w2, [x19, #16]
	ldr	w3, [x19, #8]
	ldr	x5, [x19]
	mov	x1, x19
	mov	w4, #0
	bl	_LD_UTRACE
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_dangerous_ld_env,8,3           ; @dangerous_ld_env
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot fstatfs \"%s\""

	.comm	_MNT_NOEXEC,4,2                 ; @MNT_NOEXEC
l_.str.1:                               ; @.str.1
	.asciz	"Cannot execute objects on %s"

l_.str.2:                               ; @.str.2
	.asciz	"loading \"%s\""

l_.str.3:                               ; @.str.3
	.asciz	"%s valid_hash_sysv %d valid_hash_gnu %d dynsymcount %d"

	.comm	_RTLD_LO_DLOPEN,4,2             ; @RTLD_LO_DLOPEN
	.comm	_RTLD_LO_TRACE,4,2              ; @RTLD_LO_TRACE
l_.str.4:                               ; @.str.4
	.asciz	"refusing to load non-loadable \"%s\""

l_.str.5:                               ; @.str.5
	.asciz	"Cannot dlopen non-loadable %s"

	.comm	_obj_list,4,2                   ; @obj_list
	.comm	_next,4,2                       ; @next
	.comm	_obj_count,4,2                  ; @obj_count
	.comm	_obj_loads,4,2                  ; @obj_loads
	.comm	_max_stack_flags,4,2            ; @max_stack_flags
l_.str.6:                               ; @.str.6
	.asciz	"  %p .. %p: %s"

l_.str.7:                               ; @.str.7
	.asciz	"  WARNING: %s has impure text"

	.comm	_UTRACE_LOAD_OBJECT,4,2         ; @UTRACE_LOAD_OBJECT
	.no_dead_strip	_do_load_object
.subsections_via_symbols
