	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_alloc_frame                ## -- Begin function llc_alloc_frame
	.p2align	4, 0x90
_llc_alloc_frame:                       ## @llc_alloc_frame
	.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	%rcx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_LLC_PDU_TYPE_U@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	%rdx, (%rax)
	sete	%bl
	movl	(%rsi), %edi
	callq	_llc_mac_header_len
	negq	%rbx
	leaq	(%rax,%rbx), %r12
	addq	$4, %r12
	movslq	%r12d, %rdi
	addq	%r13, %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_skb_reserve
	movq	%rbx, %rdi
	callq	_skb_reset_network_header
	movq	%rbx, %rdi
	callq	_skb_reset_transport_header
	movq	_ETH_P_802_2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movl	%eax, 8(%rbx)
	movq	%r15, (%rbx)
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_skb_set_owner_w
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LLC_PDU_TYPE_U,8,3             ## @LLC_PDU_TYPE_U
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ETH_P_802_2,4,2                ## @ETH_P_802_2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_llc_alloc_frame                ; -- Begin function llc_alloc_frame
	.p2align	2
_llc_alloc_frame:                       ; @llc_alloc_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _LLC_PDU_TYPE_U@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LLC_PDU_TYPE_U@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldr	w0, [x1]
	bl	_llc_mac_header_len
	cmp	x23, x22
	mov	w8, #3
	cinc	x8, x8, ne
	add	x22, x8, x0
	add	x0, x21, w22, sxtw
Lloh3:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_alloc_skb
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_skb_reset_mac_header
	mov	x0, x21
	mov	x1, x22
	bl	_skb_reserve
	mov	x0, x21
	bl	_skb_reset_network_header
	mov	x0, x21
	bl	_skb_reset_transport_header
Lloh6:
	adrp	x8, _ETH_P_802_2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_802_2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_htons
	str	w0, [x21, #8]
	str	x20, [x21]
	cbz	x19, LBB0_3
; %bb.2:
	mov	x0, x21
	mov	x1, x19
	bl	_skb_set_owner_w
LBB0_3:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_LLC_PDU_TYPE_U,8,3             ; @LLC_PDU_TYPE_U
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ETH_P_802_2,4,2                ; @ETH_P_802_2
.subsections_via_symbols
