	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function llc_fixup_skb
_llc_fixup_skb:                         ## @llc_fixup_skb
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	$4, %r15d
	movl	$4, %esi
	callq	_pskb_may_pull
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	movq	16(%rbx), %r13
	movq	_LLC_PDU_TYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%r13), %eax
	movq	_LLC_PDU_TYPE_U@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	sete	%dl
	subl	%edx, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_pskb_may_pull
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
## %bb.2:
	addl	%r15d, (%rbx)
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_skb_pull
	movq	8(%rbx), %r12
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpq	%rax, %r12
	jne	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_eth_hdr
	movl	(%rax), %edi
	callq	_ntohs
	subl	%r15d, %eax
	js	LBB0_7
## %bb.4:
	movslq	%eax, %r12
	movq	%rbx, %rdi
	callq	_skb_tail_pointer
	subq	%r13, %rax
	sarq	$2, %rax
	movl	%r15d, %ecx
	subq	%rcx, %rax
	cmpq	%r12, %rax
	jl	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_pskb_trim_rcsum
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_7
LBB0_6:
	movl	$1, %r14d
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLC_PDU_TYPE_MASK,4,2          ## @LLC_PDU_TYPE_MASK
	.comm	_LLC_PDU_TYPE_U,4,2             ## @LLC_PDU_TYPE_U
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
	.no_dead_strip	_llc_fixup_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function llc_fixup_skb
_llc_fixup_skb:                         ; @llc_fixup_skb
	.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, x0
	mov	w1, #4
	bl	_pskb_may_pull
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	x22, [x19, #16]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _LLC_PDU_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LLC_PDU_TYPE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _LLC_PDU_TYPE_U@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LLC_PDU_TYPE_U@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #3
	cinc	w20, w8, ne
	mov	x0, x19
	mov	x1, x20
	bl	_pskb_may_pull
	cmp	w0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #0
LBB0_3:
	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
LBB0_4:
	ldr	w8, [x19]
	add	w8, w8, w20
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x20
	bl	_skb_pull
	ldr	x21, [x19, #8]
Lloh6:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	cmp	x21, x0
	b.ne	LBB0_8
; %bb.5:
	mov	x0, x19
	bl	_eth_hdr
	ldr	w0, [x0]
	bl	_ntohs
	subs	w8, w0, w20
	b.mi	LBB0_2
; %bb.6:
	sxtw	x21, w8
	mov	x0, x19
	bl	_skb_tail_pointer
	sub	x8, x0, x22
	asr	x8, x8, #2
	sub	x8, x8, w20, uxtw
	cmp	x8, x21
	b.lt	LBB0_2
; %bb.7:
	mov	x0, x19
	mov	x1, x21
	bl	_pskb_trim_rcsum
	bl	_unlikely
	cbnz	x0, LBB0_2
LBB0_8:
	mov	w0, #1
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LLC_PDU_TYPE_MASK,4,2          ; @LLC_PDU_TYPE_MASK
	.comm	_LLC_PDU_TYPE_U,4,2             ; @LLC_PDU_TYPE_U
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
	.no_dead_strip	_llc_fixup_skb
.subsections_via_symbols
