	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function tc_init
LCPI0_0:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	2                               ## 0x2
	.long	3                               ## 0x3
LCPI0_1:
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
	.long	4                               ## 0x4
LCPI0_2:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	8                               ## 0x8
LCPI0_3:
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
	.long	12                              ## 0xc
LCPI0_4:
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
	.long	16                              ## 0x10
LCPI0_5:
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
	.long	20                              ## 0x14
LCPI0_6:
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
	.long	24                              ## 0x18
LCPI0_7:
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
	.long	28                              ## 0x1c
LCPI0_8:
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.long	32                              ## 0x20
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_tc_init:                               ## @tc_init
	.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	%rdi, %rbx
	movl	32(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_15
## %bb.1:
	movl	%esi, (%rbx)
	movl	12(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.2:
	movl	(%rbx), %edx
	testq	%rdx, %rdx
	je	LBB0_14
## %bb.3:
	cmpl	$8, %edx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_5:
	movl	%edx, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rsi
	jae	LBB0_7
## %bb.6:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	jmp	LBB0_9
LBB0_7:
	andq	$-4, %rdi
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,1,2,3]
	xorl	%esi, %esi
	movdqa	LCPI0_1(%rip), %xmm8            ## xmm8 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm9            ## xmm9 = [8,8,8,8]
	movdqa	LCPI0_3(%rip), %xmm10           ## xmm10 = [12,12,12,12]
	movdqa	LCPI0_4(%rip), %xmm4            ## xmm4 = [16,16,16,16]
	movdqa	LCPI0_5(%rip), %xmm5            ## xmm5 = [20,20,20,20]
	movdqa	LCPI0_6(%rip), %xmm6            ## xmm6 = [24,24,24,24]
	movdqa	LCPI0_7(%rip), %xmm7            ## xmm7 = [28,28,28,28]
	movdqa	LCPI0_8(%rip), %xmm1            ## xmm1 = [32,32,32,32]
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm2
	paddd	%xmm8, %xmm2
	movdqu	%xmm0, (%rax,%rsi,4)
	movdqu	%xmm2, 16(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm9, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm10, %xmm3
	movdqu	%xmm2, 32(%rax,%rsi,4)
	movdqu	%xmm3, 48(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm4, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm5, %xmm3
	movdqu	%xmm2, 64(%rax,%rsi,4)
	movdqu	%xmm3, 80(%rax,%rsi,4)
	movdqa	%xmm0, %xmm2
	paddd	%xmm6, %xmm2
	movdqa	%xmm0, %xmm3
	paddd	%xmm7, %xmm3
	movdqu	%xmm2, 96(%rax,%rsi,4)
	movdqu	%xmm3, 112(%rax,%rsi,4)
	addq	$32, %rsi
	paddd	%xmm1, %xmm0
	addq	$-4, %rdi
	jne	LBB0_8
LBB0_9:
	testq	%r8, %r8
	je	LBB0_12
## %bb.10:
	leaq	(%rax,%rsi,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%edi, %edi
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [4,4,4,4]
	movdqa	LCPI0_2(%rip), %xmm2            ## xmm2 = [8,8,8,8]
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm3
	paddd	%xmm1, %xmm3
	movdqu	%xmm0, -16(%rsi,%rdi)
	movdqu	%xmm3, (%rsi,%rdi)
	paddd	%xmm2, %xmm0
	addq	$32, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_11
LBB0_12:
	cmpq	%rdx, %rcx
	je	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rax,%rcx,4)
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_13
LBB0_14:
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_info
LBB0_15:
	cmpl	$0, 44(%rbx)
	je	LBB0_16
## %bb.19:
	movslq	36(%rbx), %rcx
	cmpq	$3, %rcx
	jae	LBB0_20
## %bb.21:
	leaq	l_switch.table.tc_init.2(%rip), %rax
	movl	(%rax,%rcx,4), %ecx
	movl	%ecx, 4(%rbx)
	movslq	40(%rbx), %rcx
	cmpq	$3, %rcx
	jae	LBB0_20
## %bb.22:
	movl	(%rax,%rcx,4), %r14d
	movl	%r14d, 8(%rbx)
	movl	12(%rbx), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_devm_kcalloc
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_17
## %bb.23:
	decl	%r14d
	leaq	(%rax,%r14,4), %rdi
	callq	_tc_fill_all_pass_entry
	movl	12(%rbx), %edi
	movl	4(%rbx), %ecx
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_info
	jmp	LBB0_24
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_17:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_18:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_24:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabled Flow TC (entries=%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Enabling HW TC (entries=%d, max_off=%d)\n"

	.no_dead_strip	_tc_init
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.tc_init.2
l_switch.table.tc_init.2:
	.long	64                              ## 0x40
	.long	128                             ## 0x80
	.long	256                             ## 0x100

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function tc_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	2                               ; 0x2
	.long	3                               ; 0x3
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_tc_init:                               ; @tc_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	w1, [x0, #32]
	cbz	w1, LBB0_10
; %bb.1:
	str	w1, [x19]
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #24]
	cbz	x0, LBB0_17
; %bb.2:
	ldr	w2, [x19]
	cbz	w2, LBB0_9
; %bb.3:
	cmp	w2, #16
	b.hs	LBB0_5
; %bb.4:
	mov	x8, #0
	b	LBB0_8
LBB0_5:
	and	x8, x2, #0xfffffff0
Lloh3:
	adrp	x9, lCPI0_0@PAGE
Lloh4:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	add	x9, x0, #32
	movi.4s	v1, #4
	movi.4s	v2, #8
	movi.4s	v3, #12
	movi.4s	v4, #16
	mov	x10, x8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add.4s	v5, v0, v1
	add.4s	v6, v0, v2
	add.4s	v7, v0, v3
	stp	q0, q5, [x9, #-32]
	stp	q6, q7, [x9], #64
	add.4s	v0, v0, v4
	subs	x10, x10, #16
	b.ne	LBB0_6
; %bb.7:
	cmp	x8, x2
	b.eq	LBB0_9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x0, x8, lsl #2]
	add	x8, x8, #1
	cmp	x2, x8
	b.ne	LBB0_8
LBB0_9:
	ldr	w0, [x19, #12]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_info
LBB0_10:
	ldr	w8, [x19, #44]
	cbz	w8, LBB0_15
; %bb.11:
	ldrsw	x9, [x19, #36]
	cmp	w9, #3
	b.hs	LBB0_16
; %bb.12:
Lloh7:
	adrp	x8, l_switch.table.tc_init.2@PAGE
Lloh8:
	add	x8, x8, l_switch.table.tc_init.2@PAGEOFF
	ldr	w9, [x8, x9, lsl #2]
	str	w9, [x19, #4]
	ldrsw	x9, [x19, #40]
	cmp	w9, #3
	b.hs	LBB0_16
; %bb.13:
	ldr	w20, [x8, x9, lsl #2]
	str	w20, [x19, #8]
	ldr	w0, [x19, #12]
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x1, x20
	mov	w2, #4
	bl	_devm_kcalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_17
; %bb.14:
	sub	w8, w20, #1
	add	x0, x0, w8, uxtw #2
	bl	_tc_fill_all_pass_entry
	ldp	w2, w0, [x19, #8]
	ldr	w8, [x19, #4]
	str	x8, [sp]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_info
LBB0_15:
	mov	w0, #0
	b	LBB0_19
LBB0_16:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_18
LBB0_17:
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabled Flow TC (entries=%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Enabling HW TC (entries=%d, max_off=%d)\n"

	.no_dead_strip	_tc_init
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.tc_init.2
l_switch.table.tc_init.2:
	.long	64                              ; 0x40
	.long	128                             ; 0x80
	.long	256                             ; 0x100

.subsections_via_symbols
