	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ahash_process_req
_ahash_process_req:                     ## @ahash_process_req
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_crypto_ahash_reqtfm
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movq	%rax, %r12
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r13
	movq	%r14, %rdi
	callq	_crypto_ahash_tfm
	movl	%eax, %edi
	callq	_crypto_tfm_alg_blocksize
	movl	%eax, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	16(%r12), %rdi
	callq	_dev_get_drvdata
	movq	%rax, %rdi
	callq	_has_ftr_sec1
	movq	40(%r13), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movl	8(%r13), %ebx
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	leal	(%rbx,%r15), %ecx
	xorl	%r15d, %r15d
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%r13)
	je	LBB0_7
LBB0_1:
	movl	%ecx, %r12d
	testl	%eax, %eax
	je	LBB0_10
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.4:
	cmpl	%ebx, %r14d
	jbe	LBB0_14
## %bb.5:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	cmpl	%r14d, %r12d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	cmovbl	%r12d, %r14d
	subl	%ebx, %r14d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %edi
	movl	%r14d, %esi
	callq	_sg_nents_for_len
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_24
## %bb.6:
	movl	(%rbx), %edi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13), %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rdx
	movl	%r12d, %esi
	movl	%r14d, %ecx
	callq	_sg_copy_to_buffer
	addl	%r14d, 8(%r13)
	movl	52(%r13), %edi
	movl	(%rbx), %esi
	movl	%r14d, %edx
	callq	_scatterwalk_ffwd
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_7:
	movl	%ecx, %r12d
	subl	%r14d, %r12d
	jbe	LBB0_22
## %bb.8:
	leal	-1(%r14), %r15d
	andl	%ecx, %r15d
	je	LBB0_35
## %bb.9:
	subl	%r15d, %ecx
	jmp	LBB0_1
LBB0_22:
	movq	%rdx, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_sg_nents_for_len
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_24
## %bb.23:
	movl	(%r14), %edi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %eax
	leaq	(%r15,%rax,4), %rdx
	movl	%r12d, %esi
	movl	%ebx, %ecx
	callq	_sg_copy_to_buffer
	addl	%ebx, 8(%r14)
	xorl	%r12d, %r12d
	jmp	LBB0_25
LBB0_35:
	movl	%r14d, %r15d
	testl	%eax, %eax
	jne	LBB0_3
LBB0_10:
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.11:
	movl	%r15d, %r14d
	movq	%rdx, %r15
	xorl	%esi, %esi
	cmpl	%r12d, %ebx
	adcl	$1, %esi
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movl	52(%r13), %edi
	callq	_sg_init_table
	movl	8(%r13), %edx
	movl	52(%r13), %edi
	movq	%r15, %rsi
	callq	_sg_set_buf
	cmpl	%r12d, %ebx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jae	LBB0_13
## %bb.12:
	movl	52(%r13), %edi
	movl	(%r15), %edx
	movl	$2, %esi
	callq	_sg_chain
LBB0_13:
	movl	52(%r13), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movl	%r14d, %r15d
	jmp	LBB0_15
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
LBB0_15:
	movl	%eax, 48(%r13)
	testl	%r15d, %r15d
	je	LBB0_18
## %bb.16:
	movl	%r15d, %r14d
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_sg_nents_for_len
	movl	%eax, %r12d
	testl	%eax, %eax
	js	LBB0_24
## %bb.17:
	movl	(%r15), %edi
	movq	40(%r13), %rax
	movl	(%r13), %ecx
	notl	%ecx
	andl	$1, %ecx
	movq	(%rax,%rcx,8), %rdx
	movl	%r14d, %r15d
	subl	%r14d, %ebx
	movl	%r12d, %esi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_sg_pcopy_to_buffer
	movl	-44(%rbp), %r12d                ## 4-byte Reload
LBB0_18:
	movl	%r15d, 12(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_ahash_edesc_alloc
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_24:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
LBB0_25:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	8(%rsi), %eax
	movl	%eax, (%r14)
	movq	16(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_26
## %bb.21:
	movq	_DESC_HDR_MODE0_MDEU_CONT@GOTPCREL(%rip), %rdx
	jmp	LBB0_27
LBB0_26:
	movq	_DESC_HDR_MODE0_MDEU_PAD@GOTPCREL(%rip), %rdx
LBB0_27:
	orl	(%rdx), %eax
	movl	%eax, (%r14)
	cmpq	$0, 24(%r13)
	je	LBB0_31
## %bb.28:
	cmpl	$0, 32(%r13)
	jne	LBB0_30
## %bb.29:
	movq	_DESC_HDR_MODE0_MDEU_INIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_30:
	cmpq	$0, (%rsi)
	jne	LBB0_33
	jmp	LBB0_34
LBB0_31:
	cmpq	$0, (%rsi)
	je	LBB0_34
## %bb.32:
	testq	%rcx, %rcx
	je	LBB0_34
LBB0_33:
	movq	_DESC_HDR_MODE0_MDEU_HMAC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%r14)
LBB0_34:
	movq	_ahash_done@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_common_nonsnoop_hash           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid number of src SG.\n"

	.comm	_DESC_HDR_MODE0_MDEU_PAD,4,2    ## @DESC_HDR_MODE0_MDEU_PAD
	.comm	_DESC_HDR_MODE0_MDEU_CONT,4,2   ## @DESC_HDR_MODE0_MDEU_CONT
	.comm	_DESC_HDR_MODE0_MDEU_INIT,4,2   ## @DESC_HDR_MODE0_MDEU_INIT
	.comm	_DESC_HDR_MODE0_MDEU_HMAC,4,2   ## @DESC_HDR_MODE0_MDEU_HMAC
	.comm	_ahash_done,4,2                 ## @ahash_done
	.no_dead_strip	_ahash_process_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ahash_process_req
_ahash_process_req:                     ; @ahash_process_req
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x1
	mov	x19, x0
	bl	_crypto_ahash_reqtfm
	mov	x22, x0
	bl	_crypto_ahash_ctx
	mov	x20, x0
	mov	x0, x19
	bl	_ahash_request_ctx
	mov	x21, x0
	mov	x0, x22
	bl	_crypto_ahash_tfm
	bl	_crypto_tfm_alg_blocksize
	mov	x26, x0
	ldr	x0, [x20, #16]
	bl	_dev_get_drvdata
	bl	_has_ftr_sec1
	ldr	x8, [x21, #40]
	ldr	x9, [x21]
	ldr	x25, [x8, x9, lsl #3]
	ldr	x8, [x21, #16]
	ldr	w27, [x21, #8]
	add	w22, w27, w23
	cbz	x8, LBB0_7
; %bb.1:
	mov	w24, #0
LBB0_2:
	cbz	w0, LBB0_10
; %bb.3:
	cbz	w27, LBB0_14
; %bb.4:
	cmp	w26, w27
	b.ls	LBB0_14
; %bb.5:
	cmp	w22, w26
	csel	w8, w22, w26, lo
	sub	w27, w8, w27
	ldr	w0, [x19]
	mov	x1, x27
	bl	_sg_nents_for_len
	mov	x26, x0
	tbnz	w0, #31, LBB0_25
; %bb.6:
	ldr	w0, [x19]
	ldr	w8, [x21, #8]
	add	x2, x25, x8, lsl #2
	mov	x1, x26
	mov	x3, x27
	bl	_sg_copy_to_buffer
	ldr	w8, [x21, #8]
	add	w8, w8, w27
	str	w8, [x21, #8]
	ldr	w0, [x21, #52]
	ldr	w1, [x19]
	mov	x2, x27
	bl	_scatterwalk_ffwd
	str	w0, [x21, #48]
	cbnz	w24, LBB0_15
	b	LBB0_17
LBB0_7:
	subs	w8, w22, w26
	b.ls	LBB0_23
; %bb.8:
	sub	w9, w26, #1
	ands	w24, w22, w9
	b.eq	LBB0_31
; %bb.9:
	sub	w22, w22, w24
	b	LBB0_2
LBB0_10:
	cbz	w27, LBB0_14
; %bb.11:
	cmp	w27, w22
	mov	w8, #1
	cinc	w1, w8, lo
	ldr	w0, [x21, #52]
	bl	_sg_init_table
	ldr	w0, [x21, #52]
	ldr	w2, [x21, #8]
	mov	x1, x25
	bl	_sg_set_buf
	cmp	w27, w22
	b.hs	LBB0_13
; %bb.12:
	ldr	w0, [x21, #52]
	ldr	w2, [x19]
	mov	w1, #2
	bl	_sg_chain
LBB0_13:
	ldr	w0, [x21, #52]
	str	w0, [x21, #48]
	cbnz	w24, LBB0_15
	b	LBB0_17
LBB0_14:
	ldr	w0, [x19]
	str	w0, [x21, #48]
	cbz	w24, LBB0_17
LBB0_15:
	ldr	w0, [x19]
	mov	x1, x23
	bl	_sg_nents_for_len
	mov	x26, x0
	tbnz	w0, #31, LBB0_25
; %bb.16:
	ldr	w0, [x19]
	ldr	x8, [x21, #40]
	ldr	w9, [x21]
	mvn	w9, w9
	and	x9, x9, #0x1
	ldr	x2, [x8, x9, lsl #3]
	sub	w4, w23, w24
	mov	x1, x26
	mov	x3, x24
	bl	_sg_pcopy_to_buffer
LBB0_17:
	str	w24, [x21, #12]
	mov	x0, x19
	mov	x1, x22
	bl	_ahash_edesc_alloc
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.18:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_19:
	ldr	w8, [x20, #8]
	str	w8, [x23]
Lloh0:
	adrp	x10, _DESC_HDR_MODE0_MDEU_CONT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DESC_HDR_MODE0_MDEU_CONT@GOTPAGEOFF]
Lloh2:
	adrp	x11, _DESC_HDR_MODE0_MDEU_PAD@GOTPAGE
Lloh3:
	ldr	x11, [x11, _DESC_HDR_MODE0_MDEU_PAD@GOTPAGEOFF]
	ldp	x9, x12, [x21, #16]
	cmp	x9, #0
	csel	x10, x10, x11, eq
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x23]
	cbz	x12, LBB0_27
; %bb.20:
	ldr	w9, [x21, #32]
	cbnz	w9, LBB0_22
; %bb.21:
Lloh4:
	adrp	x9, _DESC_HDR_MODE0_MDEU_INIT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DESC_HDR_MODE0_MDEU_INIT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x23]
LBB0_22:
	ldr	x9, [x20]
	cbnz	x9, LBB0_29
	b	LBB0_30
LBB0_23:
	ldr	w0, [x19]
	mov	x1, x23
	bl	_sg_nents_for_len
	mov	x26, x0
	tbnz	w0, #31, LBB0_25
; %bb.24:
	ldr	w0, [x19]
	ldr	w8, [x21, #8]
	add	x2, x25, x8, lsl #2
	mov	x1, x26
	mov	x3, x23
	bl	_sg_copy_to_buffer
	mov	w26, #0
	ldr	w8, [x21, #8]
	add	w8, w8, w23
	str	w8, [x21, #8]
	b	LBB0_26
LBB0_25:
	ldr	x0, [x20, #16]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_26:
	mov	x0, x26
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_27:
	ldr	x10, [x20]
	cbz	x10, LBB0_30
; %bb.28:
	cbz	x9, LBB0_30
LBB0_29:
Lloh9:
	adrp	x9, _DESC_HDR_MODE0_MDEU_HMAC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DESC_HDR_MODE0_MDEU_HMAC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x23]
LBB0_30:
Lloh12:
	adrp	x8, _ahash_done@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ahash_done@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x23
	mov	x1, x19
	mov	x2, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_common_nonsnoop_hash
LBB0_31:
	mov	x24, x26
	mov	x22, x8
	b	LBB0_2
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid number of src SG.\n"

	.comm	_DESC_HDR_MODE0_MDEU_PAD,4,2    ; @DESC_HDR_MODE0_MDEU_PAD
	.comm	_DESC_HDR_MODE0_MDEU_CONT,4,2   ; @DESC_HDR_MODE0_MDEU_CONT
	.comm	_DESC_HDR_MODE0_MDEU_INIT,4,2   ; @DESC_HDR_MODE0_MDEU_INIT
	.comm	_DESC_HDR_MODE0_MDEU_HMAC,4,2   ; @DESC_HDR_MODE0_MDEU_HMAC
	.comm	_ahash_done,4,2                 ; @ahash_done
	.no_dead_strip	_ahash_process_req
.subsections_via_symbols
