	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_final_shash
_omap_sham_final_shash:                 ## @omap_sham_final_shash
	.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, %r15
	movl	8(%rdi), %edi
	callq	_crypto_tfm_ctx
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %rbx
	movq	_FLAGS_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	24(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_FLAGS_AUTO_XOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_get_block_size
	cltq
LBB0_5:
	movl	(%r14), %edi
	movl	(%r15), %r8d
	movl	4(%r15), %esi
	movq	8(%rbx), %rdx
	addq	%rax, %rdx
	movq	(%rbx), %rcx
	subq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_omap_sham_shash_digest         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAGS_HMAC,4,2                 ## @FLAGS_HMAC
	.comm	_FLAGS_AUTO_XOR,4,2             ## @FLAGS_AUTO_XOR
	.no_dead_strip	_omap_sham_final_shash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_sham_final_shash
_omap_sham_final_shash:                 ; @omap_sham_final_shash
	.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	w0, [x0, #8]
	bl	_crypto_tfm_ctx
	mov	x20, x0
	mov	x0, x19
	bl	_ahash_request_ctx
	mov	x21, x0
Lloh0:
	adrp	x8, _FLAGS_HMAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAGS_HMAC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #24
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FLAGS_AUTO_XOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLAGS_AUTO_XOR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x1, [x21, #16]
	bl	_test_bit
	cbz	x0, LBB0_3
LBB0_2:
	mov	x8, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	bl	_get_block_size
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
LBB0_4:
	ldr	w0, [x20]
	ldp	x10, x9, [x21]
	add	x2, x9, x8
	sub	x3, x10, x8
	ldp	w4, w1, [x19]
	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	_omap_sham_shash_digest
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAGS_HMAC,4,2                 ; @FLAGS_HMAC
	.comm	_FLAGS_AUTO_XOR,4,2             ; @FLAGS_AUTO_XOR
	.no_dead_strip	_omap_sham_final_shash
.subsections_via_symbols
