	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_copy_hash_omap4
_omap_sham_copy_hash_omap4:             ## @omap_sham_copy_hash_omap4
	.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
	pushq	%rax
	.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, %r14
	callq	_ahash_request_ctx
	movq	8(%rax), %r12
	movl	(%rax), %ebx
	movq	_FLAGS_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_7
## %bb.1:
	movl	8(%r12), %edi
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rdi
	callq	_crypto_ahash_ctx
	movq	(%r12), %rcx
	cmpl	$4, (%rcx)
	jae	LBB0_2
LBB0_7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_omap_sham_copy_hash_omap2      ## TAILCALL
LBB0_2:
	movq	(%rax), %rax
	movq	(%rax), %r13
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13,%rbx,4), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_omap_sham_write
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	(%r12), %rax
	movslq	(%rax), %rax
	shrq	$2, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_SHA_REG_ODIGEST
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_omap_sham_read
	movl	%eax, (%r13,%rbx,4)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAGS_HMAC,4,2                 ## @FLAGS_HMAC
	.no_dead_strip	_omap_sham_copy_hash_omap4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function omap_sham_copy_hash_omap4
_omap_sham_copy_hash_omap4:             ; @omap_sham_copy_hash_omap4
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_ahash_request_ctx
	ldr	x21, [x0, #8]
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _FLAGS_HMAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAGS_HMAC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21, #8]
	bl	_crypto_ahash_reqtfm
	bl	_crypto_ahash_ctx
	ldr	x8, [x21]
	ldr	w8, [x8]
	cmp	w8, #4
	b.hs	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_omap_sham_copy_hash_omap2
LBB0_3:
	mov	x22, #0
	ldr	x8, [x0]
	ldr	x23, [x8]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x23, x22, lsl #2]
	mov	x0, x21
	bl	_omap_sham_write
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x22, x22, #1
	ldr	x8, [x21]
	ldrsw	x8, [x8]
	cmp	x22, x8, lsr #2
	b.hs	LBB0_2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x22
	bl	_SHA_REG_ODIGEST
	mov	x1, x0
	cbz	w19, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	bl	_omap_sham_read
	str	w0, [x23, x22, lsl #2]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAGS_HMAC,4,2                 ; @FLAGS_HMAC
	.no_dead_strip	_omap_sham_copy_hash_omap4
.subsections_via_symbols
