	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_setup_tx_mode
_igb_setup_tx_mode:                     ## @igb_setup_tx_mode
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	_e1000_i210@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	%rdi, %r15
	movq	16(%rdi), %r14
	callq	_is_fqtss_enabled
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_E1000_I210_TQAVCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_E1000_TQAVCTRL_XMIT_MODE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_TQAVCTRL_SP_WAIT_SR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_E1000_TQAVCTRL_DATAFETCHARB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_wr32
	movq	_E1000_TXPBS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_I210_TXPBSIZE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_I210_TXPBSIZE_PB0_8KB@GOTPCREL(%rip), %rax
	movq	_I210_TXPBSIZE_PB1_8KB@GOTPCREL(%rip), %rcx
	movq	_I210_TXPBSIZE_PB2_4KB@GOTPCREL(%rip), %rdx
	orl	(%rax), %esi
	orl	(%rcx), %esi
	orl	(%rdx), %esi
	movq	_I210_TXPBSIZE_PB3_4KB@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%rbx), %edi
	callq	_wr32
	movq	_E1000_RXPBS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_I210_RXPBSIZE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_I210_RXPBSIZE_PB_30KB@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%rbx), %edi
	callq	_wr32
	movq	_E1000_I210_DTXMXPKTSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$63, %esi
	callq	_wr32
	movl	(%r15), %eax
	movq	_I210_SR_QUEUES_NUM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	cmpl	%r12d, %eax
	cmovll	%eax, %r12d
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_igb_config_tx_modes
	incl	%ebx
	cmpl	%ebx, %r12d
	jne	LBB0_4
	jmp	LBB0_6
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_E1000_RXPBS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I210_RXPBSIZE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_TXPBS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I210_TXPBSIZE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_I210_DTXMXPKTSZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I210_DTXMXPKTSZ_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_wr32
	movq	_E1000_I210_TQAVCTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_E1000_TQAVCTRL_XMIT_MODE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movl	(%rbx), %edi
	callq	_wr32
LBB0_6:
	movq	%r15, %rdi
	callq	_is_fqtss_enabled
	testq	%rax, %rax
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_netdev_dbg                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_i210,8,3                 ## @e1000_i210
	.comm	_E1000_I210_TQAVCTRL,4,2        ## @E1000_I210_TQAVCTRL
	.comm	_E1000_TQAVCTRL_XMIT_MODE,4,2   ## @E1000_TQAVCTRL_XMIT_MODE
	.comm	_E1000_TQAVCTRL_SP_WAIT_SR,4,2  ## @E1000_TQAVCTRL_SP_WAIT_SR
	.comm	_E1000_TQAVCTRL_DATAFETCHARB,4,2 ## @E1000_TQAVCTRL_DATAFETCHARB
	.comm	_E1000_TXPBS,4,2                ## @E1000_TXPBS
	.comm	_I210_TXPBSIZE_MASK,4,2         ## @I210_TXPBSIZE_MASK
	.comm	_I210_TXPBSIZE_PB0_8KB,4,2      ## @I210_TXPBSIZE_PB0_8KB
	.comm	_I210_TXPBSIZE_PB1_8KB,4,2      ## @I210_TXPBSIZE_PB1_8KB
	.comm	_I210_TXPBSIZE_PB2_4KB,4,2      ## @I210_TXPBSIZE_PB2_4KB
	.comm	_I210_TXPBSIZE_PB3_4KB,4,2      ## @I210_TXPBSIZE_PB3_4KB
	.comm	_E1000_RXPBS,4,2                ## @E1000_RXPBS
	.comm	_I210_RXPBSIZE_MASK,4,2         ## @I210_RXPBSIZE_MASK
	.comm	_I210_RXPBSIZE_PB_30KB,4,2      ## @I210_RXPBSIZE_PB_30KB
	.comm	_E1000_I210_DTXMXPKTSZ,4,2      ## @E1000_I210_DTXMXPKTSZ
	.comm	_I210_SR_QUEUES_NUM,4,2         ## @I210_SR_QUEUES_NUM
	.comm	_I210_RXPBSIZE_DEFAULT,4,2      ## @I210_RXPBSIZE_DEFAULT
	.comm	_I210_TXPBSIZE_DEFAULT,4,2      ## @I210_TXPBSIZE_DEFAULT
	.comm	_I210_DTXMXPKTSZ_DEFAULT,4,2    ## @I210_DTXMXPKTSZ_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FQTSS %s\n"

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

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

	.no_dead_strip	_igb_setup_tx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igb_setup_tx_mode
_igb_setup_tx_mode:                     ; @igb_setup_tx_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _e1000_i210@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_i210@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x19, [x0, #16]
	bl	_is_fqtss_enabled
	cbz	x0, LBB0_6
; %bb.2:
Lloh3:
	adrp	x21, _E1000_I210_TQAVCTRL@GOTPAGE
Lloh4:
	ldr	x21, [x21, _E1000_I210_TQAVCTRL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
Lloh5:
	adrp	x8, _E1000_TQAVCTRL_XMIT_MODE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E1000_TQAVCTRL_XMIT_MODE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _E1000_TQAVCTRL_SP_WAIT_SR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _E1000_TQAVCTRL_SP_WAIT_SR@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w8, w8, w9
Lloh11:
	adrp	x9, _E1000_TQAVCTRL_DATAFETCHARB@GOTPAGE
Lloh12:
	ldr	x9, [x9, _E1000_TQAVCTRL_DATAFETCHARB@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	bic	w1, w8, w9
	ldr	w0, [x21]
	bl	_wr32
Lloh14:
	adrp	x21, _E1000_TXPBS@GOTPAGE
Lloh15:
	ldr	x21, [x21, _E1000_TXPBS@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
Lloh16:
	adrp	x8, _I210_TXPBSIZE_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _I210_TXPBSIZE_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh19:
	adrp	x9, _I210_TXPBSIZE_PB0_8KB@GOTPAGE
Lloh20:
	ldr	x9, [x9, _I210_TXPBSIZE_PB0_8KB@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
Lloh22:
	adrp	x10, _I210_TXPBSIZE_PB1_8KB@GOTPAGE
Lloh23:
	ldr	x10, [x10, _I210_TXPBSIZE_PB1_8KB@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
Lloh25:
	adrp	x11, _I210_TXPBSIZE_PB2_4KB@GOTPAGE
Lloh26:
	ldr	x11, [x11, _I210_TXPBSIZE_PB2_4KB@GOTPAGEOFF]
Lloh27:
	ldr	w11, [x11]
Lloh28:
	adrp	x12, _I210_TXPBSIZE_PB3_4KB@GOTPAGE
Lloh29:
	ldr	x12, [x12, _I210_TXPBSIZE_PB3_4KB@GOTPAGEOFF]
Lloh30:
	ldr	w12, [x12]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w1, w8, w12
	ldr	w0, [x21]
	bl	_wr32
Lloh31:
	adrp	x21, _E1000_RXPBS@GOTPAGE
Lloh32:
	ldr	x21, [x21, _E1000_RXPBS@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
Lloh33:
	adrp	x8, _I210_RXPBSIZE_MASK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _I210_RXPBSIZE_MASK@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh36:
	adrp	x9, _I210_RXPBSIZE_PB_30KB@GOTPAGE
Lloh37:
	ldr	x9, [x9, _I210_RXPBSIZE_PB_30KB@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w0, [x21]
	bl	_wr32
Lloh39:
	adrp	x8, _E1000_I210_DTXMXPKTSZ@GOTPAGE
Lloh40:
	ldr	x8, [x8, _E1000_I210_DTXMXPKTSZ@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	w1, #63
	bl	_wr32
	ldr	w8, [x20]
Lloh42:
	adrp	x9, _I210_SR_QUEUES_NUM@GOTPAGE
Lloh43:
	ldr	x9, [x9, _I210_SR_QUEUES_NUM@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w22, w8, w9, lt
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.3:
	mov	w21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_igb_config_tx_modes
	add	w21, w21, #1
	cmp	w22, w21
	b.ne	LBB0_4
	b	LBB0_7
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh45:
	adrp	x8, _E1000_RXPBS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _E1000_RXPBS@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
Lloh48:
	adrp	x8, _I210_RXPBSIZE_DEFAULT@GOTPAGE
Lloh49:
	ldr	x8, [x8, _I210_RXPBSIZE_DEFAULT@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_wr32
Lloh51:
	adrp	x8, _E1000_TXPBS@GOTPAGE
Lloh52:
	ldr	x8, [x8, _E1000_TXPBS@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
Lloh54:
	adrp	x8, _I210_TXPBSIZE_DEFAULT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _I210_TXPBSIZE_DEFAULT@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_wr32
Lloh57:
	adrp	x8, _E1000_I210_DTXMXPKTSZ@GOTPAGE
Lloh58:
	ldr	x8, [x8, _E1000_I210_DTXMXPKTSZ@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
Lloh60:
	adrp	x8, _I210_DTXMXPKTSZ_DEFAULT@GOTPAGE
Lloh61:
	ldr	x8, [x8, _I210_DTXMXPKTSZ_DEFAULT@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_wr32
Lloh63:
	adrp	x21, _E1000_I210_TQAVCTRL@GOTPAGE
Lloh64:
	ldr	x21, [x21, _E1000_I210_TQAVCTRL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_rd32
Lloh65:
	adrp	x8, _E1000_TQAVCTRL_XMIT_MODE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _E1000_TQAVCTRL_XMIT_MODE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	bic	w1, w0, w8
	ldr	w0, [x21]
	bl	_wr32
LBB0_7:
	mov	x0, x20
	bl	_is_fqtss_enabled
Lloh68:
	adrp	x8, l_.str.1@PAGE
Lloh69:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh70:
	adrp	x9, l_.str.2@PAGE
Lloh71:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x0, #0
	csel	x2, x9, x8, eq
Lloh72:
	adrp	x1, l_.str@PAGE
Lloh73:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_netdev_dbg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh68, Lloh69
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_i210,8,3                 ; @e1000_i210
	.comm	_E1000_I210_TQAVCTRL,4,2        ; @E1000_I210_TQAVCTRL
	.comm	_E1000_TQAVCTRL_XMIT_MODE,4,2   ; @E1000_TQAVCTRL_XMIT_MODE
	.comm	_E1000_TQAVCTRL_SP_WAIT_SR,4,2  ; @E1000_TQAVCTRL_SP_WAIT_SR
	.comm	_E1000_TQAVCTRL_DATAFETCHARB,4,2 ; @E1000_TQAVCTRL_DATAFETCHARB
	.comm	_E1000_TXPBS,4,2                ; @E1000_TXPBS
	.comm	_I210_TXPBSIZE_MASK,4,2         ; @I210_TXPBSIZE_MASK
	.comm	_I210_TXPBSIZE_PB0_8KB,4,2      ; @I210_TXPBSIZE_PB0_8KB
	.comm	_I210_TXPBSIZE_PB1_8KB,4,2      ; @I210_TXPBSIZE_PB1_8KB
	.comm	_I210_TXPBSIZE_PB2_4KB,4,2      ; @I210_TXPBSIZE_PB2_4KB
	.comm	_I210_TXPBSIZE_PB3_4KB,4,2      ; @I210_TXPBSIZE_PB3_4KB
	.comm	_E1000_RXPBS,4,2                ; @E1000_RXPBS
	.comm	_I210_RXPBSIZE_MASK,4,2         ; @I210_RXPBSIZE_MASK
	.comm	_I210_RXPBSIZE_PB_30KB,4,2      ; @I210_RXPBSIZE_PB_30KB
	.comm	_E1000_I210_DTXMXPKTSZ,4,2      ; @E1000_I210_DTXMXPKTSZ
	.comm	_I210_SR_QUEUES_NUM,4,2         ; @I210_SR_QUEUES_NUM
	.comm	_I210_RXPBSIZE_DEFAULT,4,2      ; @I210_RXPBSIZE_DEFAULT
	.comm	_I210_TXPBSIZE_DEFAULT,4,2      ; @I210_TXPBSIZE_DEFAULT
	.comm	_I210_DTXMXPKTSZ_DEFAULT,4,2    ; @I210_DTXMXPKTSZ_DEFAULT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FQTSS %s\n"

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

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

	.no_dead_strip	_igb_setup_tx_mode
.subsections_via_symbols
