	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_setup_tctl                 ## -- Begin function igb_setup_tctl
	.p2align	4, 0x90
_igb_setup_tctl:                        ## @igb_setup_tctl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_E1000_TXDCTL
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	_E1000_TCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_rd32
	movq	_E1000_TCTL_CT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	movq	_E1000_COLLISION_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_E1000_CT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	andl	%eax, %ebx
	movq	_E1000_TCTL_PSP@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_E1000_TCTL_RTLC@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	orl	%edx, %ebx
	movq	%r14, %rdi
	callq	_igb_config_collision_dist
	movq	_E1000_TCTL_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r15), %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_E1000_TCTL,4,2                 ## @E1000_TCTL
	.comm	_E1000_TCTL_CT,4,2              ## @E1000_TCTL_CT
	.comm	_E1000_TCTL_PSP,4,2             ## @E1000_TCTL_PSP
	.comm	_E1000_TCTL_RTLC,4,2            ## @E1000_TCTL_RTLC
	.comm	_E1000_COLLISION_THRESHOLD,4,2  ## @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ## @E1000_CT_SHIFT
	.comm	_E1000_TCTL_EN,4,2              ## @E1000_TCTL_EN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igb_setup_tctl                 ; -- Begin function igb_setup_tctl
	.p2align	2
_igb_setup_tctl:                        ; @igb_setup_tctl
	.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
	mov	w0, #0
	bl	_E1000_TXDCTL
	mov	w1, #0
	bl	_wr32
Lloh0:
	adrp	x20, _E1000_TCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _E1000_TCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
Lloh2:
	adrp	x8, _E1000_TCTL_CT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _E1000_TCTL_CT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _E1000_TCTL_PSP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _E1000_TCTL_PSP@GOTPAGEOFF]
	bic	w21, w0, w8
Lloh7:
	ldr	w22, [x9]
Lloh8:
	adrp	x8, _E1000_TCTL_RTLC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _E1000_TCTL_RTLC@GOTPAGEOFF]
Lloh10:
	adrp	x9, _E1000_COLLISION_THRESHOLD@GOTPAGE
Lloh11:
	ldr	x9, [x9, _E1000_COLLISION_THRESHOLD@GOTPAGEOFF]
Lloh12:
	ldr	w23, [x8]
Lloh13:
	ldr	w8, [x9]
Lloh14:
	adrp	x9, _E1000_CT_SHIFT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _E1000_CT_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	lsl	w24, w8, w9
	mov	x0, x19
	bl	_igb_config_collision_dist
Lloh17:
	adrp	x8, _E1000_TCTL_EN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _E1000_TCTL_EN@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	orr	w9, w21, w22
	orr	w9, w9, w23
	orr	w9, w9, w24
	orr	w1, w9, w8
	ldr	w0, [x20]
	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	_wr32
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_E1000_TCTL,4,2                 ; @E1000_TCTL
	.comm	_E1000_TCTL_CT,4,2              ; @E1000_TCTL_CT
	.comm	_E1000_TCTL_PSP,4,2             ; @E1000_TCTL_PSP
	.comm	_E1000_TCTL_RTLC,4,2            ; @E1000_TCTL_RTLC
	.comm	_E1000_COLLISION_THRESHOLD,4,2  ; @E1000_COLLISION_THRESHOLD
	.comm	_E1000_CT_SHIFT,4,2             ; @E1000_CT_SHIFT
	.comm	_E1000_TCTL_EN,4,2              ; @E1000_TCTL_EN
.subsections_via_symbols
