	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kldload_param
_kldload_param:                         ## @kldload_param
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	$12, %edx
	callq	_strncmp
	movl	$-1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.7:
	leaq	12(%r14), %r15
	movq	%r15, %rdi
	callq	_kldload
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_15
## %bb.8:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.9:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_13
## %bb.10:
	addq	$14, %r14
LBB0_11:
	movq	%r14, %rdi
	jmp	LBB0_12
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_12:
	callq	_kldload
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_15
LBB0_13:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_14:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_errno@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"linux"

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

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

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

L_.str.4:                               ## @.str.4
	.asciz	"sysvshm"

L_.str.5:                               ## @.str.5
	.asciz	"allow.mount."

	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.6:                               ## @.str.6
	.asciz	"no"

	.comm	_EEXIST,8,3                     ## @EEXIST
	.no_dead_strip	_kldload_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kldload_param
_kldload_param:                         ; @kldload_param
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_strncmp
	cbz	x0, LBB0_7
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.4:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.5:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #12
	bl	_strncmp
	cbz	x0, LBB0_13
; %bb.6:
	mov	w20, #-1
	b	LBB0_11
LBB0_7:
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_9
LBB0_8:
	mov	x0, x19
LBB0_9:
	bl	_kldload
	mov	x20, x0
	tbz	w0, #31, LBB0_12
LBB0_10:
Lloh14:
	adrp	x8, _errno@GOTPAGE
Lloh15:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _EEXIST@GOTPAGE
Lloh18:
	ldr	x9, [x9, _EEXIST@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
LBB0_11:
Lloh20:
	adrp	x8, _ENOENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _errno@GOTPAGE
Lloh24:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh25:
	str	x8, [x9]
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_13:
	add	x21, x19, #12
	mov	x0, x21
	bl	_kldload
	mov	x20, x0
	tbz	w0, #31, LBB0_12
; %bb.14:
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
Lloh29:
	adrp	x9, _ENOENT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.15:
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	mov	w2, #2
	bl	_strncmp
	cbnz	x0, LBB0_10
; %bb.16:
	add	x0, x19, #14
	b	LBB0_9
	.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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"linux"

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

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

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

l_.str.4:                               ; @.str.4
	.asciz	"sysvshm"

l_.str.5:                               ; @.str.5
	.asciz	"allow.mount."

	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.6:                               ; @.str.6
	.asciz	"no"

	.comm	_EEXIST,8,3                     ; @EEXIST
	.no_dead_strip	_kldload_param
.subsections_via_symbols
