	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_asym_algs_register         ## -- Begin function qat_asym_algs_register
	.p2align	4, 0x90
_qat_asym_algs_register:                ## @qat_asym_algs_register
	.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
	movl	(%rax), %ecx
	leal	1(%rcx), %edx
	movl	%edx, (%rax)
	xorl	%ebx, %ebx
	testl	%ecx, %ecx
	jne	LBB0_3
## %bb.1:
	movq	_rsa@GOTPCREL(%rip), %rdi
	movq	$0, (%rdi)
	callq	_crypto_register_akcipher
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_dh@GOTPCREL(%rip), %rdi
	callq	_crypto_register_kpp
	movl	%eax, %ebx
LBB0_3:
	movq	_algs_lock@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_algs_lock,4,2                  ## @algs_lock
	.comm	_active_devs,4,2                ## @active_devs
	.comm	_rsa,8,3                        ## @rsa
	.comm	_dh,4,2                         ## @dh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qat_asym_algs_register         ; -- Begin function qat_asym_algs_register
	.p2align	2
_qat_asym_algs_register:                ; @qat_asym_algs_register
	.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	w9, [x8]
	add	w10, w9, #1
	str	w10, [x8]
	cbz	w9, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_4
LBB0_2:
Lloh4:
	adrp	x0, _rsa@GOTPAGE
Lloh5:
	ldr	x0, [x0, _rsa@GOTPAGEOFF]
	str	xzr, [x0]
	bl	_crypto_register_akcipher
	mov	x19, x0
	cbnz	w0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x0, _dh@GOTPAGE
Lloh7:
	ldr	x0, [x0, _dh@GOTPAGEOFF]
	bl	_crypto_register_kpp
	mov	x19, x0
LBB0_4:
Lloh8:
	adrp	x0, _algs_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _algs_lock@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_algs_lock,4,2                  ; @algs_lock
	.comm	_active_devs,4,2                ; @active_devs
	.comm	_rsa,8,3                        ; @rsa
	.comm	_dh,4,2                         ; @dh
.subsections_via_symbols
