	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_update_req
_omap_sham_update_req:                  ## @omap_sham_update_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r12
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_FLAGS_FINUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	8(%r14), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %ebx
	movl	8(%r12), %r13d
	movl	16(%r12), %r15d
	movq	_FLAGS_FINUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	xorl	%r8d, %r8d
	testl	%ebx, %eax
	setne	%r8b
	leaq	L_.str(%rip), %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r13d, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	8(%r12), %rbx
	movq	%r12, %rdi
	callq	_get_block_size
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.1:
	movq	8(%r12), %rax
	cmpq	(%r14), %rax
	jge	LBB0_2
LBB0_3:
	movq	_FLAGS_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	orl	(%r12), %ebx
	movl	%ebx, (%r12)
	jmp	LBB0_4
LBB0_2:
	movl	(%r12), %ebx
LBB0_4:
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	andl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	movq	_FLAGS_CPU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	8(%r12), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	testl	%ebx, %eax
	je	LBB0_6
## %bb.5:
	callq	_omap_sham_xmit_cpu
	jmp	LBB0_7
LBB0_6:
	callq	_omap_sham_xmit_dma
LBB0_7:
	movl	%eax, %r15d
	movl	8(%r14), %edi
	movl	16(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAGS_FINUP,4,2                ## @FLAGS_FINUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"update_req: total: %u, digcnt: %d, finup: %d\n"

	.comm	_FLAGS_CPU,4,2                  ## @FLAGS_CPU
L_.str.1:                               ## @.str.1
	.asciz	"update: err: %d, digcnt: %d\n"

	.no_dead_strip	_omap_sham_update_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_sham_update_req
_omap_sham_update_req:                  ; @omap_sham_update_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_ahash_request_ctx
	mov	x20, x0
	ldr	w21, [x0]
Lloh0:
	adrp	x25, _FLAGS_FINUP@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FLAGS_FINUP@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_BIT
	and	w21, w0, w21
	ldr	w22, [x19, #8]
	ldr	w23, [x20, #8]
	ldr	w24, [x20, #16]
	ldr	w26, [x20]
	ldr	w0, [x25]
	bl	_BIT
	tst	w0, w26
	cset	w8, ne
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	mov	x3, x24
	bl	_dev_dbg
	ldr	x23, [x20, #8]
	mov	x0, x20
	bl	_get_block_size
Lloh4:
	adrp	x22, _FLAGS_CPU@GOTPAGE
Lloh5:
	ldr	x22, [x22, _FLAGS_CPU@GOTPAGEOFF]
	cmp	x23, x0
	b.lt	LBB0_2
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ge	LBB0_3
LBB0_2:
	ldr	w0, [x22]
	bl	_BIT
	ldr	w8, [x20]
	orr	w23, w8, w0
	str	w23, [x20]
	b	LBB0_4
LBB0_3:
	ldr	w23, [x20]
LBB0_4:
	ldr	w0, [x22]
	bl	_BIT
	ldr	x1, [x20, #8]
	tst	w0, w23
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x2, x21
	bl	_omap_sham_xmit_cpu
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	mov	x2, x21
	bl	_omap_sham_xmit_dma
LBB0_7:
	mov	x21, x0
	ldr	w0, [x19, #8]
	ldr	w3, [x20, #16]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_dev_dbg
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAGS_FINUP,4,2                ; @FLAGS_FINUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"update_req: total: %u, digcnt: %d, finup: %d\n"

	.comm	_FLAGS_CPU,4,2                  ; @FLAGS_CPU
l_.str.1:                               ; @.str.1
	.asciz	"update: err: %d, digcnt: %d\n"

	.no_dead_strip	_omap_sham_update_req
.subsections_via_symbols
