	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_rx_handle                  ## -- Begin function wil_rx_handle
	.p2align	4, 0x90
_wil_rx_handle:                         ## @wil_rx_handle
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %r15
	movq	(%r15), %r13
	xorl	%edi, %edi
	cmpl	$0, 4(%r12)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wil_err                        ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_wil_dbg_txrx
	cmpl	$0, (%r14)
	jg	LBB0_3
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_wil_rx_reorder
	cmpl	$0, (%r14)
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r12, %rsi
	callq	_wil_vring_reap_rx
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	decl	(%r14)
	movq	(%r13), %rax
	movq	_NL80211_IFTYPE_MONITOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, 16(%rbx)
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	_CHECKSUM_UNNECESSARY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_PACKET_OTHERHOST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, (%rbx)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_wil_netif_rx_any
	cmpl	$0, (%r14)
	jg	LBB0_3
LBB0_7:
	movl	(%r12), %esi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wil_rx_refill                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx IRQ while Rx not yet initialized\n"

L_.str.1:                               ## @.str.1
	.asciz	"rx_handle\n"

	.comm	_NL80211_IFTYPE_MONITOR,8,3     ## @NL80211_IFTYPE_MONITOR
	.comm	_CHECKSUM_UNNECESSARY,4,2       ## @CHECKSUM_UNNECESSARY
	.comm	_PACKET_OTHERHOST,4,2           ## @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wil_rx_handle                  ; -- Begin function wil_rx_handle
	.p2align	2
_wil_rx_handle:                         ; @wil_rx_handle
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x0, #8]
	ldr	x23, [x21]
	ldr	w8, [x0, #4]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_wil_err
LBB0_2:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_wil_dbg_txrx
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.3:
Lloh4:
	adrp	x24, _NL80211_IFTYPE_MONITOR@GOTPAGE
Lloh5:
	ldr	x24, [x24, _NL80211_IFTYPE_MONITOR@GOTPAGEOFF]
Lloh6:
	adrp	x25, _CHECKSUM_UNNECESSARY@GOTPAGE
Lloh7:
	ldr	x25, [x25, _CHECKSUM_UNNECESSARY@GOTPAGEOFF]
Lloh8:
	adrp	x26, _PACKET_OTHERHOST@GOTPAGE
Lloh9:
	ldr	x26, [x26, _PACKET_OTHERHOST@GOTPAGEOFF]
Lloh10:
	adrp	x27, _ETH_P_802_2@GOTPAGE
Lloh11:
	ldr	x27, [x27, _ETH_P_802_2@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_wil_rx_reorder
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x20]
	cmp	w8, #0
	b.le	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x19
	bl	_wil_vring_reap_rx
	cbz	x0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x22, x0
	ldr	w8, [x20]
	sub	w8, w8, #1
	str	w8, [x20]
	ldr	x8, [x23]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	x21, [x22, #16]
	mov	x0, x22
	bl	_skb_reset_mac_header
	ldr	w8, [x25]
	ldr	w9, [x26]
	stp	w9, w8, [x22, #4]
	ldr	w0, [x27]
	bl	_htons
	str	w0, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_wil_netif_rx_any
	b	LBB0_5
LBB0_9:
	ldr	w1, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_wil_rx_refill
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx IRQ while Rx not yet initialized\n"

l_.str.1:                               ; @.str.1
	.asciz	"rx_handle\n"

	.comm	_NL80211_IFTYPE_MONITOR,8,3     ; @NL80211_IFTYPE_MONITOR
	.comm	_CHECKSUM_UNNECESSARY,4,2       ; @CHECKSUM_UNNECESSARY
	.comm	_PACKET_OTHERHOST,4,2           ; @PACKET_OTHERHOST
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
.subsections_via_symbols
