	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nx_sha256_init
_nx_sha256_init:                        ## @nx_sha256_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_shash_desc_ctx
	movq	%rax, %r14
	movq	(%rbx), %rdi
	callq	_crypto_tfm_ctx
	movq	%rax, %rbx
	movq	_HCOP_FC_SHA@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_PROPS_SHA256@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	32(%rbx), %rax
	movq	%rax, 16(%rbx)
	movl	24(%rbx), %edi
	movq	_NX_DS_SHA256@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_NX_CPB_SET_DIGEST_SIZE
	movq	(%r14), %rsi
	movq	_SHA256_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %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
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HCOP_FC_SHA,4,2                ## @HCOP_FC_SHA
	.comm	_NX_PROPS_SHA256,8,3            ## @NX_PROPS_SHA256
	.comm	_NX_DS_SHA256,4,2               ## @NX_DS_SHA256
	.comm	_SHA256_DIGEST_SIZE,4,2         ## @SHA256_DIGEST_SIZE
	.no_dead_strip	_nx_sha256_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nx_sha256_init
_nx_sha256_init:                        ; @nx_sha256_init
	.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
	mov	x19, x0
	bl	_shash_desc_ctx
	mov	x20, x0
	ldr	x0, [x19]
	bl	_crypto_tfm_ctx
	mov	x19, x0
Lloh0:
	adrp	x8, _HCOP_FC_SHA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HCOP_FC_SHA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_nx_ctx_init
	mov	x0, x20
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19, #32]
Lloh3:
	adrp	x9, _NX_PROPS_SHA256@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NX_PROPS_SHA256@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	str	x8, [x19, #16]
	ldr	w0, [x19, #24]
Lloh6:
	adrp	x8, _NX_DS_SHA256@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NX_DS_SHA256@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_NX_CPB_SET_DIGEST_SIZE
	ldr	x0, [x19]
	ldr	x1, [x20]
Lloh9:
	adrp	x8, _SHA256_DIGEST_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHA256_DIGEST_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	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, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HCOP_FC_SHA,4,2                ; @HCOP_FC_SHA
	.comm	_NX_PROPS_SHA256,8,3            ; @NX_PROPS_SHA256
	.comm	_NX_DS_SHA256,4,2               ; @NX_DS_SHA256
	.comm	_SHA256_DIGEST_SIZE,4,2         ; @SHA256_DIGEST_SIZE
	.no_dead_strip	_nx_sha256_init
.subsections_via_symbols
