	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifmaybeload                    ## -- Begin function ifmaybeload
	.p2align	4, 0x90
_ifmaybeload:                           ## @ifmaybeload
	.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	%rdi, %r13
	movq	%rsp, -80(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_IFNAMSIZ@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	addl	$3, %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	_noload@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
LBB0_23:
	movq	-80(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movb	(%r14), %al
	testb	%al, %al
	je	LBB0_6
## %bb.2:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_isdigit
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_3
	jmp	LBB0_6
LBB0_4:
	movb	$0, -1(%rbx)
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%rax)
	movq	_module_map@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_nitems
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	movl	$8, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %r13
	movq	-8(%r13,%r12), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	movq	(%r14), %rdi
	callq	_nitems
	cltq
	addq	$16, %r12
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_11:
	leaq	L_.str(%rip), %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r15d, %edx
	callq	_strlcpy
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_strlcat
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_9:
	movq	(%r13,%r12), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_strlcpy
	movb	$1, %r15b
LBB0_12:
	movl	$16, -96(%rbp)
	xorl	%edi, %edi
	callq	_kldnext
	testl	%eax, %eax
	jle	LBB0_22
## %bb.13:
	leaq	-96(%rbp), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	callq	_kldnext
	testl	%eax, %eax
	jle	LBB0_22
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_kldfirstmod
	testl	%eax, %eax
	jle	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movl	%eax, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_16 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_23
LBB0_20:                                ##   in Loop: Header=BB0_16 Depth=2
	movl	%ebx, %edi
	callq	_modfnext
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_21
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movq	%r13, %rsi
	callq	_modstat
	testq	%rax, %rax
	js	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-88(%rbp), %r12
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strchr
	leaq	1(%rax), %r14
	testq	%rax, %rax
	cmoveq	%r12, %r14
	testb	%r15b, %r15b
	jne	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_19
	jmp	LBB0_23
LBB0_22:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_kldload
	jmp	LBB0_23
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_IFNAMSIZ,4,2                   ## @IFNAMSIZ
	.comm	_noload,8,3                     ## @noload
	.comm	_module_map,8,3                 ## @module_map
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"if_"

	.comm	_MOD_PREFIX_LEN,4,2             ## @MOD_PREFIX_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ifmaybeload                    ; -- Begin function ifmaybeload
	.p2align	2
_ifmaybeload:                           ; @ifmaybeload
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #32
	mov	x1, x0
	mov	x24, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _IFNAMSIZ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IFNAMSIZ@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w21, w9, #3
	mov	x9, x21
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x21, #15
	and	x10, x10, #0x1fffffff0
	sub	x19, x9, x10
	mov	sp, x19
	ldr	w2, [x8]
	mov	x9, x2
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x2, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh9:
	adrp	x8, _noload@GOTPAGE
Lloh10:
	ldr	x8, [x8, _noload@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
LBB0_1:
	mov	sp, x24
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.2:
	sub	sp, x29, #64
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strlcpy
	ldrb	w8, [x20]
	cbz	w8, LBB0_8
; %bb.4:
	add	x22, x20, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_isdigit
	cbnz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldrb	w8, [x22], #1
	cbnz	w8, LBB0_5
	b	LBB0_8
LBB0_7:
	sturb	wzr, [x22, #-1]
LBB0_8:
	strb	wzr, [x19]
Lloh15:
	adrp	x22, _module_map@GOTPAGE
Lloh16:
	ldr	x22, [x22, _module_map@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_nitems
	cmp	w0, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x23, #0
	mov	x25, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x22]
	ldr	x0, [x26, x23]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x25, x25, #1
	ldr	x0, [x22]
	bl	_nitems
	add	x23, x23, #16
	cmp	x25, w0, sxtw
	b.lt	LBB0_10
LBB0_12:
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_strlcat
	mov	w25, #0
	b	LBB0_14
LBB0_13:
	add	x8, x26, x23
	ldr	x1, [x8, #8]
	mov	x0, x19
	mov	x2, x21
	bl	_strlcpy
	mov	w25, #1
LBB0_14:
	mov	w8, #16
	stur	w8, [x29, #-88]
	mov	w0, #0
	bl	_kldnext
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.15:
	mov	x21, x0
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x21
	bl	_kldnext
	mov	x21, x0
	cmp	w0, #0
	b.le	LBB0_24
LBB0_17:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
	mov	x0, x21
	bl	_kldfirstmod
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x22, x0
	b	LBB0_21
LBB0_19:                                ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x19
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_1
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x22
	bl	_modfnext
	mov	x22, x0
	cmp	w0, #0
	b.le	LBB0_16
LBB0_21:                                ;   Parent Loop BB0_17 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	x1, x29, #88
	mov	x0, x22
	bl	_modstat
	tbnz	x0, #63, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldur	x23, [x29, #-80]
	mov	x0, x23
	mov	w1, #47
	bl	_strchr
	cmp	x0, #0
	csinc	x23, x23, x0, eq
	tbnz	w25, #0, LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	mov	x0, x20
	mov	x1, x23
	bl	_strcmp
	cbnz	x0, LBB0_19
	b	LBB0_1
LBB0_24:
	mov	x0, x19
	bl	_kldload
	b	LBB0_1
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IFNAMSIZ,4,2                   ; @IFNAMSIZ
	.comm	_noload,8,3                     ; @noload
	.comm	_module_map,8,3                 ; @module_map
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"if_"

	.comm	_MOD_PREFIX_LEN,4,2             ; @MOD_PREFIX_LEN
.subsections_via_symbols
