	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_hash_tasklet_cb
_s5p_hash_tasklet_cb:                   ## @s5p_hash_tasklet_cb
	.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
	movq	_HASH_FLAGS_BUSY@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_HASH_FLAGS_DMA_READY@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	_HASH_FLAGS_DMA_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_s5p_hash_update_dma_stop
LBB0_4:
	movq	_HASH_FLAGS_OUTPUT_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_clear_bit
	movl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_s5p_hash_finish_req
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5p_hash_handle_queue          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_FLAGS_BUSY,4,2            ## @HASH_FLAGS_BUSY
	.comm	_HASH_FLAGS_DMA_READY,4,2       ## @HASH_FLAGS_DMA_READY
	.comm	_HASH_FLAGS_DMA_ACTIVE,4,2      ## @HASH_FLAGS_DMA_ACTIVE
	.comm	_HASH_FLAGS_OUTPUT_READY,4,2    ## @HASH_FLAGS_OUTPUT_READY
	.no_dead_strip	_s5p_hash_tasklet_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_hash_tasklet_cb
_s5p_hash_tasklet_cb:                   ; @s5p_hash_tasklet_cb
	.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
Lloh0:
	adrp	x20, _HASH_FLAGS_BUSY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HASH_FLAGS_BUSY@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_7
; %bb.1:
Lloh2:
	adrp	x21, _HASH_FLAGS_DMA_READY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _HASH_FLAGS_DMA_READY@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.2:
Lloh4:
	adrp	x8, _HASH_FLAGS_DMA_ACTIVE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HASH_FLAGS_DMA_ACTIVE@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_clear_bit
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_s5p_hash_update_dma_stop
LBB0_4:
Lloh7:
	adrp	x8, _HASH_FLAGS_OUTPUT_READY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HASH_FLAGS_OUTPUT_READY@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_and_clear_bit
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w0, [x21]
	mov	x1, x19
	bl	_clear_bit
	ldr	w0, [x19, #4]
	mov	w1, #0
	bl	_s5p_hash_finish_req
	ldr	w0, [x20]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_6:
	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
LBB0_7:
	mov	x0, x19
	mov	x1, #0
	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	_s5p_hash_handle_queue
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_FLAGS_BUSY,4,2            ; @HASH_FLAGS_BUSY
	.comm	_HASH_FLAGS_DMA_READY,4,2       ; @HASH_FLAGS_DMA_READY
	.comm	_HASH_FLAGS_DMA_ACTIVE,4,2      ; @HASH_FLAGS_DMA_ACTIVE
	.comm	_HASH_FLAGS_OUTPUT_READY,4,2    ; @HASH_FLAGS_OUTPUT_READY
	.no_dead_strip	_s5p_hash_tasklet_cb
.subsections_via_symbols
