	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nx_remove
_nx_remove:                             ## @nx_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %edx
	addq	$4, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_nx_driver@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_NX_OKAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_nx_driver@GOTPCREL(%rip), %rdi
	callq	_NX_DEBUGFS_FINI
	movq	_NX_FC_AES@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_NX_MODE_AES_XCBC_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nx_shash_aes_xcbc_alg@GOTPCREL(%rip), %rdi
	movl	$-1, %ecx
	callq	_nx_unregister_shash
	movq	_NX_FC_SHA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_NX_MODE_SHA@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_NX_PROPS_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_nx_shash_sha512_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_shash
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	_NX_PROPS_SHA512@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_nx_shash_sha256_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_shash
	movl	(%r14), %esi
	movq	_NX_MODE_AES_CCM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_nx_ccm4309_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_aead
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	_nx_ccm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_aead
	movl	(%r14), %esi
	movq	_NX_MODE_AES_GCM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	_nx_gcm4106_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_aead
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	_nx_gcm_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_aead
	movl	(%r14), %esi
	movq	_NX_MODE_AES_CTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nx_ctr3686_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_alg
	movl	(%r14), %esi
	movq	_NX_MODE_AES_CBC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nx_cbc_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_alg
	movl	(%r14), %esi
	movq	_NX_MODE_AES_ECB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nx_ecb_aes_alg@GOTPCREL(%rip), %rdi
	callq	_nx_unregister_alg
LBB0_2:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"entering nx_remove for UA 0x%x\n"

	.comm	_nx_driver,8,3                  ## @nx_driver
	.comm	_NX_OKAY,8,3                    ## @NX_OKAY
	.comm	_nx_shash_aes_xcbc_alg,4,2      ## @nx_shash_aes_xcbc_alg
	.comm	_NX_FC_AES,4,2                  ## @NX_FC_AES
	.comm	_NX_MODE_AES_XCBC_MAC,4,2       ## @NX_MODE_AES_XCBC_MAC
	.comm	_nx_shash_sha512_alg,4,2        ## @nx_shash_sha512_alg
	.comm	_NX_FC_SHA,4,2                  ## @NX_FC_SHA
	.comm	_NX_MODE_SHA,4,2                ## @NX_MODE_SHA
	.comm	_NX_PROPS_SHA256,4,2            ## @NX_PROPS_SHA256
	.comm	_nx_shash_sha256_alg,4,2        ## @nx_shash_sha256_alg
	.comm	_NX_PROPS_SHA512,4,2            ## @NX_PROPS_SHA512
	.comm	_nx_ccm4309_aes_alg,4,2         ## @nx_ccm4309_aes_alg
	.comm	_NX_MODE_AES_CCM,4,2            ## @NX_MODE_AES_CCM
	.comm	_nx_ccm_aes_alg,4,2             ## @nx_ccm_aes_alg
	.comm	_nx_gcm4106_aes_alg,4,2         ## @nx_gcm4106_aes_alg
	.comm	_NX_MODE_AES_GCM,4,2            ## @NX_MODE_AES_GCM
	.comm	_nx_gcm_aes_alg,4,2             ## @nx_gcm_aes_alg
	.comm	_nx_ctr3686_aes_alg,4,2         ## @nx_ctr3686_aes_alg
	.comm	_NX_MODE_AES_CTR,4,2            ## @NX_MODE_AES_CTR
	.comm	_nx_cbc_aes_alg,4,2             ## @nx_cbc_aes_alg
	.comm	_NX_MODE_AES_CBC,4,2            ## @NX_MODE_AES_CBC
	.comm	_nx_ecb_aes_alg,4,2             ## @nx_ecb_aes_alg
	.comm	_NX_MODE_AES_ECB,4,2            ## @NX_MODE_AES_ECB
	.no_dead_strip	_nx_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nx_remove
_nx_remove:                             ; @nx_remove
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	w2, [x0], #4
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh2:
	adrp	x8, _nx_driver@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nx_driver@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _NX_OKAY@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NX_OKAY@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh8:
	adrp	x0, _nx_driver@GOTPAGE
Lloh9:
	ldr	x0, [x0, _nx_driver@GOTPAGEOFF]
	bl	_NX_DEBUGFS_FINI
Lloh10:
	adrp	x19, _NX_FC_AES@GOTPAGE
Lloh11:
	ldr	x19, [x19, _NX_FC_AES@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh12:
	adrp	x8, _NX_MODE_AES_XCBC_MAC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NX_MODE_AES_XCBC_MAC@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x0, _nx_shash_aes_xcbc_alg@GOTPAGE
Lloh16:
	ldr	x0, [x0, _nx_shash_aes_xcbc_alg@GOTPAGEOFF]
	mov	w3, #-1
	bl	_nx_unregister_shash
Lloh17:
	adrp	x20, _NX_FC_SHA@GOTPAGE
Lloh18:
	ldr	x20, [x20, _NX_FC_SHA@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh19:
	adrp	x21, _NX_MODE_SHA@GOTPAGE
Lloh20:
	ldr	x21, [x21, _NX_MODE_SHA@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh21:
	adrp	x8, _NX_PROPS_SHA256@GOTPAGE
Lloh22:
	ldr	x8, [x8, _NX_PROPS_SHA256@GOTPAGEOFF]
Lloh23:
	ldr	w3, [x8]
Lloh24:
	adrp	x0, _nx_shash_sha512_alg@GOTPAGE
Lloh25:
	ldr	x0, [x0, _nx_shash_sha512_alg@GOTPAGEOFF]
	bl	_nx_unregister_shash
	ldr	w1, [x20]
	ldr	w2, [x21]
Lloh26:
	adrp	x8, _NX_PROPS_SHA512@GOTPAGE
Lloh27:
	ldr	x8, [x8, _NX_PROPS_SHA512@GOTPAGEOFF]
Lloh28:
	ldr	w3, [x8]
Lloh29:
	adrp	x0, _nx_shash_sha256_alg@GOTPAGE
Lloh30:
	ldr	x0, [x0, _nx_shash_sha256_alg@GOTPAGEOFF]
	bl	_nx_unregister_shash
	ldr	w1, [x19]
Lloh31:
	adrp	x20, _NX_MODE_AES_CCM@GOTPAGE
Lloh32:
	ldr	x20, [x20, _NX_MODE_AES_CCM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh33:
	adrp	x0, _nx_ccm4309_aes_alg@GOTPAGE
Lloh34:
	ldr	x0, [x0, _nx_ccm4309_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_aead
	ldr	w1, [x19]
	ldr	w2, [x20]
Lloh35:
	adrp	x0, _nx_ccm_aes_alg@GOTPAGE
Lloh36:
	ldr	x0, [x0, _nx_ccm_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_aead
	ldr	w1, [x19]
Lloh37:
	adrp	x20, _NX_MODE_AES_GCM@GOTPAGE
Lloh38:
	ldr	x20, [x20, _NX_MODE_AES_GCM@GOTPAGEOFF]
	ldr	w2, [x20]
Lloh39:
	adrp	x0, _nx_gcm4106_aes_alg@GOTPAGE
Lloh40:
	ldr	x0, [x0, _nx_gcm4106_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_aead
	ldr	w1, [x19]
	ldr	w2, [x20]
Lloh41:
	adrp	x0, _nx_gcm_aes_alg@GOTPAGE
Lloh42:
	ldr	x0, [x0, _nx_gcm_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_aead
	ldr	w1, [x19]
Lloh43:
	adrp	x8, _NX_MODE_AES_CTR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _NX_MODE_AES_CTR@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
Lloh46:
	adrp	x0, _nx_ctr3686_aes_alg@GOTPAGE
Lloh47:
	ldr	x0, [x0, _nx_ctr3686_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_alg
	ldr	w1, [x19]
Lloh48:
	adrp	x8, _NX_MODE_AES_CBC@GOTPAGE
Lloh49:
	ldr	x8, [x8, _NX_MODE_AES_CBC@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
Lloh51:
	adrp	x0, _nx_cbc_aes_alg@GOTPAGE
Lloh52:
	ldr	x0, [x0, _nx_cbc_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_alg
	ldr	w1, [x19]
Lloh53:
	adrp	x8, _NX_MODE_AES_ECB@GOTPAGE
Lloh54:
	ldr	x8, [x8, _NX_MODE_AES_ECB@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
Lloh56:
	adrp	x0, _nx_ecb_aes_alg@GOTPAGE
Lloh57:
	ldr	x0, [x0, _nx_ecb_aes_alg@GOTPAGEOFF]
	bl	_nx_unregister_alg
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"entering nx_remove for UA 0x%x\n"

	.comm	_nx_driver,8,3                  ; @nx_driver
	.comm	_NX_OKAY,8,3                    ; @NX_OKAY
	.comm	_nx_shash_aes_xcbc_alg,4,2      ; @nx_shash_aes_xcbc_alg
	.comm	_NX_FC_AES,4,2                  ; @NX_FC_AES
	.comm	_NX_MODE_AES_XCBC_MAC,4,2       ; @NX_MODE_AES_XCBC_MAC
	.comm	_nx_shash_sha512_alg,4,2        ; @nx_shash_sha512_alg
	.comm	_NX_FC_SHA,4,2                  ; @NX_FC_SHA
	.comm	_NX_MODE_SHA,4,2                ; @NX_MODE_SHA
	.comm	_NX_PROPS_SHA256,4,2            ; @NX_PROPS_SHA256
	.comm	_nx_shash_sha256_alg,4,2        ; @nx_shash_sha256_alg
	.comm	_NX_PROPS_SHA512,4,2            ; @NX_PROPS_SHA512
	.comm	_nx_ccm4309_aes_alg,4,2         ; @nx_ccm4309_aes_alg
	.comm	_NX_MODE_AES_CCM,4,2            ; @NX_MODE_AES_CCM
	.comm	_nx_ccm_aes_alg,4,2             ; @nx_ccm_aes_alg
	.comm	_nx_gcm4106_aes_alg,4,2         ; @nx_gcm4106_aes_alg
	.comm	_NX_MODE_AES_GCM,4,2            ; @NX_MODE_AES_GCM
	.comm	_nx_gcm_aes_alg,4,2             ; @nx_gcm_aes_alg
	.comm	_nx_ctr3686_aes_alg,4,2         ; @nx_ctr3686_aes_alg
	.comm	_NX_MODE_AES_CTR,4,2            ; @NX_MODE_AES_CTR
	.comm	_nx_cbc_aes_alg,4,2             ; @nx_cbc_aes_alg
	.comm	_NX_MODE_AES_CBC,4,2            ; @NX_MODE_AES_CBC
	.comm	_nx_ecb_aes_alg,4,2             ; @nx_ecb_aes_alg
	.comm	_NX_MODE_AES_ECB,4,2            ; @NX_MODE_AES_ECB
	.no_dead_strip	_nx_remove
.subsections_via_symbols
