	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_done_irq
_rx_done_irq:                           ## @rx_done_irq
	.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
	movq	%rdi, %rbx
	movq	_RX_DESC_FLAGS_OFFSET@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	(%rdi), %edx
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem8
	movq	_RX_DESC_FLAG_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
## %bb.1:
	leaq	16(%rbx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %r14d
	movq	_RX_DESC_STATUS_OFFSET@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	incl	4(%rax)
LBB0_35:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r15), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	_RX_DESC_FLAG_CONSUMED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_wmem8
	movl	(%rbx), %eax
	movl	4(%rbx), %ecx
	decl	%ecx
	leal	1(%rax), %edx
	cmpl	%ecx, %eax
	movl	$0, %eax
	cmovgel	%eax, %edx
	movl	%edx, (%rbx)
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem8
	movq	_RX_DESC_FLAG_VALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_36
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r14d
	cmpl	4(%rbx), %r14d
	jge	LBB0_36
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem8
	movq	_RX_STATUS_SUCCESS@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_4
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_RX_DESC_MSDU_SIZE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem16
	movl	%eax, %r12d
	movq	_RX_DESC_MSDU_POS_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem16
                                        ## kill: def $eax killed $eax def $rax
	movq	8(%rbx), %rdi
	cmpl	$29, %r12d
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%rdi)
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$193, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	56(%rbx)
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rsi
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %edx
	movl	$24, %ecx
	xorl	%eax, %eax
	callq	_atmel_copy_to_host
	movl	-52(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %r15d
	movl	-56(%rbp), %edi
	callq	_le16_to_cpu
	movl	%eax, %r9d
	cmpq	$0, 40(%rbx)
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 36(%rbx)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_FCTL_PROTECTED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r9d, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leal	24(%rax), %esi
	leal	-24(%r12), %edx
	movq	%rbx, %rdi
	jmp	LBB0_14
LBB0_22:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 24(%rbx)
	jne	LBB0_17
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %r8d
	jmp	LBB0_24
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%r9d, %r13d
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r12d, %edx
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_probe_crc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	52(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 52(%rbx)
	cmpl	$6, %eax
	movl	%r13d, %r9d
	movq	_RX_DESC_STATUS_OFFSET@GOTPCREL(%rip), %r13
	jl	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 40(%rbx)
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 36(%rbx)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %r8d
	movq	_IEEE80211_FCTL_PROTECTED@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	jne	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, %edi
	leaq	-56(%rbp), %rsi
	movl	$24, %edx
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %r12
	movl	%r9d, %r13d
	callq	_crc32_le
	movl	%r13d, %r9d
	movq	%r12, %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %r8d
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	48(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 48(%rbx)
	movl	$-1, %r8d
	cmpl	$6, %eax
	movl	%r13d, %r9d
	movq	_RX_DESC_STATUS_OFFSET@GOTPCREL(%rip), %r13
	jl	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 40(%rbx)
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	-24(%r12), %r11d
	movq	_IEEE80211_FCTL_FTYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	movq	_IEEE80211_FTYPE_DATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movl	%r11d, -48(%rbp)                ## 4-byte Spill
	jne	LBB0_29
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_FCTL_MOREFRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	andl	%r15d, %r10d
	movq	_IEEE80211_SCTL_FRAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r9d, %eax
	movl	%r10d, %ecx
	orl	%eax, %ecx
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	movl	%r11d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r8d, %r13d
	callq	_fast_rx_path
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	%r13d, %r8d
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_SCTL_SEQ@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r9d
	sarl	$4, %r9d
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	movl	%r11d, %edx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movl	%r8d, %r13d
	pushq	%r10
	pushq	%rax
	callq	_frag_rx_path
	movl	-48(%rbp), %r11d                ## 4-byte Reload
	movl	%r13d, %r8d
	addq	$16, %rsp
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_RX_DESC_STATUS_OFFSET@GOTPCREL(%rip), %r13
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_IEEE80211_FCTL_FTYPE@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	_IEEE80211_FTYPE_MGMT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	movq	_RX_DESC_FLAGS_OFFSET@GOTPCREL(%rip), %r15
	jne	LBB0_35
## %bb.30:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movq	8(%rbx), %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	addl	$24, %edx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r11d, %ecx
	xorl	%eax, %eax
	callq	_atmel_copy_to_host
	movl	32(%rbx), %edi
	callq	_eth_broadcast_addr
	cmpq	$0, 24(%rbx)
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	addl	$-28, %r12d
	movl	-68(%rbp), %edi                 ## 4-byte Reload
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_crc32_le
	notl	%eax
	movq	(%r13), %rcx
	movl	%r12d, %edx
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	cmpl	%eax, (%rcx,%r12,4)
	jne	LBB0_32
LBB0_33:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_RX_DESC_RSSI_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	callq	_atmel_rx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atmel_rmem8
	movq	%rbx, %rdi
	leaq	-56(%rbp), %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%rax, %rcx
	callq	_atmel_management_frame
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rax
	incl	(%rax)
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_RX_DESC_STATUS_OFFSET@GOTPCREL(%rip), %r13
	jmp	LBB0_35
LBB0_36:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_DESC_FLAGS_OFFSET,4,2       ## @RX_DESC_FLAGS_OFFSET
	.comm	_RX_DESC_FLAG_VALID,8,3         ## @RX_DESC_FLAG_VALID
	.comm	_RX_DESC_STATUS_OFFSET,4,2      ## @RX_DESC_STATUS_OFFSET
	.comm	_RX_STATUS_SUCCESS,4,2          ## @RX_STATUS_SUCCESS
	.comm	_RX_DESC_MSDU_SIZE_OFFSET,4,2   ## @RX_DESC_MSDU_SIZE_OFFSET
	.comm	_RX_DESC_MSDU_POS_OFFSET,4,2    ## @RX_DESC_MSDU_POS_OFFSET
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ## @IEEE80211_FCTL_PROTECTED
	.comm	_IEEE80211_FCTL_FTYPE,4,2       ## @IEEE80211_FCTL_FTYPE
	.comm	_IEEE80211_FTYPE_DATA,4,2       ## @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_FCTL_MOREFRAGS,4,2   ## @IEEE80211_FCTL_MOREFRAGS
	.comm	_IEEE80211_SCTL_FRAG,4,2        ## @IEEE80211_SCTL_FRAG
	.comm	_IEEE80211_SCTL_SEQ,4,2         ## @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ## @IEEE80211_FTYPE_MGMT
	.comm	_RX_DESC_RSSI_OFFSET,4,2        ## @RX_DESC_RSSI_OFFSET
	.comm	_RX_DESC_FLAG_CONSUMED,4,2      ## @RX_DESC_FLAG_CONSUMED
	.no_dead_strip	_rx_done_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_done_irq
_rx_done_irq:                           ; @rx_done_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
Lloh0:
	adrp	x27, _RX_DESC_FLAGS_OFFSET@GOTPAGE
Lloh1:
	ldr	x27, [x27, _RX_DESC_FLAGS_OFFSET@GOTPAGEOFF]
	ldr	w1, [x27]
	ldr	w2, [x0]
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem8
Lloh2:
	adrp	x24, _RX_DESC_FLAG_VALID@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RX_DESC_FLAG_VALID@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.1:
Lloh4:
	adrp	x23, _RX_DESC_STATUS_OFFSET@GOTPAGE
Lloh5:
	ldr	x23, [x23, _RX_DESC_STATUS_OFFSET@GOTPAGEOFF]
	add	x28, x19, #16
	mov	w20, #-1
	str	x28, [sp, #32]                  ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8, #4]
	add	w9, w9, #1
	str	w9, [x8, #4]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x27]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
Lloh6:
	adrp	x8, _RX_DESC_FLAG_CONSUMED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RX_DESC_FLAG_CONSUMED@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_atmel_wmem8
	ldp	w8, w9, [x19]
	sub	w9, w9, #1
	cmp	w8, w9
	csinc	w2, wzr, w8, ge
	str	w2, [x19]
	ldr	w1, [x27]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem8
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_34
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #4]
	add	w20, w20, #1
	cmp	w20, w8
	b.ge	LBB0_34
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x23]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem8
Lloh9:
	adrp	x8, _RX_STATUS_SUCCESS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RX_STATUS_SUCCESS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x8, _RX_DESC_MSDU_SIZE_OFFSET@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RX_DESC_MSDU_SIZE_OFFSET@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem16
	mov	x21, x0
Lloh15:
	adrp	x8, _RX_DESC_MSDU_POS_OFFSET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RX_DESC_MSDU_POS_OFFSET@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem16
	mov	x22, x0
	ldr	x0, [x19, #8]
	cmp	w21, #29
	b.gt	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x0, #4]
	add	w8, w8, #1
	str	w8, [x0, #4]
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w0, #193
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #56]
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x28, x23
	mov	w8, #24
	stp	x22, x8, [sp, #8]
	add	x8, sp, #40
	str	x8, [sp]
	bl	_atmel_copy_to_host
	ldr	w0, [sp, #44]
	bl	_le16_to_cpu
	mov	x23, x0
	ldr	w0, [sp, #40]
	bl	_le16_to_cpu
	mov	x24, x0
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh18:
	adrp	x8, _IEEE80211_FCTL_PROTECTED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IEEE80211_FCTL_PROTECTED@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	add	w1, w22, #24
	sub	w2, w21, #24
	mov	x0, x19
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_19
	b	LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_probe_crc
	str	x0, [x19, #24]
	cbz	x0, LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #52]
	add	w9, w8, #1
	str	w9, [x19, #52]
	cmp	w8, #6
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #40]
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #36]
	cbz	w8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh21:
	adrp	x8, _IEEE80211_FCTL_PROTECTED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_FCTL_PROTECTED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w23
	b.ne	LBB0_24
LBB0_21:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #40
	mov	w0, #-1
	mov	w2, #24
	bl	_crc32_le
	mov	x26, x0
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #48]
	add	w9, w8, #1
	str	w9, [x19, #48]
	cmp	w8, #6
	b.lt	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [x19, #40]
LBB0_24:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #-1
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	w25, w21, #24
Lloh24:
	adrp	x8, _IEEE80211_FCTL_FTYPE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IEEE80211_FCTL_FTYPE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	and	w8, w8, w23
Lloh27:
	adrp	x9, _IEEE80211_FTYPE_DATA@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IEEE80211_FTYPE_DATA@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_29
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh30:
	adrp	x8, _IEEE80211_FCTL_MOREFRAGS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IEEE80211_FCTL_MOREFRAGS@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	and	w7, w8, w23
Lloh33:
	adrp	x8, _IEEE80211_SCTL_FRAG@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IEEE80211_SCTL_FRAG@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	and	w6, w8, w24
	orr	w8, w7, w6
	cbnz	w8, LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x25
	mov	x3, x22
	mov	x4, x26
	bl	_fast_rx_path
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh36:
	adrp	x8, _IEEE80211_SCTL_SEQ@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IEEE80211_SCTL_SEQ@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	and	w8, w8, w24
	asr	w5, w8, #4
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x25
	mov	x3, x22
	mov	x4, x26
	bl	_frag_rx_path
LBB0_29:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh39:
	adrp	x8, _IEEE80211_FCTL_FTYPE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IEEE80211_FCTL_FTYPE@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	and	w8, w8, w23
Lloh42:
	adrp	x9, _IEEE80211_FTYPE_MGMT@GOTPAGE
Lloh43:
	ldr	x9, [x9, _IEEE80211_FTYPE_MGMT@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	x23, x28
Lloh45:
	adrp	x24, _RX_DESC_FLAG_VALID@GOTPAGE
Lloh46:
	ldr	x24, [x24, _RX_DESC_FLAG_VALID@GOTPAGEOFF]
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	b.ne	LBB0_3
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19, #8]
	add	w8, w22, #24
	stp	x8, x25, [sp, #8]
	str	x28, [sp]
	bl	_atmel_copy_to_host
	ldr	w0, [x19, #32]
	bl	_eth_broadcast_addr
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	sub	w25, w21, #28
	mov	x0, x26
	mov	x1, x28
	mov	x2, x25
	bl	_crc32_le
	mvn	w8, w0
	ldr	x9, [x28]
	ldr	w9, [x9, w25, uxtw #2]
	cmp	w9, w8
	b.ne	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh47:
	adrp	x8, _RX_DESC_RSSI_OFFSET@GOTPAGE
Lloh48:
	ldr	x8, [x8, _RX_DESC_RSSI_OFFSET@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	ldr	w2, [x19]
	mov	x0, x19
	bl	_atmel_rx
	mov	x1, x0
	mov	x0, x19
	bl	_atmel_rmem8
	mov	x3, x0
	add	x1, sp, #40
	mov	x0, x19
	mov	x2, x25
	bl	_atmel_management_frame
	b	LBB0_3
LBB0_33:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_3
LBB0_34:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_DESC_FLAGS_OFFSET,4,2       ; @RX_DESC_FLAGS_OFFSET
	.comm	_RX_DESC_FLAG_VALID,8,3         ; @RX_DESC_FLAG_VALID
	.comm	_RX_DESC_STATUS_OFFSET,4,2      ; @RX_DESC_STATUS_OFFSET
	.comm	_RX_STATUS_SUCCESS,4,2          ; @RX_STATUS_SUCCESS
	.comm	_RX_DESC_MSDU_SIZE_OFFSET,4,2   ; @RX_DESC_MSDU_SIZE_OFFSET
	.comm	_RX_DESC_MSDU_POS_OFFSET,4,2    ; @RX_DESC_MSDU_POS_OFFSET
	.comm	_IEEE80211_FCTL_PROTECTED,4,2   ; @IEEE80211_FCTL_PROTECTED
	.comm	_IEEE80211_FCTL_FTYPE,4,2       ; @IEEE80211_FCTL_FTYPE
	.comm	_IEEE80211_FTYPE_DATA,4,2       ; @IEEE80211_FTYPE_DATA
	.comm	_IEEE80211_FCTL_MOREFRAGS,4,2   ; @IEEE80211_FCTL_MOREFRAGS
	.comm	_IEEE80211_SCTL_FRAG,4,2        ; @IEEE80211_SCTL_FRAG
	.comm	_IEEE80211_SCTL_SEQ,4,2         ; @IEEE80211_SCTL_SEQ
	.comm	_IEEE80211_FTYPE_MGMT,4,2       ; @IEEE80211_FTYPE_MGMT
	.comm	_RX_DESC_RSSI_OFFSET,4,2        ; @RX_DESC_RSSI_OFFSET
	.comm	_RX_DESC_FLAG_CONSUMED,4,2      ; @RX_DESC_FLAG_CONSUMED
	.no_dead_strip	_rx_done_irq
.subsections_via_symbols
