	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rk_ahash_reg_init
_rk_ahash_reg_init:                     ## @rk_ahash_reg_init
	.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
	movq	%rdi, %r15
	movl	16(%rdi), %edi
	callq	_ahash_request_cast
	movq	%rax, %rdi
	callq	_ahash_request_ctx
	movq	%rax, %r14
	movq	_RK_CRYPTO_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_CRYPTO_READ
	movl	%eax, %ebx
	movq	_RK_CRYPTO_HASH_FLUSH@GOTPCREL(%rip), %r13
	orl	(%r13), %ebx
	movl	$65535, %edi                    ## imm = 0xFFFF
	movl	$16, %esi
	callq	__SBF
	orl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_CRYPTO_WRITE
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_CRYPTO_READ
	movl	(%r13), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	$65535, %edi                    ## imm = 0xFFFF
	movl	$16, %esi
	callq	__SBF
	orl	%eax, %ebx
	movl	(%r12), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_CRYPTO_WRITE
	movq	_RK_CRYPTO_HASH_DOUT_0@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r15), %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset_io
	movq	_RK_CRYPTO_INTENA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RK_CRYPTO_HRDMA_ERR_ENA@GOTPCREL(%rip), %rax
	movq	_RK_CRYPTO_HRDMA_DONE_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_CRYPTO_WRITE
	movq	_RK_CRYPTO_INTSTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RK_CRYPTO_HRDMA_ERR_INT@GOTPCREL(%rip), %rax
	movq	_RK_CRYPTO_HRDMA_DONE_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_CRYPTO_WRITE
	movq	_RK_CRYPTO_HASH_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RK_CRYPTO_HASH_SWAP_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	(%r14), %edx
	movq	%r15, %rdi
	callq	_CRYPTO_WRITE
	movq	_RK_CRYPTO_CONF@GOTPCREL(%rip), %rax
	movq	_RK_CRYPTO_BYTESWAP_HRFIFO@GOTPCREL(%rip), %rcx
	movq	_RK_CRYPTO_BYTESWAP_BRFIFO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_RK_CRYPTO_BYTESWAP_BTFIFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_CRYPTO_WRITE
	movq	_RK_CRYPTO_HASH_MSG_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r15), %edx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CRYPTO_WRITE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RK_CRYPTO_CTRL,4,2             ## @RK_CRYPTO_CTRL
	.comm	_RK_CRYPTO_HASH_FLUSH,4,2       ## @RK_CRYPTO_HASH_FLUSH
	.comm	_RK_CRYPTO_HASH_DOUT_0,8,3      ## @RK_CRYPTO_HASH_DOUT_0
	.comm	_RK_CRYPTO_INTENA,4,2           ## @RK_CRYPTO_INTENA
	.comm	_RK_CRYPTO_HRDMA_ERR_ENA,4,2    ## @RK_CRYPTO_HRDMA_ERR_ENA
	.comm	_RK_CRYPTO_HRDMA_DONE_ENA,4,2   ## @RK_CRYPTO_HRDMA_DONE_ENA
	.comm	_RK_CRYPTO_INTSTS,4,2           ## @RK_CRYPTO_INTSTS
	.comm	_RK_CRYPTO_HRDMA_ERR_INT,4,2    ## @RK_CRYPTO_HRDMA_ERR_INT
	.comm	_RK_CRYPTO_HRDMA_DONE_INT,4,2   ## @RK_CRYPTO_HRDMA_DONE_INT
	.comm	_RK_CRYPTO_HASH_CTRL,4,2        ## @RK_CRYPTO_HASH_CTRL
	.comm	_RK_CRYPTO_HASH_SWAP_DO,4,2     ## @RK_CRYPTO_HASH_SWAP_DO
	.comm	_RK_CRYPTO_CONF,4,2             ## @RK_CRYPTO_CONF
	.comm	_RK_CRYPTO_BYTESWAP_HRFIFO,4,2  ## @RK_CRYPTO_BYTESWAP_HRFIFO
	.comm	_RK_CRYPTO_BYTESWAP_BRFIFO,4,2  ## @RK_CRYPTO_BYTESWAP_BRFIFO
	.comm	_RK_CRYPTO_BYTESWAP_BTFIFO,4,2  ## @RK_CRYPTO_BYTESWAP_BTFIFO
	.comm	_RK_CRYPTO_HASH_MSG_LEN,4,2     ## @RK_CRYPTO_HASH_MSG_LEN
	.no_dead_strip	_rk_ahash_reg_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rk_ahash_reg_init
_rk_ahash_reg_init:                     ; @rk_ahash_reg_init
	.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, x0
	ldr	w0, [x0, #16]
	bl	_ahash_request_cast
	bl	_ahash_request_ctx
	mov	x20, x0
Lloh0:
	adrp	x21, _RK_CRYPTO_CTRL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RK_CRYPTO_CTRL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CRYPTO_READ
Lloh2:
	adrp	x22, _RK_CRYPTO_HASH_FLUSH@GOTPAGE
Lloh3:
	ldr	x22, [x22, _RK_CRYPTO_HASH_FLUSH@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w23, w8, w0
	mov	w0, #65535
	mov	w1, #16
	bl	__SBF
	orr	w2, w23, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CRYPTO_WRITE
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CRYPTO_READ
	ldr	w8, [x22]
	bic	w22, w0, w8
	mov	w0, #65535
	mov	w1, #16
	bl	__SBF
	orr	w2, w22, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_CRYPTO_WRITE
	ldr	x8, [x19, #8]
Lloh4:
	adrp	x9, _RK_CRYPTO_HASH_DOUT_0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _RK_CRYPTO_HASH_DOUT_0@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x0, x9, x8
	mov	w1, #0
	mov	w2, #32
	bl	_memset_io
Lloh7:
	adrp	x8, _RK_CRYPTO_INTENA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RK_CRYPTO_INTENA@GOTPAGEOFF]
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Lloh32:
	ldr	x8, [x8, _RK_CRYPTO_CONF@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
Lloh34:
	adrp	x8, _RK_CRYPTO_BYTESWAP_HRFIFO@GOTPAGE
Lloh35:
	ldr	x8, [x8, _RK_CRYPTO_BYTESWAP_HRFIFO@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
Lloh37:
	adrp	x9, _RK_CRYPTO_BYTESWAP_BRFIFO@GOTPAGE
Lloh38:
	ldr	x9, [x9, _RK_CRYPTO_BYTESWAP_BRFIFO@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh40:
	adrp	x9, _RK_CRYPTO_BYTESWAP_BTFIFO@GOTPAGE
Lloh41:
	ldr	x9, [x9, _RK_CRYPTO_BYTESWAP_BTFIFO@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_CRYPTO_WRITE
Lloh43:
	adrp	x8, _RK_CRYPTO_HASH_MSG_LEN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RK_CRYPTO_HASH_MSG_LEN@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, 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	_CRYPTO_WRITE
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh11
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RK_CRYPTO_CTRL,4,2             ; @RK_CRYPTO_CTRL
	.comm	_RK_CRYPTO_HASH_FLUSH,4,2       ; @RK_CRYPTO_HASH_FLUSH
	.comm	_RK_CRYPTO_HASH_DOUT_0,8,3      ; @RK_CRYPTO_HASH_DOUT_0
	.comm	_RK_CRYPTO_INTENA,4,2           ; @RK_CRYPTO_INTENA
	.comm	_RK_CRYPTO_HRDMA_ERR_ENA,4,2    ; @RK_CRYPTO_HRDMA_ERR_ENA
	.comm	_RK_CRYPTO_HRDMA_DONE_ENA,4,2   ; @RK_CRYPTO_HRDMA_DONE_ENA
	.comm	_RK_CRYPTO_INTSTS,4,2           ; @RK_CRYPTO_INTSTS
	.comm	_RK_CRYPTO_HRDMA_ERR_INT,4,2    ; @RK_CRYPTO_HRDMA_ERR_INT
	.comm	_RK_CRYPTO_HRDMA_DONE_INT,4,2   ; @RK_CRYPTO_HRDMA_DONE_INT
	.comm	_RK_CRYPTO_HASH_CTRL,4,2        ; @RK_CRYPTO_HASH_CTRL
	.comm	_RK_CRYPTO_HASH_SWAP_DO,4,2     ; @RK_CRYPTO_HASH_SWAP_DO
	.comm	_RK_CRYPTO_CONF,4,2             ; @RK_CRYPTO_CONF
	.comm	_RK_CRYPTO_BYTESWAP_HRFIFO,4,2  ; @RK_CRYPTO_BYTESWAP_HRFIFO
	.comm	_RK_CRYPTO_BYTESWAP_BRFIFO,4,2  ; @RK_CRYPTO_BYTESWAP_BRFIFO
	.comm	_RK_CRYPTO_BYTESWAP_BTFIFO,4,2  ; @RK_CRYPTO_BYTESWAP_BTFIFO
	.comm	_RK_CRYPTO_HASH_MSG_LEN,4,2     ; @RK_CRYPTO_HASH_MSG_LEN
	.no_dead_strip	_rk_ahash_reg_init
.subsections_via_symbols
