	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_unregister              ## -- Begin function crypto_unregister
	.p2align	4, 0x90
_crypto_unregister:                     ## @crypto_unregister
	.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
	movl	%esi, %r14d
	movl	%edi, %ebx
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_LOCK
	movl	%ebx, %edi
	callq	_crypto_checkdriver
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	_CRYPTO_ALGORITHM_MIN@GOTPCREL(%rip), %rcx
	cmpl	%r14d, (%rcx)
	jg	LBB0_11
## %bb.2:
	movq	_CRYPTO_ALGORITHM_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	cmpl	%r14d, %esi
	jl	LBB0_11
## %bb.3:
	movq	(%rax), %rdx
	movslq	%r14d, %rcx
	cmpq	$0, (%rdx,%rcx,8)
	je	LBB0_11
## %bb.4:
	movq	$0, (%rdx,%rcx,8)
	movq	8(%rax), %rdi
	movq	$0, (%rdi,%rcx,8)
	leal	1(%rsi), %ecx
	testl	%esi, %esi
	jle	LBB0_5
## %bb.7:
	movl	%ecx, %edi
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rdx,%rsi,8)
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rsi
	cmpq	%rsi, %rdi
	jne	LBB0_8
	jmp	LBB0_10
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_12
LBB0_5:
	movl	$1, %esi
LBB0_6:
	xorl	%ebx, %ebx
	cmpl	%ecx, %esi
	jne	LBB0_12
LBB0_10:
	movq	%rax, %rdi
	callq	_driver_finis
	xorl	%ebx, %ebx
LBB0_12:
	xorl	%eax, %eax
	callq	_CRYPTO_DRIVER_UNLOCK
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_ALGORITHM_MIN,4,2       ## @CRYPTO_ALGORITHM_MIN
	.comm	_CRYPTO_ALGORITHM_MAX,4,2       ## @CRYPTO_ALGORITHM_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_unregister              ; -- Begin function crypto_unregister
	.p2align	2
_crypto_unregister:                     ; @crypto_unregister
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_CRYPTO_DRIVER_LOCK
	mov	x0, x20
	bl	_crypto_checkdriver
	cbz	x0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x8, _CRYPTO_ALGORITHM_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_ALGORITHM_MIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CRYPTO_ALGORITHM_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CRYPTO_ALGORITHM_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x9]
	cmp	w8, w19
	ccmp	w10, w19, #8, le
	b.lt	LBB0_7
; %bb.2:
	ldr	x8, [x0]
	ldr	x9, [x8, w19, sxtw #3]
	cbz	x9, LBB0_7
; %bb.3:
	sxtw	x9, w19
	lsl	x9, x9, #3
	str	xzr, [x8, x9]
	ldr	x11, [x0, #8]
	str	xzr, [x11, x9]
	add	w9, w10, #1
	cmp	w10, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w10, #1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8, x10, lsl #3]
	cbnz	x11, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_5
	b	LBB0_10
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w19, [x8]
	b	LBB0_12
LBB0_8:
	mov	w10, #1
LBB0_9:
	cmp	w10, w9
	b.ne	LBB0_11
LBB0_10:
	bl	_driver_finis
LBB0_11:
	mov	w19, #0
LBB0_12:
	bl	_CRYPTO_DRIVER_UNLOCK
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_ALGORITHM_MIN,4,2       ; @CRYPTO_ALGORITHM_MIN
	.comm	_CRYPTO_ALGORITHM_MAX,4,2       ; @CRYPTO_ALGORITHM_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
