	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_dxe_rx_frame           ## -- Begin function wcn36xx_dxe_rx_frame
	.p2align	4, 0x90
_wcn36xx_dxe_rx_frame:                  ## @wcn36xx_dxe_rx_frame
	.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
	movq	_WCN36XX_DXE_INT_SRC_RAW_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	callq	_wcn36xx_dxe_read_register
	movl	-12(%rbp), %eax
	movq	_WCN36XX_DXE_INT_CH1_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %rsi
	movq	_WCN36XX_DXE_CTRL_RX_L@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WCN36XX_INT_MASK_CHAN_RX_L@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	callq	_wcn36xx_rx_handle_packets
	movl	-12(%rbp), %eax
LBB0_2:
	movq	_WCN36XX_DXE_INT_CH3_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_4
## %bb.3:
	movq	_WCN36XX_DXE_CTRL_RX_H@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_WCN36XX_INT_MASK_CHAN_RX_H@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%rbx, %rdi
	movq	%rbx, %rsi
	callq	_wcn36xx_rx_handle_packets
	movl	-12(%rbp), %eax
LBB0_4:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rdi
	callq	_wcn36xx_warn
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WCN36XX_DXE_INT_SRC_RAW_REG,4,2 ## @WCN36XX_DXE_INT_SRC_RAW_REG
	.comm	_WCN36XX_DXE_INT_CH1_MASK,4,2   ## @WCN36XX_DXE_INT_CH1_MASK
	.comm	_WCN36XX_DXE_CTRL_RX_L,4,2      ## @WCN36XX_DXE_CTRL_RX_L
	.comm	_WCN36XX_INT_MASK_CHAN_RX_L,4,2 ## @WCN36XX_INT_MASK_CHAN_RX_L
	.comm	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L,4,2 ## @WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L
	.comm	_WCN36XX_DXE_INT_CH3_MASK,4,2   ## @WCN36XX_DXE_INT_CH3_MASK
	.comm	_WCN36XX_DXE_CTRL_RX_H,4,2      ## @WCN36XX_DXE_CTRL_RX_H
	.comm	_WCN36XX_INT_MASK_CHAN_RX_H,4,2 ## @WCN36XX_INT_MASK_CHAN_RX_H
	.comm	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H,4,2 ## @WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No DXE interrupt pending\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wcn36xx_dxe_rx_frame           ; -- Begin function wcn36xx_dxe_rx_frame
	.p2align	2
_wcn36xx_dxe_rx_frame:                  ; @wcn36xx_dxe_rx_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _WCN36XX_DXE_INT_SRC_RAW_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WCN36XX_DXE_INT_SRC_RAW_REG@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_wcn36xx_dxe_read_register
	ldr	w8, [sp, #12]
Lloh3:
	adrp	x9, _WCN36XX_DXE_INT_CH1_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _WCN36XX_DXE_INT_CH1_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x9]
	tst	w3, w8
	b.eq	LBB0_2
; %bb.1:
	add	x1, x19, #4
Lloh6:
	adrp	x8, _WCN36XX_DXE_CTRL_RX_L@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WCN36XX_DXE_CTRL_RX_L@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _WCN36XX_INT_MASK_CHAN_RX_L@GOTPAGE
Lloh10:
	ldr	x8, [x8, _WCN36XX_INT_MASK_CHAN_RX_L@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
Lloh12:
	adrp	x8, _WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L@GOTPAGE
Lloh13:
	ldr	x8, [x8, _WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L@GOTPAGEOFF]
Lloh14:
	ldr	w5, [x8]
	mov	x0, x19
	bl	_wcn36xx_rx_handle_packets
	ldr	w8, [sp, #12]
LBB0_2:
Lloh15:
	adrp	x9, _WCN36XX_DXE_INT_CH3_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _WCN36XX_DXE_INT_CH3_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x9]
	tst	w3, w8
	b.eq	LBB0_4
; %bb.3:
Lloh18:
	adrp	x8, _WCN36XX_DXE_CTRL_RX_H@GOTPAGE
Lloh19:
	ldr	x8, [x8, _WCN36XX_DXE_CTRL_RX_H@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _WCN36XX_INT_MASK_CHAN_RX_H@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WCN36XX_INT_MASK_CHAN_RX_H@GOTPAGEOFF]
Lloh23:
	ldr	w4, [x8]
Lloh24:
	adrp	x8, _WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H@GOTPAGEOFF]
Lloh26:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x19
	bl	_wcn36xx_rx_handle_packets
	ldr	w8, [sp, #12]
LBB0_4:
	cbnz	w8, LBB0_6
; %bb.5:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_wcn36xx_warn
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_WCN36XX_DXE_INT_SRC_RAW_REG,4,2 ; @WCN36XX_DXE_INT_SRC_RAW_REG
	.comm	_WCN36XX_DXE_INT_CH1_MASK,4,2   ; @WCN36XX_DXE_INT_CH1_MASK
	.comm	_WCN36XX_DXE_CTRL_RX_L,4,2      ; @WCN36XX_DXE_CTRL_RX_L
	.comm	_WCN36XX_INT_MASK_CHAN_RX_L,4,2 ; @WCN36XX_INT_MASK_CHAN_RX_L
	.comm	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L,4,2 ; @WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_L
	.comm	_WCN36XX_DXE_INT_CH3_MASK,4,2   ; @WCN36XX_DXE_INT_CH3_MASK
	.comm	_WCN36XX_DXE_CTRL_RX_H,4,2      ; @WCN36XX_DXE_CTRL_RX_H
	.comm	_WCN36XX_INT_MASK_CHAN_RX_H,4,2 ; @WCN36XX_INT_MASK_CHAN_RX_H
	.comm	_WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H,4,2 ; @WCN36XX_DXE_CH_STATUS_REG_ADDR_RX_H
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No DXE interrupt pending\n"

.subsections_via_symbols
