	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_setup_tctl
_igc_setup_tctl:                        ## @igc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%edi, %edi
	callq	_IGC_TXDCTL
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	_IGC_TCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movq	_IGC_TCTL_CT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	notl	%esi
	andl	%eax, %esi
	movq	_IGC_TCTL_PSP@GOTPCREL(%rip), %rax
	movq	_IGC_TCTL_RTLC@GOTPCREL(%rip), %rdx
	movq	_IGC_COLLISION_THRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_IGC_CT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	movq	_IGC_TCTL_EN@GOTPCREL(%rip), %rcx
	orl	(%rax), %esi
	orl	(%rdx), %esi
	orl	%edi, %esi
	orl	(%rcx), %esi
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wr32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_TCTL,4,2                   ## @IGC_TCTL
	.comm	_IGC_TCTL_CT,4,2                ## @IGC_TCTL_CT
	.comm	_IGC_TCTL_PSP,4,2               ## @IGC_TCTL_PSP
	.comm	_IGC_TCTL_RTLC,4,2              ## @IGC_TCTL_RTLC
	.comm	_IGC_COLLISION_THRESHOLD,4,2    ## @IGC_COLLISION_THRESHOLD
	.comm	_IGC_CT_SHIFT,4,2               ## @IGC_CT_SHIFT
	.comm	_IGC_TCTL_EN,4,2                ## @IGC_TCTL_EN
	.no_dead_strip	_igc_setup_tctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_setup_tctl
_igc_setup_tctl:                        ; @igc_setup_tctl
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #0
	bl	_IGC_TXDCTL
	mov	w1, #0
	bl	_wr32
Lloh0:
	adrp	x19, _IGC_TCTL@GOTPAGE
Lloh1:
	ldr	x19, [x19, _IGC_TCTL@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_rd32
Lloh2:
	adrp	x8, _IGC_TCTL_CT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGC_TCTL_CT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _IGC_TCTL_PSP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IGC_TCTL_PSP@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _IGC_TCTL_RTLC@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IGC_TCTL_RTLC@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	adrp	x11, _IGC_COLLISION_THRESHOLD@GOTPAGE
Lloh12:
	ldr	x11, [x11, _IGC_COLLISION_THRESHOLD@GOTPAGEOFF]
Lloh13:
	ldr	w11, [x11]
Lloh14:
	adrp	x12, _IGC_CT_SHIFT@GOTPAGE
Lloh15:
	ldr	x12, [x12, _IGC_CT_SHIFT@GOTPAGEOFF]
Lloh16:
	ldr	w12, [x12]
	lsl	w11, w11, w12
Lloh17:
	adrp	x12, _IGC_TCTL_EN@GOTPAGE
Lloh18:
	ldr	x12, [x12, _IGC_TCTL_EN@GOTPAGEOFF]
Lloh19:
	ldr	w12, [x12]
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w1, w8, w12
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr32
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_TCTL,4,2                   ; @IGC_TCTL
	.comm	_IGC_TCTL_CT,4,2                ; @IGC_TCTL_CT
	.comm	_IGC_TCTL_PSP,4,2               ; @IGC_TCTL_PSP
	.comm	_IGC_TCTL_RTLC,4,2              ; @IGC_TCTL_RTLC
	.comm	_IGC_COLLISION_THRESHOLD,4,2    ; @IGC_COLLISION_THRESHOLD
	.comm	_IGC_CT_SHIFT,4,2               ; @IGC_CT_SHIFT
	.comm	_IGC_TCTL_EN,4,2                ; @IGC_TCTL_EN
	.no_dead_strip	_igc_setup_tctl
.subsections_via_symbols
