	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function img_hash_write_via_cpu
_img_hash_write_via_cpu:                ## @img_hash_write_via_cpu
	.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
	movq	8(%rdi), %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	8(%rbx), %rax
	movl	4(%rax), %r15d
	movl	16(%r14), %edi
	callq	_sg_nents
	movl	4(%r14), %edx
	movq	8(%rbx), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_sg_copy_to_buffer
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	$0, 8(%r14)
	movq	_DRIVER_FLAGS_CPU@GOTPCREL(%rip), %rax
	movq	_DRIVER_FLAGS_FINAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_img_hash_start
	movl	(%r14), %edx
	movl	4(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_img_hash_xmit_cpu              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRIVER_FLAGS_CPU,4,2           ## @DRIVER_FLAGS_CPU
	.comm	_DRIVER_FLAGS_FINAL,4,2         ## @DRIVER_FLAGS_FINAL
	.no_dead_strip	_img_hash_write_via_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function img_hash_write_via_cpu
_img_hash_write_via_cpu:                ; @img_hash_write_via_cpu
	.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
	ldr	x0, [x0, #8]
	bl	_ahash_request_ctx
	mov	x20, x0
	ldr	x8, [x19, #8]
	ldr	w21, [x8, #4]
	ldr	w0, [x0, #16]
	bl	_sg_nents
	mov	x1, x0
	ldr	w2, [x20, #4]
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
	mov	x0, x21
	bl	_sg_copy_to_buffer
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x20]
	str	xzr, [x20, #8]
Lloh0:
	adrp	x8, _DRIVER_FLAGS_CPU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRIVER_FLAGS_CPU@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DRIVER_FLAGS_FINAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DRIVER_FLAGS_FINAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	mov	x0, x19
	mov	w1, #0
	bl	_img_hash_start
	ldp	w2, w1, [x20]
	mov	x0, x19
	mov	w3, #1
	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
	b	_img_hash_xmit_cpu
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_DRIVER_FLAGS_CPU,4,2           ; @DRIVER_FLAGS_CPU
	.comm	_DRIVER_FLAGS_FINAL,4,2         ; @DRIVER_FLAGS_FINAL
	.no_dead_strip	_img_hash_write_via_cpu
.subsections_via_symbols
