	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc_fill_entry
_tc_fill_entry:                         ## @tc_fill_entry
	.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	8(%rsi), %rax
	cmpl	$1, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	8(%rax), %rdx
	movb	4(%rax), %cl
	movl	(%rdx), %r13d
	shll	%cl, %r13d
	movl	(%rsi), %r14d
	movl	4(%rdx), %r15d
	movl	8(%rdx), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	4(%rsi), %edi
	callq	_ntohs
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_1
## %bb.4:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	addl	(%rax), %r13d
LBB0_5:
	cmpl	(%rbx), %r13d
	jg	LBB0_1
## %bb.6:
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	leal	3(%r13), %r15d
	testl	%r13d, %r13d
	cmovnsl	%r13d, %r15d
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_tc_find_entry
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	shll	$16, %r14d
	movl	%r15d, %edx
	sarl	$2, %edx
	andl	$-4, %r15d
	subl	%r15d, %r13d
	je	LBB0_10
## %bb.8:
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rax, %r15
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_tc_find_entry
	testq	%rax, %rax
	je	LBB0_9
## %bb.11:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 24(%r15)
	leal	(,%r13,8), %r14d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%r14d, %ecx
	shll	%cl, %ebx
	movl	$31, %edi
	movl	%r14d, %esi
	movq	%rax, %r15
	callq	_GENMASK
	andl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 12(%rcx)
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%r14d, %ecx
	shll	%cl, %ebx
	movl	$31, %edi
	movl	%r14d, %esi
	movl	%r14d, -68(%rbp)                ## 4-byte Spill
	callq	_GENMASK
	andl	%ebx, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 16(%rcx)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 20(%rcx)
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rcx)
	movl	%r14d, %ecx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	sarl	%cl, %r14d
	leal	-1(,%r13,8), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_GENMASK
	andl	%r14d, %eax
	movl	%eax, 12(%r15)
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $cl killed $cl killed $ecx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-48(%rbp), %r13d                ## 4-byte Reload
	sarl	%cl, %r13d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	callq	_GENMASK
	andl	%r13d, %eax
	movl	%eax, 16(%r15)
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	incl	%eax
	movl	%eax, 20(%r15)
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r15)
	movl	$1, 4(%r15)
	movq	%r14, %rdi
	movq	%r15, %r13
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_tc_fill_actions
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	$0, 8(%r13)
	jmp	LBB0_13
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	$0, 24(%rax)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 12(%rax)
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 16(%rax)
	movl	%edx, 20(%rax)
	movl	%r14d, (%rax)
	xorl	%ebx, %ebx
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	movq	%rax, %r14
	callq	_tc_fill_actions
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_14
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movq	%r15, %r14
LBB0_13:
	movl	$0, 8(%r14)
	movl	%eax, %ebx
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_tc_fill_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc_fill_entry
_tc_fill_entry:                         ; @tc_fill_entry
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x8, [x1, #8]
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_10
; %bb.1:
	mov	x19, x1
	mov	x21, x0
	ldr	x9, [x8, #8]
	ldr	w8, [x8, #4]
	ldp	w10, w24, [x9]
	lsl	w22, w10, w8
	ldr	w23, [x9, #8]
	ldp	w25, w0, [x1]
	bl	_ntohs
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_10
; %bb.3:
Lloh0:
	adrp	x8, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HLEN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w22, w8, w22
LBB0_4:
	ldr	w8, [x21]
	cmp	w22, w8
	b.gt	LBB0_10
; %bb.5:
	add	w8, w22, #3
	cmp	w22, #0
	csel	w27, w8, w22, lt
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_tc_find_entry
	cbz	x0, LBB0_10
; %bb.6:
	mov	x20, x0
	lsl	w25, w25, #16
	asr	w26, w27, #2
	and	w8, w27, #0xfffffffc
	sub	w22, w22, w8
	cbz	w22, LBB0_12
; %bb.7:
	mov	w27, #1
	mov	x0, x21
	mov	x1, x19
	mov	w2, #1
	bl	_tc_find_entry
	cbz	x0, LBB0_13
; %bb.8:
	mov	x21, x0
	str	x0, [x20, #24]
	lsl	w22, w22, #3
	lsl	w28, w23, w22
	mov	w0, #31
	mov	x1, x22
	bl	_GENMASK
	and	w8, w0, w28
	str	w8, [x20, #12]
	lsl	w28, w24, w22
	mov	w0, #31
	mov	x1, x22
	bl	_GENMASK
	and	w8, w0, w28
	stp	w8, w26, [x20, #16]
	str	w25, [x20]
	asr	w28, w23, w22
	sub	w23, w22, #1
	mov	x0, x23
	mov	w1, #0
	bl	_GENMASK
	and	w8, w0, w28
	str	w8, [x21, #12]
	asr	w22, w24, w22
	mov	x0, x23
	mov	w1, #0
	bl	_GENMASK
	and	w8, w0, w22
	add	w9, w26, #1
	stp	w8, w9, [x21, #16]
	stp	w25, w27, [x21]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_tc_fill_actions
	cbz	w0, LBB0_11
; %bb.9:
	str	wzr, [x21, #8]
	b	LBB0_14
LBB0_10:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	str	xzr, [x20, #24]
	stp	w23, w24, [x20, #12]
	str	w26, [x20, #20]
	str	w25, [x20]
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_tc_fill_actions
	cbnz	w0, LBB0_14
	b	LBB0_11
LBB0_13:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_14:
	str	wzr, [x20, #8]
	b	LBB0_11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_tc_fill_entry
.subsections_via_symbols
