	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_moderation_update
_mlx4_en_moderation_update:             ## @mlx4_en_moderation_update
	.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	%rdi, %r12
	movq	_MLX4_EN_NUM_TX_TYPES@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.1:
	movq	(%r12), %rax
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %ecx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%ecx, %rdx
	cmpq	%rdx, %r15
	jge	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	cmpl	$0, (%rax,%r15,4)
	jle	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%rbx
	movslq	(%rax,%r15,4), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	68(%r12), %ecx
	movq	56(%r12), %rdx
	movq	(%rdx,%r15,8), %rdx
	movq	(%rdx,%rbx,8), %rsi
	movl	%ecx, 4(%rsi)
	movl	64(%r12), %ecx
	movl	%ecx, (%rsi)
	cmpq	$0, 24(%r12)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	%r12, %rdi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	jne	LBB0_17
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	(%r12), %rax
	jmp	LBB0_7
LBB0_10:
	xorl	%eax, %eax
	cmpq	$0, 48(%r12)
	jne	LBB0_17
## %bb.11:
	cmpl	$0, 8(%r12)
	jle	LBB0_17
## %bb.12:
	xorl	%ebx, %ebx
	movq	_MLX4_EN_AUTO_CONF@GOTPCREL(%rip), %r14
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%rbx
	movslq	8(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_16
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	44(%r12), %eax
	movq	16(%r12), %rcx
	movq	(%rcx,%rbx,8), %rsi
	movl	%eax, 4(%rsi)
	movl	40(%r12), %eax
	movl	%eax, (%rsi)
	movl	(%r14), %eax
	movq	32(%r12), %rcx
	movl	%eax, (%rcx,%rbx,4)
	cmpq	$0, 24(%r12)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	je	LBB0_15
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ## @MLX4_EN_NUM_TX_TYPES
	.comm	_MLX4_EN_AUTO_CONF,4,2          ## @MLX4_EN_AUTO_CONF
	.no_dead_strip	_mlx4_en_moderation_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_moderation_update
_mlx4_en_moderation_update:             ; @mlx4_en_moderation_update
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _MLX4_EN_NUM_TX_TYPES@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MLX4_EN_NUM_TX_TYPES@GOTPAGEOFF]
	ldr	w9, [x20]
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, #0
	ldr	x8, [x19]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x20]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	cmp	x21, w9, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	w10, [x8, x21, lsl #2]
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, #0
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=2
	ldr	x8, [x19]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	x22, x22, #1
	ldrsw	x9, [x8, x21, lsl #2]
	cmp	x22, x9
	b.ge	LBB0_2
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #56]
	ldr	x9, [x9, x21, lsl #3]
	ldr	x1, [x9, x22, lsl #3]
	ldr	d0, [x19, #64]
	str	d0, [x1]
	ldr	x9, [x19, #24]
	cbz	x9, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	mov	x0, x19
	bl	_mlx4_en_set_cq_moder
	cbz	w0, LBB0_6
	b	LBB0_12
LBB0_10:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_13
LBB0_11:
	mov	w0, #0
LBB0_12:
	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_13:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.14:
	mov	x20, #0
Lloh2:
	adrp	x21, _MLX4_EN_AUTO_CONF@GOTPAGE
Lloh3:
	ldr	x21, [x21, _MLX4_EN_AUTO_CONF@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	cmp	x20, x8
	b.ge	LBB0_11
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x19, #16]
	ldr	x1, [x8, x20, lsl #3]
	ldr	d0, [x19, #40]
	str	d0, [x1]
	ldr	w8, [x21]
	ldr	x10, [x19, #32]
	str	w8, [x10, x20, lsl #2]
	cbz	x9, LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x19
	bl	_mlx4_en_set_cq_moder
	cbz	w0, LBB0_15
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_EN_NUM_TX_TYPES,4,2       ; @MLX4_EN_NUM_TX_TYPES
	.comm	_MLX4_EN_AUTO_CONF,4,2          ; @MLX4_EN_AUTO_CONF
	.no_dead_strip	_mlx4_en_moderation_update
.subsections_via_symbols
