	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nx_register_algs
_nx_register_algs:                      ## @nx_register_algs
	.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
	movq	_nx_driver@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_NX_OF_FLAG_MASK_READY@GOTPCREL(%rip), %rcx
	movl	$-1, %r14d
	cmpq	(%rcx), %rax
	jne	LBB0_24
## %bb.1:
	leaq	16(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%rbx, %rdi
	callq	_NX_DEBUGFS_INIT
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.2:
	movq	_NX_OKAY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_nx_ecb_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_24
## %bb.3:
	movq	_nx_cbc_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_23
## %bb.4:
	movq	_nx_ctr_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_22
## %bb.5:
	movq	_nx_ctr3686_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_21
## %bb.6:
	movq	_nx_gcm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_20
## %bb.7:
	movq	_nx_gcm4106_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.8:
	movq	_nx_ccm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_18
## %bb.9:
	movq	_nx_ccm4309_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_alg
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.10:
	movq	_nx_shash_sha256_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_shash
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.11:
	movq	_nx_shash_sha512_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_shash
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.12:
	movq	_nx_shash_aes_xcbc_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_register_shash
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	movl	%eax, %r14d
	movq	_nx_shash_sha512_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_shash
LBB0_15:
	movq	_nx_shash_sha256_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_shash
LBB0_16:
	movq	_nx_ccm4309_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_17:
	movq	_nx_ccm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_18:
	movq	_nx_gcm4106_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_19:
	movq	_nx_gcm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_20:
	movq	_nx_ctr3686_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_21:
	movq	_nx_ctr_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_22:
	movq	_nx_cbc_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_23:
	movq	_nx_ecb_aes_alg@GOTPCREL(%rip), %rdi
	callq	_crypto_unregister_alg
LBB0_24:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	xorl	%r14d, %r14d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_nx_driver,24,3                 ## @nx_driver
	.comm	_NX_OF_FLAG_MASK_READY,8,3      ## @NX_OF_FLAG_MASK_READY
	.comm	_NX_OKAY,4,2                    ## @NX_OKAY
	.comm	_nx_ecb_aes_alg,4,2             ## @nx_ecb_aes_alg
	.comm	_nx_cbc_aes_alg,4,2             ## @nx_cbc_aes_alg
	.comm	_nx_ctr_aes_alg,4,2             ## @nx_ctr_aes_alg
	.comm	_nx_ctr3686_aes_alg,4,2         ## @nx_ctr3686_aes_alg
	.comm	_nx_gcm_aes_alg,4,2             ## @nx_gcm_aes_alg
	.comm	_nx_gcm4106_aes_alg,4,2         ## @nx_gcm4106_aes_alg
	.comm	_nx_ccm_aes_alg,4,2             ## @nx_ccm_aes_alg
	.comm	_nx_ccm4309_aes_alg,4,2         ## @nx_ccm4309_aes_alg
	.comm	_nx_shash_sha256_alg,4,2        ## @nx_shash_sha256_alg
	.comm	_nx_shash_sha512_alg,4,2        ## @nx_shash_sha512_alg
	.comm	_nx_shash_aes_xcbc_alg,4,2      ## @nx_shash_aes_xcbc_alg
	.no_dead_strip	_nx_register_algs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nx_register_algs
_nx_register_algs:                      ; @nx_register_algs
	.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	x20, _nx_driver@GOTPAGE
Lloh1:
	ldr	x20, [x20, _nx_driver@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _NX_OF_FLAG_MASK_READY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NX_OF_FLAG_MASK_READY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_23
; %bb.1:
	add	x0, x20, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x20
	bl	_NX_DEBUGFS_INIT
	mov	x19, x0
	cbnz	w0, LBB0_24
; %bb.2:
Lloh5:
	adrp	x8, _NX_OKAY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NX_OKAY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #8]
Lloh8:
	adrp	x0, _nx_ecb_aes_alg@GOTPAGE
Lloh9:
	ldr	x0, [x0, _nx_ecb_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_24
; %bb.3:
Lloh10:
	adrp	x0, _nx_cbc_aes_alg@GOTPAGE
Lloh11:
	ldr	x0, [x0, _nx_cbc_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_22
; %bb.4:
Lloh12:
	adrp	x0, _nx_ctr_aes_alg@GOTPAGE
Lloh13:
	ldr	x0, [x0, _nx_ctr_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_21
; %bb.5:
Lloh14:
	adrp	x0, _nx_ctr3686_aes_alg@GOTPAGE
Lloh15:
	ldr	x0, [x0, _nx_ctr3686_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_20
; %bb.6:
Lloh16:
	adrp	x0, _nx_gcm_aes_alg@GOTPAGE
Lloh17:
	ldr	x0, [x0, _nx_gcm_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_19
; %bb.7:
Lloh18:
	adrp	x0, _nx_gcm4106_aes_alg@GOTPAGE
Lloh19:
	ldr	x0, [x0, _nx_gcm4106_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_18
; %bb.8:
Lloh20:
	adrp	x0, _nx_ccm_aes_alg@GOTPAGE
Lloh21:
	ldr	x0, [x0, _nx_ccm_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_17
; %bb.9:
Lloh22:
	adrp	x0, _nx_ccm4309_aes_alg@GOTPAGE
Lloh23:
	ldr	x0, [x0, _nx_ccm4309_aes_alg@GOTPAGEOFF]
	bl	_crypto_register_alg
	mov	x19, x0
	cbnz	w0, LBB0_16
; %bb.10:
Lloh24:
	adrp	x0, _nx_shash_sha256_alg@GOTPAGE
Lloh25:
	ldr	x0, [x0, _nx_shash_sha256_alg@GOTPAGEOFF]
	bl	_crypto_register_shash
	mov	x19, x0
	cbnz	w0, LBB0_15
; %bb.11:
Lloh26:
	adrp	x0, _nx_shash_sha512_alg@GOTPAGE
Lloh27:
	ldr	x0, [x0, _nx_shash_sha512_alg@GOTPAGEOFF]
	bl	_crypto_register_shash
	mov	x19, x0
	cbnz	w0, LBB0_14
; %bb.12:
Lloh28:
	adrp	x0, _nx_shash_aes_xcbc_alg@GOTPAGE
Lloh29:
	ldr	x0, [x0, _nx_shash_aes_xcbc_alg@GOTPAGEOFF]
	bl	_crypto_register_shash
	mov	x19, x0
	cbz	w0, LBB0_24
; %bb.13:
Lloh30:
	adrp	x0, _nx_shash_sha512_alg@GOTPAGE
Lloh31:
	ldr	x0, [x0, _nx_shash_sha512_alg@GOTPAGEOFF]
	bl	_crypto_unregister_shash
LBB0_14:
Lloh32:
	adrp	x0, _nx_shash_sha256_alg@GOTPAGE
Lloh33:
	ldr	x0, [x0, _nx_shash_sha256_alg@GOTPAGEOFF]
	bl	_crypto_unregister_shash
LBB0_15:
Lloh34:
	adrp	x0, _nx_ccm4309_aes_alg@GOTPAGE
Lloh35:
	ldr	x0, [x0, _nx_ccm4309_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_16:
Lloh36:
	adrp	x0, _nx_ccm_aes_alg@GOTPAGE
Lloh37:
	ldr	x0, [x0, _nx_ccm_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_17:
Lloh38:
	adrp	x0, _nx_gcm4106_aes_alg@GOTPAGE
Lloh39:
	ldr	x0, [x0, _nx_gcm4106_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_18:
Lloh40:
	adrp	x0, _nx_gcm_aes_alg@GOTPAGE
Lloh41:
	ldr	x0, [x0, _nx_gcm_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_19:
Lloh42:
	adrp	x0, _nx_ctr3686_aes_alg@GOTPAGE
Lloh43:
	ldr	x0, [x0, _nx_ctr3686_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_20:
Lloh44:
	adrp	x0, _nx_ctr_aes_alg@GOTPAGE
Lloh45:
	ldr	x0, [x0, _nx_ctr_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_21:
Lloh46:
	adrp	x0, _nx_cbc_aes_alg@GOTPAGE
Lloh47:
	ldr	x0, [x0, _nx_cbc_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
LBB0_22:
Lloh48:
	adrp	x0, _nx_ecb_aes_alg@GOTPAGE
Lloh49:
	ldr	x0, [x0, _nx_ecb_aes_alg@GOTPAGEOFF]
	bl	_crypto_unregister_alg
	b	LBB0_24
LBB0_23:
	mov	w19, #-1
LBB0_24:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_nx_driver,24,3                 ; @nx_driver
	.comm	_NX_OF_FLAG_MASK_READY,8,3      ; @NX_OF_FLAG_MASK_READY
	.comm	_NX_OKAY,4,2                    ; @NX_OKAY
	.comm	_nx_ecb_aes_alg,4,2             ; @nx_ecb_aes_alg
	.comm	_nx_cbc_aes_alg,4,2             ; @nx_cbc_aes_alg
	.comm	_nx_ctr_aes_alg,4,2             ; @nx_ctr_aes_alg
	.comm	_nx_ctr3686_aes_alg,4,2         ; @nx_ctr3686_aes_alg
	.comm	_nx_gcm_aes_alg,4,2             ; @nx_gcm_aes_alg
	.comm	_nx_gcm4106_aes_alg,4,2         ; @nx_gcm4106_aes_alg
	.comm	_nx_ccm_aes_alg,4,2             ; @nx_ccm_aes_alg
	.comm	_nx_ccm4309_aes_alg,4,2         ; @nx_ccm4309_aes_alg
	.comm	_nx_shash_sha256_alg,4,2        ; @nx_shash_sha256_alg
	.comm	_nx_shash_sha512_alg,4,2        ; @nx_shash_sha512_alg
	.comm	_nx_shash_aes_xcbc_alg,4,2      ; @nx_shash_aes_xcbc_alg
	.no_dead_strip	_nx_register_algs
.subsections_via_symbols
