	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mod_search_hints
_mod_search_hints:                      ## @mod_search_hints
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_moduledir_readhints
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strlen
	movl	%eax, %r8d
	movq	8(%r15), %r14
	testq	%r14, %r14
	je	LBB0_15
## %bb.1:
	movslq	(%r15), %rax
	testq	%rax, %rax
	jle	LBB0_15
## %bb.2:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rax,4), %r15
	movslq	%r8d, %rbx
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%r14,%r12,4), %r14
	addq	$16, %r14
	cmpq	%r15, %r14
	jae	LBB0_16
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r14), %r12
	cmpl	$128, 4(%r14)
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r8d, 8(%r14)
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	12(%r14), %r13
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r8d, %edx
	callq	_bcmp
	testl	%eax, %eax
	jne	LBB0_3
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%rbx,4), %rsi
	addq	%r13, %rsi
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rdi
	callq	_INT_ALIGN
	movl	16(%r13,%rbx,4), %edx
	leaq	20(,%rbx,4), %rsi
	addq	%r13, %rsi
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_24
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13,%rbx,4), %eax
	cmpl	(%rcx), %eax
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	4(%rcx), %eax
	jl	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	8(%rcx), %eax
	movl	-48(%rbp), %r8d                 ## 4-byte Reload
	jg	LBB0_4
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_15:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	testl	%ecx, %ecx
	je	LBB0_20
	jmp	LBB0_23
LBB0_16:
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.17:
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	4(%r15), %edi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	movl	%r8d, %ebx
	callq	_file_lookup
	movl	%ebx, %r8d
	jmp	LBB0_19
LBB0_18:
	xorl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
LBB0_19:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_23
LBB0_20:
	testq	%rax, %rax
	jne	LBB0_23
## %bb.21:
	movl	4(%r15), %edi
	movq	_kld_ext_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	%r8d, %edx
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_file_lookup                    ## TAILCALL
LBB0_23:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax), %edi
	xorl	%ecx, %ecx
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_kld_ext_list,8,3               ## @kld_ext_list
	.no_dead_strip	_mod_search_hints
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mod_search_hints
_mod_search_hints:                      ; @mod_search_hints
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	bl	_moduledir_readhints
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	ldr	x27, [x20, #8]
	cbz	x27, LBB0_11
; %bb.1:
	ldrsw	x8, [x20]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.2:
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	w26, #0
	mov	x24, #0
	sxtw	x9, w21
	str	x9, [sp]                        ; 8-byte Folded Spill
	add	x28, x27, x8, lsl #2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x27, x23, lsl #2
	add	x27, x8, #16
	cmp	x27, x28
	b.hs	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w23, w8, [x27]
                                        ; kill: def $w23 killed $w23 def $x23
	sxtw	x23, w23
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27, #8]
	cmp	w8, w21
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x27, #12
	mov	x0, x25
	mov	x1, x19
	mov	x2, x21
	bl	_bcmp
	cbnz	w0, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x25, x25, x8, lsl #2
	ldr	x0, [x20, #8]
	mov	x1, x25
	bl	_INT_ALIGN
	add	x1, x25, #20
	ldr	w2, [x25, #16]
	cbz	x22, LBB0_19
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x22]
	cmp	w8, w9
	b.eq	LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22, #4]
	cmp	w8, w9
	b.lt	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22, #8]
	cmp	w8, w26
	csel	w10, w26, w8, le
	csel	x11, x24, x1, le
	ldr	w13, [sp, #12]                  ; 4-byte Folded Reload
	csel	w12, w13, w2, le
	cmp	w8, w9
	csel	w26, w26, w10, gt
	csel	x24, x24, x11, gt
	csel	w13, w13, w12, gt
	str	w13, [sp, #12]                  ; 4-byte Folded Spill
	b	LBB0_3
LBB0_11:
	mov	x0, #0
	mov	w26, #0
	cbz	w26, LBB0_15
	b	LBB0_18
LBB0_12:
	cbz	x24, LBB0_14
; %bb.13:
	ldr	w0, [x20, #4]
	mov	x1, x24
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	mov	x3, #0
	bl	_file_lookup
	cbz	w26, LBB0_15
	b	LBB0_18
LBB0_14:
	mov	x0, #0
	cbnz	w26, LBB0_18
LBB0_15:
	cbnz	x0, LBB0_18
; %bb.16:
Lloh0:
	adrp	x8, _kld_ext_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kld_ext_list@GOTPAGEOFF]
	ldr	w0, [x20, #4]
Lloh2:
	ldr	x3, [x8]
	mov	x1, x19
	mov	x2, x21
LBB0_17:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_file_lookup
LBB0_18:
	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
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_19:
	ldr	w0, [x20, #4]
	mov	x3, #0
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kld_ext_list,8,3               ; @kld_ext_list
	.no_dead_strip	_mod_search_hints
.subsections_via_symbols
