	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_load_libs_sort
_dt_load_libs_sort:                     ## @dt_load_libs_sort
	.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
	movq	%rdi, %r15
	callq	_dt_lib_depend_sort
	movl	$-1, %ebx
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.1:
	leaq	24(%r15), %rdi
	callq	_dt_list_next
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%rax, %rbx
	leaq	L_.str(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_B_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_dt_program_destroy
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_dt_list_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	movq	%r12, %rsi
	callq	_fopen
	movq	8(%rbx), %r13
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, %r14
	movq	%r13, 16(%r15)
	movq	_DTRACE_C_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_dtrace_program_fcompile
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_fclose
	movq	$0, 16(%r15)
	testq	%r13, %r13
	jne	LBB0_3
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movq	_EDT_COMPILER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r15), %r14
	movq	_D_PRAGMA_DEPEND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dt_errtag
	cmpq	%rax, %r14
	jne	LBB0_15
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %r14
	movq	%r15, %rdi
	callq	_dtrace_errno
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_dtrace_errmsg
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edx
	callq	_dt_dprintf
	jmp	LBB0_4
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r15, %rdi
	callq	_dt_lib_depend_free
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	$-1, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

L_.str.1:                               ## @.str.1
	.asciz	"skipping library %s: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_DTRACE_C_EMPTY,4,2             ## @DTRACE_C_EMPTY
	.comm	_EDT_COMPILER,8,3               ## @EDT_COMPILER
	.comm	_D_PRAGMA_DEPEND,4,2            ## @D_PRAGMA_DEPEND
	.comm	_B_TRUE,4,2                     ## @B_TRUE
	.no_dead_strip	_dt_load_libs_sort
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_load_libs_sort
_dt_load_libs_sort:                     ; @dt_load_libs_sort
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_dt_lib_depend_sort
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.1:
	add	x0, x19, #24
	bl	_dt_list_next
	mov	x20, x0
	cbz	x0, LBB0_13
; %bb.2:
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x25, _errno@GOTPAGE
Lloh3:
	ldr	x25, [x25, _errno@GOTPAGEOFF]
Lloh4:
	adrp	x26, _DTRACE_C_EMPTY@GOTPAGE
Lloh5:
	ldr	x26, [x26, _DTRACE_C_EMPTY@GOTPAGEOFF]
Lloh6:
	adrp	x27, _EDT_COMPILER@GOTPAGE
Lloh7:
	ldr	x27, [x27, _EDT_COMPILER@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh10:
	adrp	x28, _B_TRUE@GOTPAGE
Lloh11:
	ldr	x28, [x28, _B_TRUE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x28]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x24
	bl	_dt_program_destroy
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_dt_list_next
	mov	x20, x0
	cbz	x0, LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, #8]
	mov	x1, x21
	bl	_fopen
	ldr	x24, [x20, #8]
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	str	x24, [x19, #16]
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x23
	mov	w3, #0
	mov	x4, #0
	bl	_dtrace_program_fcompile
	mov	x24, x0
	mov	x0, x23
	bl	_fclose
	str	xzr, [x19, #16]
	cbnz	x24, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x19, #8]
Lloh12:
	adrp	x8, _D_PRAGMA_DEPEND@GOTPAGE
Lloh13:
	ldr	x8, [x8, _D_PRAGMA_DEPEND@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_dt_errtag
	cmp	x23, x0
	b.ne	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x20, #8]
	mov	x0, x19
	bl	_dtrace_errno
	mov	x1, x0
	mov	x0, x19
	bl	_dtrace_errmsg
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	bl	_strerror
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_dt_dprintf
	b	LBB0_4
LBB0_12:
	mov	w20, #-1
LBB0_13:
	mov	x0, x19
	bl	_dt_lib_depend_free
	mov	x0, x20
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

l_.str.1:                               ; @.str.1
	.asciz	"skipping library %s: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_DTRACE_C_EMPTY,4,2             ; @DTRACE_C_EMPTY
	.comm	_EDT_COMPILER,8,3               ; @EDT_COMPILER
	.comm	_D_PRAGMA_DEPEND,4,2            ; @D_PRAGMA_DEPEND
	.comm	_B_TRUE,4,2                     ; @B_TRUE
	.no_dead_strip	_dt_load_libs_sort
.subsections_via_symbols
