	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbe_setup_mtqc
_ixgbe_setup_mtqc:                      ## @ixgbe_setup_mtqc
	.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	24(%rdi), %rax
	movq	_ixgbe_mac_82598EB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	leaq	24(%rdi), %r14
	movl	(%rdi), %r13d
	movq	_IXGBE_RTTDCS@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movl	%eax, %r15d
	movq	_IXGBE_RTTDCS_ARBDIS@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_IXGBE_WRITE_REG
	movq	_IXGBE_FLAG_SRIOV_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	je	LBB0_9
## %bb.2:
	movq	_IXGBE_MTQC_VT_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	$5, %r13d
	jl	LBB0_5
## %bb.3:
	movq	_IXGBE_MTQC_RT_ENA@GOTPCREL(%rip), %rax
	movq	_IXGBE_MTQC_8TC_8TQ@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_9:
	cmpl	$5, %r13d
	jl	LBB0_13
## %bb.10:
	movq	_IXGBE_MTQC_RT_ENA@GOTPCREL(%rip), %rax
	movq	_IXGBE_MTQC_8TC_8TQ@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_5:
	cmpl	$2, %r13d
	jl	LBB0_7
## %bb.6:
	movq	_IXGBE_MTQC_RT_ENA@GOTPCREL(%rip), %rax
	movq	_IXGBE_MTQC_4TC_4TQ@GOTPCREL(%rip), %rcx
LBB0_4:
	orl	(%rax), %edx
	orl	(%rcx), %edx
	jmp	LBB0_12
LBB0_13:
	cmpl	$2, %r13d
	jl	LBB0_15
## %bb.14:
	movq	_IXGBE_MTQC_RT_ENA@GOTPCREL(%rip), %rax
	movq	_IXGBE_MTQC_4TC_4TQ@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %edx
	orl	(%rax), %edx
LBB0_12:
	movq	_IXGBE_RTTDCS_ARBDIS@GOTPCREL(%rip), %r13
	movq	_IXGBE_MTQC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
LBB0_21:
	movq	_IXGBE_SECTXMINIFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_IXGBE_READ_REG
	movq	_IXGBE_SECTX_DCB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_IXGBE_WRITE_REG
LBB0_22:
	movl	(%r13), %eax
	notl	%eax
	andl	%eax, %r15d
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IXGBE_WRITE_REG                ## TAILCALL
LBB0_7:
	movq	16(%rbx), %rax
	movq	_RING_F_VMDQ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_IXGBE_82599_VMDQ_4Q_MASK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.8:
	movq	_IXGBE_MTQC_32VF@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_15:
	movl	12(%rbx), %eax
	addl	8(%rbx), %eax
	cmpl	$64, %eax
	jge	LBB0_16
## %bb.17:
	movq	_IXGBE_MTQC_64Q_1PB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	jmp	LBB0_20
LBB0_18:
	movq	_IXGBE_MTQC_64VF@GOTPCREL(%rip), %rax
	jmp	LBB0_19
LBB0_16:
	movq	_IXGBE_MTQC_RT_ENA@GOTPCREL(%rip), %rax
	movq	_IXGBE_MTQC_4TC_4TQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_19:
	orl	(%rax), %edx
LBB0_20:
	movq	_IXGBE_MTQC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IXGBE_WRITE_REG
	testl	%r13d, %r13d
	movq	_IXGBE_RTTDCS_ARBDIS@GOTPCREL(%rip), %r13
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_ixgbe_mac_82598EB,8,3          ## @ixgbe_mac_82598EB
	.comm	_IXGBE_RTTDCS,4,2               ## @IXGBE_RTTDCS
	.comm	_IXGBE_RTTDCS_ARBDIS,4,2        ## @IXGBE_RTTDCS_ARBDIS
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ## @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_MTQC_VT_ENA,4,2          ## @IXGBE_MTQC_VT_ENA
	.comm	_IXGBE_MTQC_RT_ENA,4,2          ## @IXGBE_MTQC_RT_ENA
	.comm	_IXGBE_MTQC_8TC_8TQ,4,2         ## @IXGBE_MTQC_8TC_8TQ
	.comm	_IXGBE_MTQC_4TC_4TQ,4,2         ## @IXGBE_MTQC_4TC_4TQ
	.comm	_RING_F_VMDQ,8,3                ## @RING_F_VMDQ
	.comm	_IXGBE_82599_VMDQ_4Q_MASK,8,3   ## @IXGBE_82599_VMDQ_4Q_MASK
	.comm	_IXGBE_MTQC_32VF,4,2            ## @IXGBE_MTQC_32VF
	.comm	_IXGBE_MTQC_64VF,4,2            ## @IXGBE_MTQC_64VF
	.comm	_IXGBE_MTQC_64Q_1PB,4,2         ## @IXGBE_MTQC_64Q_1PB
	.comm	_IXGBE_MTQC,4,2                 ## @IXGBE_MTQC
	.comm	_IXGBE_SECTXMINIFG,4,2          ## @IXGBE_SECTXMINIFG
	.comm	_IXGBE_SECTX_DCB,4,2            ## @IXGBE_SECTX_DCB
	.no_dead_strip	_ixgbe_setup_mtqc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbe_setup_mtqc
_ixgbe_setup_mtqc:                      ; @ixgbe_setup_mtqc
	.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	x19, x0
	ldr	x8, [x19, #24]!
Lloh0:
	adrp	x9, _ixgbe_mac_82598EB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ixgbe_mac_82598EB@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	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
LBB0_2:
	mov	x21, x0
	ldr	w24, [x0]
Lloh3:
	adrp	x22, _IXGBE_RTTDCS@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IXGBE_RTTDCS@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh5:
	adrp	x23, _IXGBE_RTTDCS_ARBDIS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IXGBE_RTTDCS_ARBDIS@GOTPAGEOFF]
	ldr	w8, [x23]
	orr	w20, w8, w0
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_IXGBE_WRITE_REG
	ldr	w8, [x21, #4]
Lloh7:
	adrp	x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _IXGBE_FLAG_SRIOV_ENABLED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
Lloh10:
	adrp	x8, _IXGBE_MTQC_VT_ENA@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IXGBE_MTQC_VT_ENA@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w24, #5
	b.lt	LBB0_7
; %bb.4:
Lloh13:
	adrp	x9, _IXGBE_MTQC_RT_ENA@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IXGBE_MTQC_RT_ENA@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	adrp	x10, _IXGBE_MTQC_8TC_8TQ@GOTPAGE
Lloh17:
	ldr	x10, [x10, _IXGBE_MTQC_8TC_8TQ@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
	cmp	w24, #5
	b.lt	LBB0_10
; %bb.6:
Lloh18:
	adrp	x8, _IXGBE_MT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
	mov	x0, x19
	bl	_IXGBE_READ_REG
Lloh38:
	adrp	x8, _IXGBE_SECTX_DCB@GOTPAGE
Lloh39:
	ldr	x8, [x8, _IXGBE_SECTX_DCB@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x21]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
LBB0_15:
	ldr	w8, [x23]
	bic	w2, w20, w8
	ldr	w1, [x22]
	mov	x0, x19
	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
	b	_IXGBE_WRITE_REG
LBB0_16:
	ldr	x9, [x21, #16]
Lloh41:
	adrp	x10, _RING_F_VMDQ@GOTPAGE
Lloh42:
	ldr	x10, [x10, _RING_F_VMDQ@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
Lloh44:
	adrp	x10, _IXGBE_82599_VMDQ_4Q_MASK@GOTPAGE
Lloh45:
	ldr	x10, [x10, _IXGBE_82599_VMDQ_4Q_MASK@GOTPAGEOFF]
Lloh46:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_19
; %bb.17:
Lloh47:
	adrp	x9, _IXGBE_MTQC_32VF@GOTPAGE
Lloh48:
	ldr	x9, [x9, _IXGBE_MTQC_32VF@GOTPAGEOFF]
	b	LBB0_20
LBB0_18:
	ldp	w8, w9, [x21, #8]
	add	w8, w9, w8
Lloh49:
	adrp	x9, _IXGBE_MTQC_RT_ENA@GOTPAGE
Lloh50:
	ldr	x9, [x9, _IXGBE_MTQC_RT_ENA@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
Lloh52:
	adrp	x10, _IXGBE_MTQC_4TC_4TQ@GOTPAGE
Lloh53:
	ldr	x10, [x10, _IXGBE_MTQC_4TC_4TQ@GOTPAGEOFF]
Lloh54:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh55:
	adrp	x10, _IXGBE_MTQC_64Q_1PB@GOTPAGE
Lloh56:
	ldr	x10, [x10, _IXGBE_MTQC_64Q_1PB@GOTPAGEOFF]
Lloh57:
	ldr	w10, [x10]
	cmp	w8, #63
	csel	w2, w9, w10, gt
	b	LBB0_21
LBB0_19:
Lloh58:
	adrp	x9, _IXGBE_MTQC_64VF@GOTPAGE
Lloh59:
	ldr	x9, [x9, _IXGBE_MTQC_64VF@GOTPAGEOFF]
LBB0_20:
	ldr	w9, [x9]
	orr	w2, w9, w8
LBB0_21:
Lloh60:
	adrp	x8, _IXGBE_MTQC@GOTPAGE
Lloh61:
	ldr	x8, [x8, _IXGBE_MTQC@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IXGBE_WRITE_REG
	cbnz	w24, LBB0_14
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_ixgbe_mac_82598EB,8,3          ; @ixgbe_mac_82598EB
	.comm	_IXGBE_RTTDCS,4,2               ; @IXGBE_RTTDCS
	.comm	_IXGBE_RTTDCS_ARBDIS,4,2        ; @IXGBE_RTTDCS_ARBDIS
	.comm	_IXGBE_FLAG_SRIOV_ENABLED,4,2   ; @IXGBE_FLAG_SRIOV_ENABLED
	.comm	_IXGBE_MTQC_VT_ENA,4,2          ; @IXGBE_MTQC_VT_ENA
	.comm	_IXGBE_MTQC_RT_ENA,4,2          ; @IXGBE_MTQC_RT_ENA
	.comm	_IXGBE_MTQC_8TC_8TQ,4,2         ; @IXGBE_MTQC_8TC_8TQ
	.comm	_IXGBE_MTQC_4TC_4TQ,4,2         ; @IXGBE_MTQC_4TC_4TQ
	.comm	_RING_F_VMDQ,8,3                ; @RING_F_VMDQ
	.comm	_IXGBE_82599_VMDQ_4Q_MASK,8,3   ; @IXGBE_82599_VMDQ_4Q_MASK
	.comm	_IXGBE_MTQC_32VF,4,2            ; @IXGBE_MTQC_32VF
	.comm	_IXGBE_MTQC_64VF,4,2            ; @IXGBE_MTQC_64VF
	.comm	_IXGBE_MTQC_64Q_1PB,4,2         ; @IXGBE_MTQC_64Q_1PB
	.comm	_IXGBE_MTQC,4,2                 ; @IXGBE_MTQC
	.comm	_IXGBE_SECTXMINIFG,4,2          ; @IXGBE_SECTXMINIFG
	.comm	_IXGBE_SECTX_DCB,4,2            ; @IXGBE_SECTX_DCB
	.no_dead_strip	_ixgbe_setup_mtqc
.subsections_via_symbols
