	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function carl9170_rx_copy_data
_carl9170_rx_copy_data:                 ## @carl9170_rx_copy_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movl	(%rdi), %edi
	callq	_ieee80211_is_data_qos
	xorl	%ebx, %ebx
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_ieee80211_get_qos_ctl
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movq	_IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	setne	%cl
	shll	%cl, %r12d
LBB0_2:
	movl	(%r15), %edi
	callq	_ieee80211_has_a4
	testq	%rax, %rax
	movq	_NET_IP_ALIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovnel	%eax, %ebx
	addl	%r12d, %ebx
	andl	%eax, %ebx
	leal	(%rbx,%r14), %edi
	addl	$32, %edi
	callq	_dev_alloc_skb
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	addl	$32, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skb_reserve
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_skb_put_data
LBB0_4:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NET_IP_ALIGN,4,2               ## @NET_IP_ALIGN
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ## @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.no_dead_strip	_carl9170_rx_copy_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function carl9170_rx_copy_data
_carl9170_rx_copy_data:                 ; @carl9170_rx_copy_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_ieee80211_is_data_qos
Lloh0:
	adrp	x21, _NET_IP_ALIGN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NET_IP_ALIGN@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ieee80211_get_qos_ctl
	ldr	w8, [x21]
	ldr	w9, [x0]
Lloh2:
	adrp	x10, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _IEEE80211_QOS_CTL_A_MSDU_PRESENT@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	tst	w10, w9
	cset	w9, ne
	lsl	w22, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w22, #0
LBB0_3:
	ldr	w0, [x20]
	bl	_ieee80211_has_a4
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w9, wzr, w8, eq
	add	w9, w9, w22
	and	w8, w9, w8
	add	w22, w8, #32
	add	w0, w22, w19
	bl	_dev_alloc_skb
	mov	x21, x0
	bl	_likely
	cbz	x0, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x22
	bl	_skb_reserve
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_skb_put_data
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NET_IP_ALIGN,4,2               ; @NET_IP_ALIGN
	.comm	_IEEE80211_QOS_CTL_A_MSDU_PRESENT,4,2 ; @IEEE80211_QOS_CTL_A_MSDU_PRESENT
	.no_dead_strip	_carl9170_rx_copy_data
.subsections_via_symbols
