	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_iterate_phdr                ## -- Begin function dl_iterate_phdr
	.p2align	4, 0x90
_dl_iterate_phdr:                       ## @dl_iterate_phdr
	.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
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_init_marker
	movq	_rtld_phdr_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-60(%rbp), %rsi
	callq	_wlock_acquire
	movq	_rtld_bind_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	callq	_wlock_acquire
	movq	_obj_list@GOTPCREL(%rip), %rdi
	callq	_TAILQ_FIRST
	movl	%eax, %edi
	callq	_globallist_curr
	movq	%rax, %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_next@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_obj_list@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	leaq	-48(%rbp), %rdx
	callq	_TAILQ_INSERT_AFTER
	movq	%r15, %rdi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_rtld_fill_dl_phdr_info
	movq	%r15, %rdi
	callq	_hold_object
	movq	_rtld_bind_lock@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	-44(%rbp), %r14
	movq	%r14, %rsi
	callq	_lock_release
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r12d
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_wlock_acquire
	movq	%r15, %rdi
	callq	_unhold_object
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_globallist_next
	movq	%rax, %r15
	movq	_next@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_obj_list@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.3:
	movq	_rtld_bind_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	callq	_lock_release
	jmp	LBB0_5
LBB0_4:
	movq	_obj_rtld@GOTPCREL(%rip), %rdi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_rtld_fill_dl_phdr_info
	movq	_rtld_bind_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-44(%rbp), %rsi
	callq	_lock_release
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	*-80(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r12d
LBB0_5:
	movq	_rtld_phdr_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-60(%rbp), %rsi
	callq	_lock_release
	movl	%r12d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rtld_phdr_lock,4,2             ## @rtld_phdr_lock
	.comm	_rtld_bind_lock,4,2             ## @rtld_bind_lock
	.comm	_obj_list,4,2                   ## @obj_list
	.comm	_next,4,2                       ## @next
	.comm	_obj_rtld,4,2                   ## @obj_rtld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dl_iterate_phdr                ; -- Begin function dl_iterate_phdr
	.p2align	2
_dl_iterate_phdr:                       ; @dl_iterate_phdr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	add	x0, sp, #20
	bl	_init_marker
Lloh0:
	adrp	x24, _rtld_phdr_lock@GOTPAGE
Lloh1:
	ldr	x24, [x24, _rtld_phdr_lock@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x1, sp, #12
	bl	_wlock_acquire
Lloh2:
	adrp	x25, _rtld_bind_lock@GOTPAGE
Lloh3:
	ldr	x25, [x25, _rtld_bind_lock@GOTPAGEOFF]
	ldr	w0, [x25]
	add	x1, sp, #16
	bl	_wlock_acquire
Lloh4:
	adrp	x21, _obj_list@GOTPAGE
Lloh5:
	ldr	x21, [x21, _obj_list@GOTPAGEOFF]
	mov	x0, x21
	bl	_TAILQ_FIRST
	bl	_globallist_curr
	mov	x22, x0
Lloh6:
	adrp	x26, _next@GOTPAGE
Lloh7:
	ldr	x26, [x26, _next@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x22, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w3, [x26]
	add	x2, sp, #20
	mov	x0, x21
	mov	x1, x22
	bl	_TAILQ_INSERT_AFTER
	add	x1, sp, #24
	mov	x0, x22
	bl	_rtld_fill_dl_phdr_info
	mov	x0, x22
	bl	_hold_object
	ldr	w0, [x25]
	add	x1, sp, #16
	bl	_lock_release
	add	x0, sp, #24
	mov	w1, #4
	mov	x2, x20
	blr	x19
	mov	x23, x0
	ldr	w0, [x25]
	add	x1, sp, #16
	bl	_wlock_acquire
	mov	x0, x22
	bl	_unhold_object
	add	x0, sp, #20
	bl	_globallist_next
	mov	x22, x0
	ldr	w2, [x26]
	add	x1, sp, #20
	mov	x0, x21
	bl	_TAILQ_REMOVE
	cbz	w23, LBB0_1
; %bb.3:
	ldr	w0, [x25]
	add	x1, sp, #16
	bl	_lock_release
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, _obj_rtld@GOTPAGE
Lloh9:
	ldr	x0, [x0, _obj_rtld@GOTPAGEOFF]
	add	x1, sp, #24
	bl	_rtld_fill_dl_phdr_info
	ldr	w0, [x25]
	add	x1, sp, #16
	bl	_lock_release
	add	x0, sp, #24
	mov	w1, #4
	mov	x2, x20
	blr	x19
	mov	x23, x0
LBB0_5:
	ldr	w0, [x24]
	add	x1, sp, #12
	bl	_lock_release
	mov	x0, x23
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_rtld_phdr_lock,4,2             ; @rtld_phdr_lock
	.comm	_rtld_bind_lock,4,2             ; @rtld_bind_lock
	.comm	_obj_list,4,2                   ; @obj_list
	.comm	_next,4,2                       ; @next
	.comm	_obj_rtld,4,2                   ; @obj_rtld
.subsections_via_symbols
