	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nx_xcbc_init
_nx_xcbc_init:                          ## @nx_xcbc_init
	.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
	movq	%rdi, %rbx
	callq	_shash_desc_ctx
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %rbx
	movq	32(%rax), %r15
	movq	_HCOP_FC_AES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nx_ctx_init
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_NX_KS_AES_128@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_NX_CPB_SET_KEY_SIZE
	movq	_NX_MODE_AES_XCBC_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	(%r15), %edi
	movq	24(%rbx), %rsi
	movq	_AES_BLOCK_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy
	movq	24(%rbx), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%r14), %rsi
	movl	(%r15), %edx
	movq	(%rbx), %rdi
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	callq	_nx_build_sg_list
	movl	(%rbx), %ecx
	subl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCOP_FC_AES,4,2                ## @HCOP_FC_AES
	.comm	_NX_KS_AES_128,4,2              ## @NX_KS_AES_128
	.comm	_NX_MODE_AES_XCBC_MAC,4,2       ## @NX_MODE_AES_XCBC_MAC
	.comm	_AES_BLOCK_SIZE,4,2             ## @AES_BLOCK_SIZE
	.no_dead_strip	_nx_xcbc_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nx_xcbc_init
_nx_xcbc_init:                          ; @nx_xcbc_init
	.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
	mov	x19, x0
	bl	_shash_desc_ctx
	mov	x20, x0
	ldr	x0, [x19]
	bl	_crypto_tfm_ctx
	mov	x19, x0
	ldr	x21, [x0, #32]
Lloh0:
	adrp	x8, _HCOP_FC_AES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCOP_FC_AES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nx_ctx_init
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh3:
	adrp	x8, _NX_KS_AES_128@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NX_KS_AES_128@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_NX_CPB_SET_KEY_SIZE
Lloh6:
	adrp	x8, _NX_MODE_AES_XCBC_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NX_MODE_AES_XCBC_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x21, #4]
	ldr	w0, [x21]
	ldr	x1, [x19, #24]
Lloh9:
	adrp	x21, _AES_BLOCK_SIZE@GOTPAGE
Lloh10:
	ldr	x21, [x21, _AES_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	x0, [x19, #24]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x0, [x19]
	ldr	x1, [x20]
	ldr	w2, [x21]
	ldr	x8, [x19, #16]
	ldr	w3, [x8]
	bl	_nx_build_sg_list
	ldr	w8, [x19]
	sub	w8, w8, w0
	str	w8, [x19, #8]
	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 AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCOP_FC_AES,4,2                ; @HCOP_FC_AES
	.comm	_NX_KS_AES_128,4,2              ; @NX_KS_AES_128
	.comm	_NX_MODE_AES_XCBC_MAC,4,2       ; @NX_MODE_AES_XCBC_MAC
	.comm	_AES_BLOCK_SIZE,4,2             ; @AES_BLOCK_SIZE
	.no_dead_strip	_nx_xcbc_init
.subsections_via_symbols
