	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_algs_unregister            ## -- Begin function sec_algs_unregister
	.p2align	4, 0x90
_sec_algs_unregister:                   ## @sec_algs_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_algs_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_active_devs@GOTPCREL(%rip), %rax
	decq	(%rax)
	jne	LBB0_2
## %bb.1:
	movq	_sec_algs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_crypto_unregister_skciphers
LBB0_2:
	movq	_algs_lock@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_algs_lock,4,2                  ## @algs_lock
	.comm	_active_devs,8,3                ## @active_devs
	.comm	_sec_algs,4,2                   ## @sec_algs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sec_algs_unregister            ; -- Begin function sec_algs_unregister
	.p2align	2
_sec_algs_unregister:                   ; @sec_algs_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
Lloh0:
	adrp	x0, _algs_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _algs_lock@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x8, _active_devs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _active_devs@GOTPAGEOFF]
	ldr	x9, [x8]
	subs	x9, x9, #1
	str	x9, [x8]
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x8, _sec_algs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _sec_algs@GOTPAGEOFF]
Lloh6:
	ldr	w19, [x8]
	mov	x0, x19
	bl	_ARRAY_SIZE
	mov	x1, x0
	mov	x0, x19
	bl	_crypto_unregister_skciphers
LBB0_2:
Lloh7:
	adrp	x0, _algs_lock@GOTPAGE
Lloh8:
	ldr	x0, [x0, _algs_lock@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_algs_lock,4,2                  ; @algs_lock
	.comm	_active_devs,8,3                ; @active_devs
	.comm	_sec_algs,4,2                   ; @sec_algs
.subsections_via_symbols
