	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_hash_rx
_s5p_hash_rx:                           ## @s5p_hash_rx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	jle	LBB0_2
## %bb.1:
	movl	12(%rbx), %edi
	callq	_sg_next
	movl	%eax, 12(%rbx)
	movl	$1, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_HASH_FLAGS_DMA_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	movq	_HASH_FLAGS_FINAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	sete	%al
	addl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HASH_FLAGS_DMA_READY,4,2       ## @HASH_FLAGS_DMA_READY
	.comm	_HASH_FLAGS_FINAL,4,2           ## @HASH_FLAGS_FINAL
	.no_dead_strip	_s5p_hash_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_hash_rx
_s5p_hash_rx:                           ; @s5p_hash_rx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	w0, [x19, #12]
	bl	_sg_next
	str	w0, [x19, #12]
	mov	w0, #1
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _HASH_FLAGS_DMA_READY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HASH_FLAGS_DMA_READY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x19, x19, #8
	mov	x1, x19
	bl	_set_bit
Lloh3:
	adrp	x8, _HASH_FLAGS_FINAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HASH_FLAGS_FINAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cmp	x0, #0
	cset	w8, eq
	lsl	w0, w8, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_HASH_FLAGS_DMA_READY,4,2       ; @HASH_FLAGS_DMA_READY
	.comm	_HASH_FLAGS_FINAL,4,2           ; @HASH_FLAGS_FINAL
	.no_dead_strip	_s5p_hash_rx
.subsections_via_symbols
