	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_init_tc                   ## -- Begin function bnxt_init_tc
	.p2align	4, 0x90
_bnxt_init_tc:                          ## @bnxt_init_tc
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$67586, (%rdi)                  ## imm = 0x10802
	jg	LBB0_2
## %bb.1:
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_netdev_warn
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$96, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %r13
	leaq	88(%rax), %rdi
	callq	_mutex_init
	movl	$36, %edi
	callq	_mask
	movq	%rax, 80(%r13)
	movl	$28, %edi
	callq	_mask
	movq	%rax, 72(%r13)
	movq	_bnxt_tc_flow_ht_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	64(%r13), %rsi
	movq	%rax, 64(%r13)
	leaq	4(%r13), %r15
	movq	%r15, %rdi
	callq	_rhashtable_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_15
## %bb.6:
	movq	_bnxt_tc_l2_ht_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	56(%r13), %rsi
	movq	%rax, 56(%r13)
	leaq	8(%r13), %r12
	movq	%r12, %rdi
	callq	_rhashtable_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.7:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_bnxt_tc_decap_l2_ht_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	48(%r13), %rsi
	movq	%rax, 48(%r13)
	leaq	12(%r13), %r12
	movq	%r12, %rdi
	callq	_rhashtable_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_13
## %bb.8:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	_bnxt_tc_tunnel_ht_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	40(%r13), %rsi
	movq	%rax, 40(%r13)
	leaq	16(%r13), %r12
	movq	%r12, %rdi
	callq	_rhashtable_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_12
## %bb.9:
	movq	_bnxt_tc_tunnel_ht_params@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	24(%r13), %rsi
	movq	%rax, 24(%r13)
	movq	%r13, %rdi
	addq	$32, %rdi
	callq	_rhashtable_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_rhashtable_destroy
LBB0_12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rhashtable_destroy
LBB0_13:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_rhashtable_destroy
LBB0_14:
	movq	%r15, %rdi
	callq	_rhashtable_destroy
LBB0_15:
	movq	%r13, %rdi
	callq	_kfree
	jmp	LBB0_16
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	$1, (%r13)
	movq	_NETIF_F_HW_TC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r14), %rcx
	orl	%eax, 4(%rcx)
	orl	%eax, (%rcx)
	movq	%r13, 8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Firmware does not support TC flower offload.\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_bnxt_tc_flow_ht_params,8,3     ## @bnxt_tc_flow_ht_params
	.comm	_bnxt_tc_l2_ht_params,8,3       ## @bnxt_tc_l2_ht_params
	.comm	_bnxt_tc_decap_l2_ht_params,8,3 ## @bnxt_tc_decap_l2_ht_params
	.comm	_bnxt_tc_tunnel_ht_params,8,3   ## @bnxt_tc_tunnel_ht_params
	.comm	_NETIF_F_HW_TC,4,2              ## @NETIF_F_HW_TC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_init_tc                   ; -- Begin function bnxt_init_tc
	.p2align	2
_bnxt_init_tc:                          ; @bnxt_init_tc
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
	ldr	w8, [x0]
	mov	w9, #2050
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.gt	LBB0_2
; %bb.1:
	ldr	x0, [x20, #16]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_netdev_warn
Lloh2:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_14
LBB0_2:
Lloh4:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	w0, #96
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.3:
	mov	x19, x0
	add	x0, x0, #88
	bl	_mutex_init
	mov	w0, #36
	bl	_mask
	str	x0, [x19, #80]
	mov	w0, #28
	bl	_mask
Lloh7:
	adrp	x8, _bnxt_tc_flow_ht_params@GOTPAGE
Lloh8:
	ldr	x8, [x8, _bnxt_tc_flow_ht_params@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	mov	x1, x19
	stp	x8, x0, [x1, #64]!
	sub	x21, x1, #60
	mov	x0, x21
	bl	_rhashtable_init
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.4:
Lloh10:
	adrp	x8, _bnxt_tc_l2_ht_params@GOTPAGE
Lloh11:
	ldr	x8, [x8, _bnxt_tc_l2_ht_params@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	mov	x1, x19
	str	x8, [x1, #56]!
	sub	x23, x1, #48
	mov	x0, x23
	bl	_rhashtable_init
	mov	x22, x0
	cbnz	w0, LBB0_11
; %bb.5:
Lloh13:
	adrp	x8, _bnxt_tc_decap_l2_ht_params@GOTPAGE
Lloh14:
	ldr	x8, [x8, _bnxt_tc_decap_l2_ht_params@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	mov	x1, x19
	str	x8, [x1, #48]!
	sub	x24, x1, #36
	mov	x0, x24
	bl	_rhashtable_init
	mov	x22, x0
	cbnz	w0, LBB0_10
; %bb.6:
Lloh16:
	adrp	x26, _bnxt_tc_tunnel_ht_params@GOTPAGE
Lloh17:
	ldr	x26, [x26, _bnxt_tc_tunnel_ht_params@GOTPAGEOFF]
	ldr	x8, [x26]
	mov	x1, x19
	str	x8, [x1, #40]!
	sub	x25, x1, #24
	mov	x0, x25
	bl	_rhashtable_init
	mov	x22, x0
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	x8, [x26]
	mov	x1, x19
	str	x8, [x1, #24]!
	add	x0, x1, #8
	bl	_rhashtable_init
	mov	x22, x0
	cbz	w0, LBB0_16
; %bb.8:
	mov	x0, x25
	bl	_rhashtable_destroy
LBB0_9:
	mov	x0, x24
	bl	_rhashtable_destroy
LBB0_10:
	mov	x0, x23
	bl	_rhashtable_destroy
LBB0_11:
	mov	x0, x21
	bl	_rhashtable_destroy
LBB0_12:
	mov	x0, x19
	bl	_kfree
	b	LBB0_15
LBB0_13:
Lloh18:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	w8, #1
	str	w8, [x19]
Lloh20:
	adrp	x8, _NETIF_F_HW_TC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _NETIF_F_HW_TC@GOTPAGEOFF]
	ldr	x9, [x20, #16]
	ldr	d0, [x9]
	ld1r.2s	{ v1 }, [x8]
	orr.8b	v0, v0, v1
	str	d0, [x9]
	str	x19, [x20, #8]
	b	LBB0_15
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Firmware does not support TC flower offload.\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_bnxt_tc_flow_ht_params,8,3     ; @bnxt_tc_flow_ht_params
	.comm	_bnxt_tc_l2_ht_params,8,3       ; @bnxt_tc_l2_ht_params
	.comm	_bnxt_tc_decap_l2_ht_params,8,3 ; @bnxt_tc_decap_l2_ht_params
	.comm	_bnxt_tc_tunnel_ht_params,8,3   ; @bnxt_tc_tunnel_ht_params
	.comm	_NETIF_F_HW_TC,4,2              ; @NETIF_F_HW_TC
.subsections_via_symbols
