	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_pass_packet_to_mac80211
_il3945_pass_packet_to_mac80211:        ## @il3945_pass_packet_to_mac80211
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_rxb_addr
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IL_RX_DATA
	movq	%rax, %r12
	movq	%r15, %rdi
	callq	_IL_RX_HDR
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_IL_RX_END
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edi
	callq	_le16_to_cpu
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	movb	16(%rbx), %cl
	shlq	%cl, %r14
	movl	(%r12), %r12d
	movq	%rax, %rbx
	movq	_IL39_RX_FRAME_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rbx, %rax
	xorl	%edi, %edi
	cmpq	%r14, %rax
	setg	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_2
LBB0_3:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	xorl	%edi, %edi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	cmpl	$0, 12(%r14)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
LBB0_2:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_DROP                         ## TAILCALL
LBB0_5:
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_IL_STOP_REASON_PASSIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_il_wake_queues_by_reason
	leaq	L_.str.2(%rip), %rdi
	callq	_D_INFO
LBB0_7:
	movq	_SMALL_PACKET_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	movq	%rax, %rbx
	movq	_il3945_mod_params@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_10
## %bb.9:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_il_set_decrypted_flag
LBB0_10:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	(%r12), %rax
	movq	%rax, %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	jle	LBB0_11
## %bb.12:
	movq	(%r13), %rdx
	movl	(%rax), %ecx
	subl	%r15d, %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %r8
	callq	_skb_add_rx_frag
	decl	4(%r14)
	movq	$0, (%r13)
	jmp	LBB0_13
LBB0_14:
	leaq	L_.str.3(%rip), %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IL_ERR                         ## TAILCALL
LBB0_11:
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	callq	_skb_put_data
LBB0_13:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %rcx
	callq	_il_update_stats
	movq	%rbx, %rdi
	callq	_IEEE80211_SKB_RXCB
	movl	%eax, %edi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r14), %edi
	movq	%rbx, %rsi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_rx                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_IL39_RX_FRAME_SIZE,8,3         ## @IL39_RX_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Corruption detected!\n"

L_.str.1:                               ## @.str.1
	.asciz	"Dropping packet while interface is not open.\n"

	.comm	_IL_STOP_REASON_PASSIVE,4,2     ## @IL_STOP_REASON_PASSIVE
L_.str.2:                               ## @.str.2
	.asciz	"Woke queues - frame received on passive channel\n"

	.comm	_SMALL_PACKET_SIZE,8,3          ## @SMALL_PACKET_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"dev_alloc_skb failed\n"

	.comm	_il3945_mod_params,4,2          ## @il3945_mod_params
	.no_dead_strip	_il3945_pass_packet_to_mac80211
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_pass_packet_to_mac80211
_il3945_pass_packet_to_mac80211:        ; @il3945_pass_packet_to_mac80211
	.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, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rxb_addr
	mov	x24, x0
	bl	_IL_RX_DATA
	mov	x23, x0
	mov	x0, x24
	bl	_IL_RX_HDR
	mov	x25, x0
	mov	x0, x24
	bl	_IL_RX_END
	mov	x28, x0
	ldr	w0, [x25, #8]
	bl	_le16_to_cpu
	mov	x22, x0
	ldr	w23, [x23]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	lsl	x26, x8, x9
Lloh3:
	adrp	x8, _IL39_RX_FRAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IL39_RX_FRAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x8, x8, x0
	cmp	x8, x26
	cset	w0, gt
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w8, [x19, #12]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_4:
	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	_D_DROP
LBB0_5:
Lloh10:
	adrp	x27, _IL_STOP_REASON_PASSIVE@GOTPAGE
Lloh11:
	ldr	x27, [x27, _IL_STOP_REASON_PASSIVE@GOTPAGEOFF]
	ldr	w0, [x27]
	add	x1, x19, #8
	bl	_test_bit
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:
	ldr	w1, [x27]
	mov	x0, x19
	bl	_il_wake_queues_by_reason
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_D_INFO
LBB0_7:
Lloh14:
	adrp	x8, _SMALL_PACKET_SIZE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SMALL_PACKET_SIZE@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
	bl	_dev_alloc_skb
	cbz	x0, LBB0_12
; %bb.8:
	mov	x27, x0
Lloh17:
	adrp	x8, _il3945_mod_params@GOTPAGE
Lloh18:
	ldr	x8, [x8, _il3945_mod_params@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cbnz	w8, LBB0_10
; %bb.9:
	ldr	w0, [x28]
	bl	_le32_to_cpu
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	mov	x3, x20
	bl	_il_set_decrypted_flag
LBB0_10:
Lloh20:
	adrp	x8, _SMALL_PACKET_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SMALL_PACKET_SIZE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	cmp	x22, x8
	b.le	LBB0_13
; %bb.11:
	ldr	x2, [x21]
	ldr	w8, [x25]
	sub	w3, w8, w24
	mov	x0, x27
	mov	w1, #0
	mov	x4, x22
	mov	x5, x26
	bl	_skb_add_rx_frag
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	str	w8, [x19, #4]
	str	xzr, [x21]
	b	LBB0_14
LBB0_12:
Lloh23:
	adrp	x0, l_.str.3@PAGE
Lloh24:
	add	x0, x0, l_.str.3@PAGEOFF
	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	_IL_ERR
LBB0_13:
	ldr	x1, [x25]
	mov	x0, x27
	mov	x2, x22
	bl	_skb_put_data
LBB0_14:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x23
	mov	x3, x22
	bl	_il_update_stats
	mov	x0, x27
	bl	_IEEE80211_SKB_RXCB
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19]
	mov	x1, x27
	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	_ieee80211_rx
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_IL39_RX_FRAME_SIZE,8,3         ; @IL39_RX_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Corruption detected!\n"

l_.str.1:                               ; @.str.1
	.asciz	"Dropping packet while interface is not open.\n"

	.comm	_IL_STOP_REASON_PASSIVE,4,2     ; @IL_STOP_REASON_PASSIVE
l_.str.2:                               ; @.str.2
	.asciz	"Woke queues - frame received on passive channel\n"

	.comm	_SMALL_PACKET_SIZE,8,3          ; @SMALL_PACKET_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"dev_alloc_skb failed\n"

	.comm	_il3945_mod_params,4,2          ; @il3945_mod_params
	.no_dead_strip	_il3945_pass_packet_to_mac80211
.subsections_via_symbols
