	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il4965_pass_packet_to_mac80211
_il4965_pass_packet_to_mac80211:        ## @il4965_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -80(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r13
	movl	(%rsi), %r12d
	xorl	%edi, %edi
	cmpl	$0, 28(%r13)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.11:
	leaq	L_.str(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_D_DROP                         ## TAILCALL
LBB0_1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	_IL_STOP_REASON_PASSIVE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	24(%r13), %rsi
	callq	_test_bit
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	movq	%r13, %r15
	je	LBB0_3
## %bb.2:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_il_wake_queues_by_reason
	leaq	L_.str.1(%rip), %rdi
	callq	_D_INFO
LBB0_3:
	movq	16(%r15), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax)
	je	LBB0_4
LBB0_5:
	movq	_SMALL_PACKET_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rax, %r12
	cmpl	%ebx, (%r13)
	movl	%ebx, %r13d
	jge	LBB0_7
## %bb.8:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	callq	_rxb_addr
	cltq
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subq	%rax, %rbx
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movb	8(%r15), %cl
	shll	%cl, %r9d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	%r13d, %r8d
	callq	_skb_add_rx_frag
	decl	4(%r15)
	movq	$0, (%r14)
	jmp	LBB0_9
LBB0_4:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_il_set_decrypted_flag
	testq	%rax, %rax
	je	LBB0_5
## %bb.10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	leaq	L_.str.2(%rip), %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IL_ERR                         ## TAILCALL
LBB0_7:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_skb_put_data
LBB0_9:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_il_update_stats
	movq	%r12, %rdi
	callq	_IEEE80211_SKB_RXCB
	movl	%eax, %edi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	(%r15), %edi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ieee80211_rx                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dropping packet while interface is not open.\n"

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

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

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_il4965_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 il4965_pass_packet_to_mac80211
_il4965_pass_packet_to_mac80211:        ; @il4965_pass_packet_to_mac80211
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x5
	mov	x23, x4
	mov	x25, x3
	mov	x21, x2
	mov	x24, x1
	mov	x20, x0
	ldr	w22, [x1]
	ldr	w8, [x0, #28]
	cmp	w8, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_D_DROP
LBB0_2:
Lloh2:
	adrp	x26, _IL_STOP_REASON_PASSIVE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _IL_STOP_REASON_PASSIVE@GOTPAGEOFF]
	ldr	w0, [x26]
	add	x1, x20, #24
	bl	_test_bit
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x26]
	mov	x0, x20
	bl	_il_wake_queues_by_reason
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_D_INFO
LBB0_4:
	ldr	x8, [x20, #16]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cbz	w8, LBB0_8
LBB0_5:
Lloh6:
	adrp	x26, _SMALL_PACKET_SIZE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _SMALL_PACKET_SIZE@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_dev_alloc_skb
	cbz	x0, LBB0_10
; %bb.6:
	mov	x25, x0
	ldr	w8, [x26]
	cmp	w8, w21
	b.ge	LBB0_11
; %bb.7:
	ldr	x26, [x23]
	mov	x0, x23
	bl	_rxb_addr
	sub	x3, x24, w0, sxtw
Lloh8:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x20, #8]
	lsl	w5, w8, w9
	mov	x0, x25
	mov	w1, #0
	mov	x2, x26
	mov	x4, x21
	bl	_skb_add_rx_frag
	ldr	w8, [x20, #4]
	sub	w8, w8, #1
	str	w8, [x20, #4]
	str	xzr, [x23]
	b	LBB0_12
LBB0_8:
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	mov	x3, x19
	bl	_il_set_decrypted_flag
	cbz	x0, LBB0_5
; %bb.9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_IL_ERR
LBB0_11:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x21
	bl	_skb_put_data
LBB0_12:
	mov	x0, x20
	mov	w1, #0
	mov	x2, x22
	mov	x3, x21
	bl	_il_update_stats
	mov	x0, x25
	bl	_IEEE80211_SKB_RXCB
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x20]
	mov	x1, x25
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ieee80211_rx
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dropping packet while interface is not open.\n"

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

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

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_il4965_pass_packet_to_mac80211
.subsections_via_symbols
