	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function omap_sham_copy_ready_hash
_omap_sham_copy_ready_hash:             ## @omap_sham_copy_ready_hash
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_ahash_request_ctx
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_16
## %bb.1:
	movq	_FLAGS_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	addl	$-128, %ecx
	cmpl	$5, %ecx
	ja	LBB0_16
## %bb.2:
	movq	16(%rax), %r14
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	_SHA512_DIGEST_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	_SHA384_DIGEST_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_SHA256_DIGEST_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_8:
	movq	_SHA224_DIGEST_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_12:
	movq	_FLAGS_BE32_SHA1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	8(%rax), %rsi
	callq	_test_bit
	movq	_SHA1_DIGEST_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%edx, %ecx
	sarl	$2, %ecx
	testl	%eax, %eax
	je	LBB0_5
## %bb.13:
	cmpl	$4, %edx
	jl	LBB0_16
## %bb.14:
	movl	%ecx, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_be32_to_cpu
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_15
	jmp	LBB0_16
LBB0_3:
	movq	_MD5_DIGEST_SIZE@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ecx
	sarl	$2, %ecx
LBB0_5:
	testl	%ecx, %ecx
	jle	LBB0_16
## %bb.6:
	movl	%ecx, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_le32_to_cpu
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_7
LBB0_16:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_FLAGS_MODE_MASK,4,2            ## @FLAGS_MODE_MASK
	.comm	_MD5_DIGEST_SIZE,4,2            ## @MD5_DIGEST_SIZE
	.comm	_FLAGS_BE32_SHA1,4,2            ## @FLAGS_BE32_SHA1
	.comm	_SHA1_DIGEST_SIZE,4,2           ## @SHA1_DIGEST_SIZE
	.comm	_SHA224_DIGEST_SIZE,4,2         ## @SHA224_DIGEST_SIZE
	.comm	_SHA256_DIGEST_SIZE,4,2         ## @SHA256_DIGEST_SIZE
	.comm	_SHA384_DIGEST_SIZE,4,2         ## @SHA384_DIGEST_SIZE
	.comm	_SHA512_DIGEST_SIZE,4,2         ## @SHA512_DIGEST_SIZE
	.no_dead_strip	_omap_sham_copy_ready_hash
.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_ready_hash
_omap_sham_copy_ready_hash:             ; @omap_sham_copy_ready_hash
	.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
	bl	_ahash_request_ctx
	ldr	x19, [x19]
	cbz	x19, LBB0_15
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FLAGS_MODE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAGS_MODE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_15
; %bb.2:
	ldr	x20, [x0, #16]
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _SHA512_DIGEST_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SHA512_DIGEST_SIZE@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh7:
	adrp	x8, _SHA384_DIGEST_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SHA384_DIGEST_SIZE@GOTPAGEOFF]
	b	LBB0_11
LBB0_5:
Lloh9:
	adrp	x8, _SHA256_DIGEST_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SHA256_DIGEST_SIZE@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
Lloh11:
	adrp	x8, _SHA224_DIGEST_SIZE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SHA224_DIGEST_SIZE@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh13:
	adrp	x8, _FLAGS_BE32_SHA1@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FLAGS_BE32_SHA1@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	x1, [x0, #8]
	mov	x0, x8
	bl	_test_bit
Lloh16:
	adrp	x8, _SHA1_DIGEST_SIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SHA1_DIGEST_SIZE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	asr	w21, w8, #2
	cbz	w0, LBB0_12
; %bb.8:
	cmp	w8, #4
	b.lt	LBB0_15
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_be32_to_cpu
	str	w0, [x19], #4
	subs	x21, x21, #1
	b.ne	LBB0_9
	b	LBB0_15
LBB0_10:
Lloh19:
	adrp	x8, _MD5_DIGEST_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MD5_DIGEST_SIZE@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	asr	w21, w8, #2
LBB0_12:
	cmp	w21, #1
	b.lt	LBB0_15
; %bb.13:
	mov	w21, w21
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20], #4
	bl	_le32_to_cpu
	str	w0, [x19], #4
	subs	x21, x21, #1
	b.ne	LBB0_14
LBB0_15:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
                                        ; -- End function
	.comm	_FLAGS_MODE_MASK,4,2            ; @FLAGS_MODE_MASK
	.comm	_MD5_DIGEST_SIZE,4,2            ; @MD5_DIGEST_SIZE
	.comm	_FLAGS_BE32_SHA1,4,2            ; @FLAGS_BE32_SHA1
	.comm	_SHA1_DIGEST_SIZE,4,2           ; @SHA1_DIGEST_SIZE
	.comm	_SHA224_DIGEST_SIZE,4,2         ; @SHA224_DIGEST_SIZE
	.comm	_SHA256_DIGEST_SIZE,4,2         ; @SHA256_DIGEST_SIZE
	.comm	_SHA384_DIGEST_SIZE,4,2         ; @SHA384_DIGEST_SIZE
	.comm	_SHA512_DIGEST_SIZE,4,2         ; @SHA512_DIGEST_SIZE
	.no_dead_strip	_omap_sham_copy_ready_hash
.subsections_via_symbols
