	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk_ahash_start
_rk_ahash_start:                        ## @rk_ahash_start
	.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, %rbx
	movl	40(%rdi), %edi
	callq	_ahash_request_cast
	movq	%rax, %r15
	movl	4(%rax), %eax
	movl	%eax, 36(%rbx)
	movl	%eax, 32(%rbx)
	movl	$4, (%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movl	(%r15), %edi
	movl	%edi, 12(%rbx)
	movl	%edi, 8(%rbx)
	callq	_sg_nents
	movl	%eax, 4(%rbx)
	movq	%r15, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	$0, (%rax)
	movq	%r15, %rdi
	callq	_crypto_ahash_reqtfm
	movq	%rax, %rdi
	callq	_crypto_ahash_digestsize
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_1
## %bb.2:
	cltq
	leaq	l_switch.table.rk_ahash_start(%rip), %rcx
	movq	(%rcx,%rax,8), %rax
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	callq	_rk_ahash_reg_init
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rk_ahash_set_data_start        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RK_CRYPTO_HASH_SHA1,8,3        ## @RK_CRYPTO_HASH_SHA1
	.comm	_RK_CRYPTO_HASH_SHA256,8,3      ## @RK_CRYPTO_HASH_SHA256
	.comm	_RK_CRYPTO_HASH_MD5,8,3         ## @RK_CRYPTO_HASH_MD5
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rk_ahash_start
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.rk_ahash_start
l_switch.table.rk_ahash_start:
	.quad	_RK_CRYPTO_HASH_SHA256
	.quad	_RK_CRYPTO_HASH_SHA1
	.quad	_RK_CRYPTO_HASH_MD5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk_ahash_start
_rk_ahash_start:                        ; @rk_ahash_start
	.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, #40]
	bl	_ahash_request_cast
	mov	x21, x0
	ldr	w8, [x0, #4]
	stp	w8, w8, [x19, #32]
	mov	w8, #4
	str	w8, [x19]
	stp	xzr, xzr, [x19, #16]
	ldr	w0, [x0]
	stp	w0, w0, [x19, #8]
	bl	_sg_nents
	str	w0, [x19, #4]
	mov	x0, x21
	bl	_ahash_request_ctx
	mov	x20, x0
	str	xzr, [x0]
	mov	x0, x21
	bl	_crypto_ahash_reqtfm
	bl	_crypto_ahash_digestsize
	sub	w8, w0, #128
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.rk_ahash_start@PAGE
Lloh1:
	add	x9, x9, l_switch.table.rk_ahash_start@PAGEOFF
	ldr	x8, [x9, w8, sxtw #3]
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x19
	bl	_rk_ahash_reg_init
	mov	x0, 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	_rk_ahash_set_data_start
LBB0_2:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_RK_CRYPTO_HASH_SHA1,8,3        ; @RK_CRYPTO_HASH_SHA1
	.comm	_RK_CRYPTO_HASH_SHA256,8,3      ; @RK_CRYPTO_HASH_SHA256
	.comm	_RK_CRYPTO_HASH_MD5,8,3         ; @RK_CRYPTO_HASH_MD5
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rk_ahash_start
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.rk_ahash_start
l_switch.table.rk_ahash_start:
	.quad	_RK_CRYPTO_HASH_SHA256
	.quad	_RK_CRYPTO_HASH_SHA1
	.quad	_RK_CRYPTO_HASH_MD5

.subsections_via_symbols
