	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cryptodev_modevent
_cryptodev_modevent:                    ## @cryptodev_modevent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$128, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.2:
	movq	_bootverbose@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_4:
	movq	_UID_ROOT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_GID_WHEEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_crypto_cdevsw@GOTPCREL(%rip), %rdi
	leaq	L_.str.1(%rip), %r9
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$438, %r8d                      ## imm = 0x1B6
	callq	_make_dev
	movq	_crypto_dev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_7
LBB0_5:
	movq	_crypto_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_destroy_dev
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bootverbose,4,2                ## @bootverbose
	.comm	_crypto_cdevsw,4,2              ## @crypto_cdevsw
	.comm	_UID_ROOT,4,2                   ## @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ## @GID_WHEEL
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"crypto"

	.comm	_crypto_dev,4,2                 ## @crypto_dev
	.comm	_EINVAL,4,2                     ## @EINVAL
L_str:                                  ## @str
	.asciz	"crypto: <crypto device>"

	.no_dead_strip	_cryptodev_modevent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cryptodev_modevent
_cryptodev_modevent:                    ; @cryptodev_modevent
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.2:
Lloh0:
	adrp	x8, _bootverbose@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bootverbose@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x0, l_str@PAGE
Lloh4:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_4:
Lloh5:
	adrp	x8, _UID_ROOT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _UID_ROOT@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _GID_WHEEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GID_WHEEL@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
Lloh11:
	adrp	x0, _crypto_cdevsw@GOTPAGE
Lloh12:
	ldr	x0, [x0, _crypto_cdevsw@GOTPAGEOFF]
Lloh13:
	adrp	x5, l_.str.1@PAGE
Lloh14:
	add	x5, x5, l_.str.1@PAGEOFF
	mov	w1, #0
	mov	w4, #438
	bl	_make_dev
	mov	x8, x0
	mov	w0, #0
Lloh15:
	adrp	x9, _crypto_dev@GOTPAGE
Lloh16:
	ldr	x9, [x9, _crypto_dev@GOTPAGEOFF]
Lloh17:
	str	w8, [x9]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh18:
	adrp	x8, _crypto_dev@GOTPAGE
Lloh19:
	ldr	x8, [x8, _crypto_dev@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_destroy_dev
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_bootverbose,4,2                ; @bootverbose
	.comm	_crypto_cdevsw,4,2              ; @crypto_cdevsw
	.comm	_UID_ROOT,4,2                   ; @UID_ROOT
	.comm	_GID_WHEEL,4,2                  ; @GID_WHEEL
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"crypto"

	.comm	_crypto_dev,4,2                 ; @crypto_dev
	.comm	_EINVAL,4,2                     ; @EINVAL
l_str:                                  ; @str
	.asciz	"crypto: <crypto device>"

	.no_dead_strip	_cryptodev_modevent
.subsections_via_symbols
