	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_module_load_sect
_dt_module_load_sect:                   ## @dt_module_load_sect
	.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	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	4(%rsi), %edi
	leaq	-48(%rbp), %rsi
	callq	_elf_getshdrstrndx
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.1:
	movl	4(%r12), %edi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	callq	_elf_nextscn
	testq	%rax, %rax
	je	LBB0_14
## %bb.2:
	movq	%rax, %rbx
	leaq	-72(%rbp), %r13
	movq	_SHT_NULL@GOTPCREL(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %edi
	movq	%rbx, %rsi
	callq	_elf_nextscn
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rax
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r12), %edi
	movq	-48(%rbp), %rsi
	movl	-56(%rbp), %edx
	callq	_elf_strptr
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rcx
	cmpq	8(%r15), %rcx
	jne	LBB0_6
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r15), %esi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.11:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_elf_getdata
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	%rax, %rbx
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_malloc
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	8(%rbx), %rsi
	movq	%rax, %rdi
	movq	%r13, %rdx
	callq	_memcpy
	movq	(%rbx), %rcx
	movq	%rcx, 16(%r15)
	movl	(%r12), %esi
	movl	24(%r15), %edx
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_dt_dprintf
	jmp	LBB0_14
LBB0_15:
	movq	_EDT_NOTLOADED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_dt_set_errno
	movl	%eax, %r14d
	jmp	LBB0_14
LBB0_7:
	xorl	%r14d, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDT_NOTLOADED,4,2              ## @EDT_NOTLOADED
	.comm	_SHT_NULL,8,3                   ## @SHT_NULL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loaded %s [%s] (%lu bytes)\n"

	.no_dead_strip	_dt_module_load_sect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_module_load_sect
_dt_module_load_sect:                   ; @dt_module_load_sect
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x1, #4]
	add	x1, sp, #24
	bl	_elf_getshdrstrndx
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.1:
	ldr	w0, [x20, #4]
	mov	x1, #0
	bl	_elf_nextscn
	cbz	x0, LBB0_14
; %bb.2:
	mov	x21, x0
Lloh0:
	adrp	x22, _SHT_NULL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SHT_NULL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #4]
	mov	x1, x21
	bl	_elf_nextscn
	mov	x21, x0
	cbz	x0, LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, sp
	mov	x0, x21
	bl	_gelf_getshdr
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x20, #4]
	ldr	x1, [sp, #24]
	ldr	w2, [sp, #16]
	bl	_elf_strptr
	cbz	x0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x19, #24]
	bl	_strcmp
	cbnz	x0, LBB0_3
; %bb.10:
	mov	x0, x21
	mov	x1, #0
	bl	_elf_getdata
	cbz	x0, LBB0_14
; %bb.11:
	mov	x21, x0
	ldr	x22, [x0]
	mov	x0, x22
	bl	_malloc
	str	x0, [x19, #32]
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x1, [x21, #8]
	mov	x2, x22
	bl	_memcpy
	ldr	x3, [x21]
	str	x3, [x19, #16]
	ldr	w1, [x20]
	ldr	w2, [x19, #24]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_dt_dprintf
	mov	w0, #0
	b	LBB0_14
LBB0_13:
Lloh4:
	adrp	x8, _EDT_NOTLOADED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EDT_NOTLOADED@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_dt_set_errno
LBB0_14:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EDT_NOTLOADED,4,2              ; @EDT_NOTLOADED
	.comm	_SHT_NULL,8,3                   ; @SHT_NULL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loaded %s [%s] (%lu bytes)\n"

	.no_dead_strip	_dt_module_load_sect
.subsections_via_symbols
