	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_start_rx
_hw_start_rx:                           ## @hw_start_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	20(%rdi), %edi
	movq	_KS_DMA_RX_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movq	_KS884X_INT_RX_STOPPED@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	%eax, 16(%rbx)
	movq	_DMA_START@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KS_DMA_RX_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%rbx), %rsi
	callq	_writel
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_hw_ack_intr
	movl	(%rbx), %eax
	incl	%eax
	movl	$2, %ecx
	cmovnel	%eax, %ecx
	movl	%ecx, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KS_DMA_RX_CTRL,8,3             ## @KS_DMA_RX_CTRL
	.comm	_KS884X_INT_RX_STOPPED,4,2      ## @KS884X_INT_RX_STOPPED
	.comm	_DMA_START,4,2                  ## @DMA_START
	.comm	_KS_DMA_RX_START,8,3            ## @KS_DMA_RX_START
	.no_dead_strip	_hw_start_rx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_start_rx
_hw_start_rx:                           ; @hw_start_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	w0, [x0, #20]
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _KS_DMA_RX_CTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _KS_DMA_RX_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh3:
	adrp	x20, _KS884X_INT_RX_STOPPED@GOTPAGE
Lloh4:
	ldr	x20, [x20, _KS884X_INT_RX_STOPPED@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
Lloh5:
	adrp	x8, _DMA_START@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DMA_START@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _KS_DMA_RX_START@GOTPAGE
Lloh9:
	ldr	x9, [x9, _KS_DMA_RX_START@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	w1, [x20]
	mov	x0, x19
	bl	_hw_ack_intr
	ldr	w8, [x19]
	adds	w8, w8, #1
	mov	w9, #2
	csel	w8, w9, w8, hs
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KS_DMA_RX_CTRL,8,3             ; @KS_DMA_RX_CTRL
	.comm	_KS884X_INT_RX_STOPPED,4,2      ; @KS884X_INT_RX_STOPPED
	.comm	_DMA_START,4,2                  ; @DMA_START
	.comm	_KS_DMA_RX_START,8,3            ; @KS_DMA_RX_START
	.no_dead_strip	_hw_start_rx
.subsections_via_symbols
