	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wcn36xx_rx_handle_packets
_wcn36xx_rx_handle_packets:             ## @wcn36xx_rx_handle_packets
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r13d
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movl	%edx, -64(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-44(%rbp), %rdx
	movl	%r9d, %esi
	callq	_wcn36xx_dxe_read_register
	movq	_WCN36XX_DXE_0_INT_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_wcn36xx_dxe_write_register
	movl	-44(%rbp), %eax
	movq	_WCN36XX_CH_STAT_INT_ERR_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_WCN36XX_DXE_0_INT_ERR_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_wcn36xx_dxe_write_register
	leaq	L_.str(%rip), %rdi
	callq	_wcn36xx_err
	movl	-44(%rbp), %eax
LBB0_2:
	movq	_WCN36XX_CH_STAT_INT_DONE_MASK@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_4
## %bb.3:
	movq	_WCN36XX_DXE_0_INT_DONE_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_wcn36xx_dxe_write_register
	movl	-44(%rbp), %eax
LBB0_4:
	movq	_WCN36XX_CH_STAT_INT_ED_MASK@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	testl	%eax, %ecx
	je	LBB0_6
## %bb.5:
	movq	_WCN36XX_DXE_0_INT_ED_CLR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r13d, %edx
	callq	_wcn36xx_dxe_write_register
	movl	-44(%rbp), %eax
	movl	(%r15), %ecx
LBB0_6:
	orl	(%r14), %ecx
	testl	%eax, %ecx
	je	LBB0_13
## %bb.7:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_spin_lock
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %rbx
	movq	(%rbx), %r12
	movl	(%r12), %edi
	callq	_READ_ONCE
	movq	_WCN36xx_DXE_CTRL_VLD@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_8
LBB0_12:
	movq	_WCN36XX_DXE_ENCH_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	callq	_wcn36xx_dxe_write_register
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, 8(%rdi)
	callq	_spin_unlock
LBB0_13:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	movl	-64(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r12)
	movq	8(%rbx), %rbx
	movq	(%rbx), %r12
	movl	(%r12), %edi
	callq	_READ_ONCE
	testl	%eax, (%r13)
	jne	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r12), %r15d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	(%r14), %edx
	movq	%rbx, %rsi
	callq	_wcn36xx_dxe_fill_skb
	testl	%eax, %eax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movl	(%r14), %edi
	movq	_WCN36XX_PKT_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	callq	_dma_unmap_single
	movq	%r14, %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_wcn36xx_rx_skb
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_WCN36XX_DXE_0_INT_CLR,4,2      ## @WCN36XX_DXE_0_INT_CLR
	.comm	_WCN36XX_CH_STAT_INT_ERR_MASK,4,2 ## @WCN36XX_CH_STAT_INT_ERR_MASK
	.comm	_WCN36XX_DXE_0_INT_ERR_CLR,4,2  ## @WCN36XX_DXE_0_INT_ERR_CLR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DXE IRQ reported error on RX channel\n"

	.comm	_WCN36XX_CH_STAT_INT_DONE_MASK,4,2 ## @WCN36XX_CH_STAT_INT_DONE_MASK
	.comm	_WCN36XX_DXE_0_INT_DONE_CLR,4,2 ## @WCN36XX_DXE_0_INT_DONE_CLR
	.comm	_WCN36XX_CH_STAT_INT_ED_MASK,4,2 ## @WCN36XX_CH_STAT_INT_ED_MASK
	.comm	_WCN36XX_DXE_0_INT_ED_CLR,4,2   ## @WCN36XX_DXE_0_INT_ED_CLR
	.comm	_WCN36xx_DXE_CTRL_VLD,4,2       ## @WCN36xx_DXE_CTRL_VLD
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_WCN36XX_PKT_SIZE,4,2           ## @WCN36XX_PKT_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_WCN36XX_DXE_ENCH_ADDR,4,2      ## @WCN36XX_DXE_ENCH_ADDR
	.no_dead_strip	_wcn36xx_rx_handle_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wcn36xx_rx_handle_packets
_wcn36xx_rx_handle_packets:             ; @wcn36xx_rx_handle_packets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x4
	mov	x25, x3
	mov	x22, x2
	mov	x24, x1
	mov	x21, x0
	add	x2, sp, #28
	mov	x1, x5
	bl	_wcn36xx_dxe_read_register
Lloh0:
	adrp	x8, _WCN36XX_DXE_0_INT_CLR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WCN36XX_DXE_0_INT_CLR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_wcn36xx_dxe_write_register
	ldr	w8, [sp, #28]
Lloh3:
	adrp	x9, _WCN36XX_CH_STAT_INT_ERR_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WCN36XX_CH_STAT_INT_ERR_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _WCN36XX_DXE_0_INT_ERR_CLR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WCN36XX_DXE_0_INT_ERR_CLR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_wcn36xx_dxe_write_register
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wcn36xx_err
	ldr	w8, [sp, #28]
LBB0_2:
Lloh11:
	adrp	x19, _WCN36XX_CH_STAT_INT_DONE_MASK@GOTPAGE
Lloh12:
	ldr	x19, [x19, _WCN36XX_CH_STAT_INT_DONE_MASK@GOTPAGEOFF]
	ldr	w9, [x19]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _WCN36XX_DXE_0_INT_DONE_CLR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WCN36XX_DXE_0_INT_DONE_CLR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_wcn36xx_dxe_write_register
	ldr	w8, [sp, #28]
LBB0_4:
Lloh16:
	adrp	x20, _WCN36XX_CH_STAT_INT_ED_MASK@GOTPAGE
Lloh17:
	ldr	x20, [x20, _WCN36XX_CH_STAT_INT_ED_MASK@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh18:
	adrp	x8, _WCN36XX_DXE_0_INT_ED_CLR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WCN36XX_DXE_0_INT_ED_CLR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, x23
	bl	_wcn36xx_dxe_write_register
	ldr	w8, [sp, #28]
	ldr	w9, [x20]
LBB0_6:
	ldr	w10, [x19]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_9
; %bb.7:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	mov	x0, x24
	bl	_spin_lock
	str	x24, [sp, #16]                  ; 8-byte Folded Spill
	ldr	x23, [x24, #8]
	ldr	x26, [x23]
	ldr	w0, [x26]
	bl	_READ_ONCE
Lloh21:
	adrp	x27, _WCN36xx_DXE_CTRL_VLD@GOTPAGE
Lloh22:
	ldr	x27, [x27, _WCN36xx_DXE_CTRL_VLD@GOTPAGEOFF]
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_10
LBB0_8:
Lloh23:
	adrp	x8, _WCN36XX_DXE_ENCH_ADDR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WCN36XX_DXE_ENCH_ADDR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	x0, x21
	ldr	w2, [sp, #12]                   ; 4-byte Folded Reload
	bl	_wcn36xx_dxe_write_register
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	str	x23, [x0, #8]
	bl	_spin_unlock
LBB0_9:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_10:
Lloh26:
	adrp	x28, _GFP_ATOMIC@GOTPAGE
Lloh27:
	ldr	x28, [x28, _GFP_ATOMIC@GOTPAGEOFF]
Lloh28:
	adrp	x20, _WCN36XX_PKT_SIZE@GOTPAGE
Lloh29:
	ldr	x20, [x20, _WCN36XX_PKT_SIZE@GOTPAGEOFF]
Lloh30:
	adrp	x19, _DMA_FROM_DEVICE@GOTPAGE
Lloh31:
	ldr	x19, [x19, _DMA_FROM_DEVICE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	str	w22, [x26]
	ldr	x23, [x23, #8]
	ldr	x26, [x23]
	ldr	w0, [x26]
	bl	_READ_ONCE
	ldr	w8, [x27]
	tst	w8, w0
	b.ne	LBB0_8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x23, #16]
	ldr	w25, [x26, #4]
	ldr	w0, [x21]
	ldr	w2, [x28]
	mov	x1, x23
	bl	_wcn36xx_dxe_fill_skb
	cbnz	w0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w0, [x21]
	ldr	w2, [x20]
	ldr	w3, [x19]
	mov	x1, x25
	bl	_dma_unmap_single
	mov	x0, x21
	mov	x1, x24
	bl	_wcn36xx_rx_skb
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_WCN36XX_DXE_0_INT_CLR,4,2      ; @WCN36XX_DXE_0_INT_CLR
	.comm	_WCN36XX_CH_STAT_INT_ERR_MASK,4,2 ; @WCN36XX_CH_STAT_INT_ERR_MASK
	.comm	_WCN36XX_DXE_0_INT_ERR_CLR,4,2  ; @WCN36XX_DXE_0_INT_ERR_CLR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DXE IRQ reported error on RX channel\n"

	.comm	_WCN36XX_CH_STAT_INT_DONE_MASK,4,2 ; @WCN36XX_CH_STAT_INT_DONE_MASK
	.comm	_WCN36XX_DXE_0_INT_DONE_CLR,4,2 ; @WCN36XX_DXE_0_INT_DONE_CLR
	.comm	_WCN36XX_CH_STAT_INT_ED_MASK,4,2 ; @WCN36XX_CH_STAT_INT_ED_MASK
	.comm	_WCN36XX_DXE_0_INT_ED_CLR,4,2   ; @WCN36XX_DXE_0_INT_ED_CLR
	.comm	_WCN36xx_DXE_CTRL_VLD,4,2       ; @WCN36xx_DXE_CTRL_VLD
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_WCN36XX_PKT_SIZE,4,2           ; @WCN36XX_PKT_SIZE
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_WCN36XX_DXE_ENCH_ADDR,4,2      ; @WCN36XX_DXE_ENCH_ADDR
	.no_dead_strip	_wcn36xx_rx_handle_packets
.subsections_via_symbols
