	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_set_default_moderation
_mlx4_en_set_default_moderation:        ## @mlx4_en_set_default_moderation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_MLX4_EN_RX_COAL_TARGET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, 108(%rdi)
	movq	_MLX4_EN_RX_COAL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	%r9d, 104(%rdi)
	movq	_MLX4_EN_TX_COAL_PKTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rdi)
	movq	_MLX4_EN_TX_COAL_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rdi)
	movq	_INTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	120(%r14), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	callq	_en_dbg
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	movq	112(%r14), %r9
	movq	96(%r14), %rcx
	movq	80(%r14), %rdx
	movq	88(%r14), %rsi
	xorl	%edi, %edi
	movq	_MLX4_EN_AUTO_CONF@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r9,%rdi,8), %rbx
	movl	108(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	104(%r14), %eax
	movl	%eax, (%rbx)
	movl	(%r8), %eax
	movl	%eax, (%rcx,%rdi,4)
	movq	$0, (%rsi,%rdi,8)
	movq	$0, (%rdx,%rdi,8)
	incq	%rdi
	movslq	(%r14), %rax
	cmpq	%rax, %rdi
	jl	LBB0_2
LBB0_3:
	movq	_MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	testl	%esi, %esi
	jle	LBB0_10
## %bb.4:
	movq	8(%r14), %r9
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	movslq	%esi, %rax
	cmpq	%rax, %rdx
	jge	LBB0_10
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	cmpl	$0, (%r9,%rdx,4)
	jle	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	72(%r14), %rax
	movq	(%rax,%rdx,8), %rsi
	movl	60(%r14), %edi
	movl	64(%r14), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rsi,%rbx,8), %rcx
	movl	%eax, 4(%rcx)
	movl	%edi, (%rcx)
	incq	%rbx
	movslq	(%r9,%rdx,4), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r8), %esi
	jmp	LBB0_9
LBB0_10:
	movq	_MLX4_EN_RX_RATE_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r14)
	movq	_MLX4_EN_RX_COAL_TIME_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%r14)
	movq	_MLX4_EN_RX_RATE_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r14)
	movq	_MLX4_EN_RX_COAL_TIME_HIGH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%r14)
	movq	_MLX4_EN_SAMPLE_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r14)
	movl	$1, 16(%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_EN_RX_COAL_TARGET,4,2     ## @MLX4_EN_RX_COAL_TARGET
	.comm	_MLX4_EN_RX_COAL_TIME,4,2       ## @MLX4_EN_RX_COAL_TIME
	.comm	_MLX4_EN_TX_COAL_PKTS,4,2       ## @MLX4_EN_TX_COAL_PKTS
	.comm	_MLX4_EN_TX_COAL_TIME,4,2       ## @MLX4_EN_TX_COAL_TIME
	.comm	_INTR,4,2                       ## @INTR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Default coalescing params for mtu:%d - rx_frames:%d rx_usecs:%d\n"

	.comm	_MLX4_EN_AUTO_CONF,4,2          ## @MLX4_EN_AUTO_CONF
	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ## @MLX4_EN_NUM_TX_TYPES
	.comm	_MLX4_EN_RX_RATE_LOW,4,2        ## @MLX4_EN_RX_RATE_LOW
	.comm	_MLX4_EN_RX_COAL_TIME_LOW,4,2   ## @MLX4_EN_RX_COAL_TIME_LOW
	.comm	_MLX4_EN_RX_RATE_HIGH,4,2       ## @MLX4_EN_RX_RATE_HIGH
	.comm	_MLX4_EN_RX_COAL_TIME_HIGH,4,2  ## @MLX4_EN_RX_COAL_TIME_HIGH
	.comm	_MLX4_EN_SAMPLE_INTERVAL,4,2    ## @MLX4_EN_SAMPLE_INTERVAL
	.no_dead_strip	_mlx4_en_set_default_moderation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_set_default_moderation
_mlx4_en_set_default_moderation:        ; @mlx4_en_set_default_moderation
	.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	x19, x0
Lloh0:
	adrp	x8, _MLX4_EN_RX_COAL_TARGET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_EN_RX_COAL_TARGET@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
Lloh3:
	adrp	x8, _MLX4_EN_RX_COAL_TIME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_EN_RX_COAL_TIME@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
Lloh6:
	adrp	x8, _MLX4_EN_TX_COAL_PKTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX4_EN_TX_COAL_PKTS@GOTPAGEOFF]
	stp	w5, w4, [x0, #104]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MLX4_EN_TX_COAL_TIME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MLX4_EN_TX_COAL_TIME@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #60]
Lloh12:
	adrp	x8, _INTR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INTR@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	x8, [x19, #120]
	ldr	w3, [x8]
Lloh15:
	adrp	x2, l_.str@PAGE
Lloh16:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_en_dbg
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x8, #0
	ldr	x9, [x19, #112]
	ldp	x11, x10, [x19, #88]
	ldr	x12, [x19, #80]
Lloh17:
	adrp	x13, _MLX4_EN_AUTO_CONF@GOTPAGE
Lloh18:
	ldr	x13, [x13, _MLX4_EN_AUTO_CONF@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x14, x8, #3
	ldr	x15, [x9, x14]
	ldr	d0, [x19, #104]
	str	d0, [x15]
	ldr	w15, [x13]
	str	w15, [x10, x8, lsl #2]
	str	xzr, [x11, x14]
	str	xzr, [x12, x14]
	add	x8, x8, #1
	ldrsw	x14, [x19]
	cmp	x8, x14
	b.lt	LBB0_2
LBB0_3:
Lloh19:
	adrp	x8, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
	ldr	w11, [x8]
	cmp	w11, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x9, #0
	ldr	x10, [x19, #8]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x9, #1
	cmp	x9, w11, sxtw
	b.ge	LBB0_10
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w12, [x10, x9, lsl #2]
	cmp	w12, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x11, #0
	ldr	x12, [x19, #72]
	ldr	x12, [x12, x9, lsl #3]
	ldur	d0, [x19, #60]
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x13, [x12, x11, lsl #3]
	str	d0, [x13]
	add	x11, x11, #1
	ldrsw	x13, [x10, x9, lsl #2]
	cmp	x11, x13
	b.lt	LBB0_8
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w11, [x8]
	b	LBB0_5
LBB0_10:
Lloh21:
	adrp	x8, _MLX4_EN_RX_RATE_LOW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLX4_EN_RX_RATE_LOW@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh24:
	adrp	x8, _MLX4_EN_RX_COAL_TIME_LOW@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MLX4_EN_RX_COAL_TIME_LOW@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _MLX4_EN_RX_RATE_HIGH@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MLX4_EN_RX_RATE_HIGH@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh30:
	adrp	x8, _MLX4_EN_RX_COAL_TIME_HIGH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _MLX4_EN_RX_COAL_TIME_HIGH@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _MLX4_EN_SAMPLE_INTERVAL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MLX4_EN_SAMPLE_INTERVAL@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	mov	w8, #1
	str	w8, [x19, #16]
	stp	xzr, xzr, [x19, #24]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_EN_RX_COAL_TARGET,4,2     ; @MLX4_EN_RX_COAL_TARGET
	.comm	_MLX4_EN_RX_COAL_TIME,4,2       ; @MLX4_EN_RX_COAL_TIME
	.comm	_MLX4_EN_TX_COAL_PKTS,4,2       ; @MLX4_EN_TX_COAL_PKTS
	.comm	_MLX4_EN_TX_COAL_TIME,4,2       ; @MLX4_EN_TX_COAL_TIME
	.comm	_INTR,4,2                       ; @INTR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Default coalescing params for mtu:%d - rx_frames:%d rx_usecs:%d\n"

	.comm	_MLX4_EN_AUTO_CONF,4,2          ; @MLX4_EN_AUTO_CONF
	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ; @MLX4_EN_NUM_TX_TYPES
	.comm	_MLX4_EN_RX_RATE_LOW,4,2        ; @MLX4_EN_RX_RATE_LOW
	.comm	_MLX4_EN_RX_COAL_TIME_LOW,4,2   ; @MLX4_EN_RX_COAL_TIME_LOW
	.comm	_MLX4_EN_RX_RATE_HIGH,4,2       ; @MLX4_EN_RX_RATE_HIGH
	.comm	_MLX4_EN_RX_COAL_TIME_HIGH,4,2  ; @MLX4_EN_RX_COAL_TIME_HIGH
	.comm	_MLX4_EN_SAMPLE_INTERVAL,4,2    ; @MLX4_EN_SAMPLE_INTERVAL
	.no_dead_strip	_mlx4_en_set_default_moderation
.subsections_via_symbols
