	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ar8216_mangle_tx
_ar8216_mangle_tx:                      ## @ar8216_mangle_tx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_5:
	movq	%r14, %rdi
	callq	_dev_kfree_skb_any
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_1:
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.2:
	movq	%r14, %rdi
	callq	_skb_headroom
	xorl	%edi, %edi
	cmpl	$2, %eax
	setl	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	$2, %esi
	xorl	%edx, %edx
	callq	_pskb_expand_head
	testq	%rax, %rax
	js	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_skb_push
	movw	$-32752, (%rax)                 ## imm = 0x8010
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.no_dead_strip	_ar8216_mangle_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ar8216_mangle_tx
_ar8216_mangle_tx:                      ; @ar8216_mangle_tx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x20, [x0]
	cmp	x20, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_dev_kfree_skb_any
	mov	x19, #0
	b	LBB0_6
LBB0_2:
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_skb_headroom
	cmp	w0, #2
	cset	w0, lt
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w1, #2
	mov	w2, #0
	bl	_pskb_expand_head
	tbnz	x0, #63, LBB0_1
LBB0_5:
	mov	x0, x19
	mov	w1, #2
	bl	_skb_push
	mov	w8, #32784
	strh	w8, [x0]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.no_dead_strip	_ar8216_mangle_tx
.subsections_via_symbols
