	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LoadModules
_LoadModules:                           ## @LoadModules
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rbx
	movq	%rbx, %rdi
	callq	_modfind
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_kldload
	cmpl	$-1, %eax
	je	LBB0_2
LBB0_3:
	leaq	L_.str.1(%rip), %rbx
	movq	%rbx, %rdi
	callq	_modfind
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_kldload
	cmpl	$-1, %eax
	je	LBB0_2
LBB0_5:
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rdi
	callq	_modfind
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_kldload
	cmpl	$-1, %eax
	je	LBB0_2
LBB0_7:
	leaq	L_.str.3(%rip), %rbx
	movq	%rbx, %rdi
	callq	_modfind
	movl	$1, %r14d
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_kldload
	cmpl	$-1, %eax
	jne	LBB0_9
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	movq	%rax, %rcx
	callq	_fprintf
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"netgraph"

L_.str.1:                               ## @.str.1
	.asciz	"ng_socket"

L_.str.2:                               ## @.str.2
	.asciz	"ng_ether"

L_.str.3:                               ## @.str.3
	.asciz	"ng_pppoe"

	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"kldload: %s: %s\n"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_LoadModules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LoadModules
_LoadModules:                           ; @LoadModules
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_modfind
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x19, l_.str@PAGE
Lloh3:
	add	x19, x19, l_.str@PAGEOFF
	mov	x0, x19
	bl	_kldload
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_2:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_modfind
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x19, l_.str.1@PAGE
Lloh7:
	add	x19, x19, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_kldload
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_4:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_modfind
	cmn	w0, #1
	b.ne	LBB0_6
; %bb.5:
Lloh10:
	adrp	x19, l_.str.2@PAGE
Lloh11:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_kldload
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_6:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_modfind
	cmn	w0, #1
	b.ne	LBB0_8
; %bb.7:
Lloh14:
	adrp	x19, l_.str.3@PAGE
Lloh15:
	add	x19, x19, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_kldload
	cmn	w0, #1
	b.eq	LBB0_9
LBB0_8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
Lloh16:
	adrp	x8, _stderr@GOTPAGE
Lloh17:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x8, _errno@GOTPAGE
Lloh20:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str.4@PAGE
Lloh23:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"netgraph"

l_.str.1:                               ; @.str.1
	.asciz	"ng_socket"

l_.str.2:                               ; @.str.2
	.asciz	"ng_ether"

l_.str.3:                               ; @.str.3
	.asciz	"ng_pppoe"

	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"kldload: %s: %s\n"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_LoadModules
.subsections_via_symbols
