	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tg3_coal_tx_init
_tg3_coal_tx_init:                      ## @tg3_coal_tx_init
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	_ENABLE_TSS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tg3_flag
	movq	_HOSTCC_TXCOL_TICKS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_tw32
	movq	_HOSTCC_TXMAX_FRAMES@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_tw32
	movq	_HOSTCC_TXCOAL_MAXF_INT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	callq	_tw32
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	_HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HOSTCC_TXCOL_TICKS_VEC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movl	8(%r12), %esi
	callq	_tw32
	movq	_HOSTCC_TXMAX_FRAMES_VEC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movl	4(%r12), %esi
	callq	_tw32
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movl	(%r12), %esi
	callq	_tw32
	incq	%r15
	movslq	(%r14), %rax
	addq	$24, %rbx
	cmpq	%rax, %r15
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movl	8(%r12), %esi
	callq	_tw32
	movq	_HOSTCC_TXMAX_FRAMES@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	4(%r12), %esi
	callq	_tw32
	movq	_HOSTCC_TXCOAL_MAXF_INT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	(%r12), %esi
	callq	_tw32
	xorl	%r15d, %r15d
LBB0_5:
	movl	4(%r14), %eax
	decl	%eax
	cmpl	%eax, %r15d
	jge	LBB0_8
## %bb.6:
	movl	%r15d, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %r12
	movq	_HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %ebx
	andl	$-8, %ebx
	movq	_HOSTCC_TXCOL_TICKS_VEC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tw32
	movq	_HOSTCC_TXMAX_FRAMES_VEC1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tw32
	addq	(%r13), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tw32
	movl	4(%r14), %eax
	decl	%eax
	addq	$24, %r12
	incl	%r15d
	cmpl	%r15d, %eax
	jg	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	_ENABLE_TSS,4,2                 ## @ENABLE_TSS
	.comm	_HOSTCC_TXCOL_TICKS,8,3         ## @HOSTCC_TXCOL_TICKS
	.comm	_HOSTCC_TXMAX_FRAMES,8,3        ## @HOSTCC_TXMAX_FRAMES
	.comm	_HOSTCC_TXCOAL_MAXF_INT,8,3     ## @HOSTCC_TXCOAL_MAXF_INT
	.comm	_HOSTCC_TXCOL_TICKS_VEC1,8,3    ## @HOSTCC_TXCOL_TICKS_VEC1
	.comm	_HOSTCC_TXMAX_FRAMES_VEC1,8,3   ## @HOSTCC_TXMAX_FRAMES_VEC1
	.comm	_HOSTCC_TXCOAL_MAXF_INT_VEC1,8,3 ## @HOSTCC_TXCOAL_MAXF_INT_VEC1
	.no_dead_strip	_tg3_coal_tx_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tg3_coal_tx_init
_tg3_coal_tx_init:                      ; @tg3_coal_tx_init
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ENABLE_TSS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENABLE_TSS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_tg3_flag
	mov	x8, x0
Lloh3:
	adrp	x9, _HOSTCC_TXCOL_TICKS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HOSTCC_TXCOL_TICKS@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
	cbz	w8, LBB0_4
; %bb.1:
	mov	w1, #0
	bl	_tw32
Lloh6:
	adrp	x8, _HOSTCC_TXMAX_FRAMES@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HOSTCC_TXMAX_FRAMES@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_tw32
Lloh9:
	adrp	x8, _HOSTCC_TXCOAL_MAXF_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HOSTCC_TXCOAL_MAXF_INT@GOTPAGEOFF]
Lloh11:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_tw32
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	x22, #0
	mov	x21, #0
Lloh12:
	adrp	x23, _HOSTCC_TXCOL_TICKS_VEC1@GOTPAGE
Lloh13:
	ldr	x23, [x23, _HOSTCC_TXCOL_TICKS_VEC1@GOTPAGEOFF]
Lloh14:
	adrp	x24, _HOSTCC_TXMAX_FRAMES_VEC1@GOTPAGE
Lloh15:
	ldr	x24, [x24, _HOSTCC_TXMAX_FRAMES_VEC1@GOTPAGEOFF]
Lloh16:
	adrp	x25, _HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPAGE
Lloh17:
	ldr	x25, [x25, _HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x22, x8
	ldr	w1, [x20, #8]
	bl	_tw32
	ldr	x8, [x24]
	add	x0, x22, x8
	ldr	w1, [x20, #4]
	bl	_tw32
	ldr	x8, [x25]
	add	x0, x22, x8
	ldr	w1, [x20]
	bl	_tw32
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x22, x22, #24
	cmp	x21, x8
	b.lt	LBB0_3
	b	LBB0_6
LBB0_4:
	ldr	w1, [x20, #8]
	bl	_tw32
Lloh18:
	adrp	x8, _HOSTCC_TXMAX_FRAMES@GOTPAGE
Lloh19:
	ldr	x8, [x8, _HOSTCC_TXMAX_FRAMES@GOTPAGEOFF]
Lloh20:
	ldr	x0, [x8]
	ldr	w1, [x20, #4]
	bl	_tw32
Lloh21:
	adrp	x8, _HOSTCC_TXCOAL_MAXF_INT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _HOSTCC_TXCOAL_MAXF_INT@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	ldr	w1, [x20]
	bl	_tw32
LBB0_5:
	mov	w21, #0
LBB0_6:
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	cmp	w21, w8
	b.ge	LBB0_9
; %bb.7:
	mov	w8, #24
	umull	x20, w21, w8
Lloh24:
	adrp	x22, _HOSTCC_TXCOL_TICKS_VEC1@GOTPAGE
Lloh25:
	ldr	x22, [x22, _HOSTCC_TXCOL_TICKS_VEC1@GOTPAGEOFF]
Lloh26:
	adrp	x23, _HOSTCC_TXMAX_FRAMES_VEC1@GOTPAGE
Lloh27:
	ldr	x23, [x23, _HOSTCC_TXMAX_FRAMES_VEC1@GOTPAGEOFF]
Lloh28:
	adrp	x24, _HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPAGE
Lloh29:
	ldr	x24, [x24, _HOSTCC_TXCOAL_MAXF_INT_VEC1@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	and	x25, x20, #0xfffffff8
	add	x0, x8, x25
	mov	w1, #0
	bl	_tw32
	ldr	x8, [x23]
	add	x0, x8, x25
	mov	w1, #0
	bl	_tw32
	ldr	x8, [x24]
	add	x0, x8, x25
	mov	w1, #0
	bl	_tw32
	ldr	w8, [x19, #4]
	sub	w8, w8, #1
	add	x20, x20, #24
	add	w21, w21, #1
	cmp	w8, w21
	b.gt	LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ENABLE_TSS,4,2                 ; @ENABLE_TSS
	.comm	_HOSTCC_TXCOL_TICKS,8,3         ; @HOSTCC_TXCOL_TICKS
	.comm	_HOSTCC_TXMAX_FRAMES,8,3        ; @HOSTCC_TXMAX_FRAMES
	.comm	_HOSTCC_TXCOAL_MAXF_INT,8,3     ; @HOSTCC_TXCOAL_MAXF_INT
	.comm	_HOSTCC_TXCOL_TICKS_VEC1,8,3    ; @HOSTCC_TXCOL_TICKS_VEC1
	.comm	_HOSTCC_TXMAX_FRAMES_VEC1,8,3   ; @HOSTCC_TXMAX_FRAMES_VEC1
	.comm	_HOSTCC_TXCOAL_MAXF_INT_VEC1,8,3 ; @HOSTCC_TXCOAL_MAXF_INT_VEC1
	.no_dead_strip	_tg3_coal_tx_init
.subsections_via_symbols
