	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_setup_msix
_bnxt_setup_msix:                       ## @bnxt_setup_msix
	.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, %r15
	movq	24(%rdi), %r14
	movq	%r14, %rdi
	callq	_netdev_get_num_tc
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.1:
	movl	%eax, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movl	%edx, %ecx
	imull	%ebx, %ecx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_netdev_set_tc_queue
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_2
LBB0_3:
	cmpl	$0, 4(%r15)
	jle	LBB0_8
## %bb.4:
	xorl	%ebx, %ebx
	movq	_bnxt_msix@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rcx
	movslq	%eax, %r12
	movl	4(%rcx,%r12,8), %edi
	movq	(%r14), %rcx
	movl	$4, %esi
	leaq	L_.str.3(%rip), %rdx
	movl	%ebx, %r9d
	callq	_snprintf
	movl	(%r13), %eax
	movq	16(%r15), %rcx
	movl	%eax, (%rcx,%r12,8)
	incl	%ebx
	cmpl	4(%r15), %ebx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_bnxt_cp_num_to_irq_num
	movq	_BNXT_FLAG_SHARED_RINGS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str(%rip), %r8
	testl	%ecx, 8(%r15)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	12(%r15), %ebx
	leaq	L_.str.2(%rip), %r8
	leaq	L_.str.1(%rip), %rcx
	cmovlq	%rcx, %r8
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_FLAG_SHARED_RINGS,4,2     ## @BNXT_FLAG_SHARED_RINGS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TxRx"

L_.str.1:                               ## @.str.1
	.asciz	"rx"

L_.str.2:                               ## @.str.2
	.asciz	"tx"

L_.str.3:                               ## @.str.3
	.asciz	"%s-%s-%d"

	.comm	_bnxt_msix,4,2                  ## @bnxt_msix
	.no_dead_strip	_bnxt_setup_msix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_setup_msix
_bnxt_setup_msix:                       ; @bnxt_setup_msix
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
	mov	x0, x20
	bl	_netdev_get_num_tc
	cmp	w0, #1
	b.le	LBB0_3
; %bb.1:
	mov	x21, x0
	mov	w22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x19]
	mul	w3, w2, w22
	mov	x0, x20
	mov	x1, x22
	bl	_netdev_set_tc_queue
	add	w22, w22, #1
	cmp	w21, w22
	b.ne	LBB0_2
LBB0_3:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	w21, #0
Lloh0:
	adrp	x23, _BNXT_FLAG_SHARED_RINGS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BNXT_FLAG_SHARED_RINGS@GOTPAGEOFF]
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
Lloh4:
	adrp	x25, l_.str.2@PAGE
Lloh5:
	add	x25, x25, l_.str.2@PAGEOFF
Lloh6:
	adrp	x26, l_.str.1@PAGE
Lloh7:
	add	x26, x26, l_.str.1@PAGEOFF
Lloh8:
	adrp	x27, _bnxt_msix@GOTPAGE
Lloh9:
	ldr	x27, [x27, _bnxt_msix@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.3@PAGE
Lloh11:
	add	x22, x22, l_.str.3@PAGEOFF
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	sbfiz	x28, x0, #3, #32
	add	x8, x8, x28
	ldr	w0, [x8, #4]
	ldr	x3, [x20]
	mov	w1, #4
	mov	x2, x22
	mov	x5, x21
	bl	_snprintf
	ldr	w8, [x27]
	ldr	x9, [x19, #16]
	str	w8, [x9, x28]
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_bnxt_cp_num_to_irq_num
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w8, [x19, #8]
	ldr	w9, [x23]
	mov	x4, x24
	tst	w9, w8
	b.ne	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x19, #12]
	cmp	w21, w8
	csel	x4, x26, x25, lt
	b	LBB0_5
LBB0_8:
	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
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_FLAG_SHARED_RINGS,4,2     ; @BNXT_FLAG_SHARED_RINGS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TxRx"

l_.str.1:                               ; @.str.1
	.asciz	"rx"

l_.str.2:                               ; @.str.2
	.asciz	"tx"

l_.str.3:                               ; @.str.3
	.asciz	"%s-%s-%d"

	.comm	_bnxt_msix,4,2                  ; @bnxt_msix
	.no_dead_strip	_bnxt_setup_msix
.subsections_via_symbols
