	.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, %r14
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$8, %rbx
	cmpq	%rcx, %r15
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	60(%r14), %ecx
	movq	48(%r14), %rsi
	movl	%ecx, 4(%rsi,%rbx)
	movl	56(%r14), %ecx
	movl	%ecx, (%rsi,%rbx)
	cmpq	$0, 16(%r14)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	cmpq	$0, 40(%r14)
	je	LBB0_7
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	cmpl	$0, 4(%r14)
	jle	LBB0_13
## %bb.8:
	xorl	%ebx, %ebx
	movq	_MLX4_EN_AUTO_CONF@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%r12
	movslq	4(%r14), %rax
	addq	$8, %rbx
	cmpq	%rax, %r12
	jge	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	36(%r14), %eax
	movq	8(%r14), %rsi
	movl	%eax, 4(%rsi,%rbx)
	movl	32(%r14), %eax
	movl	%eax, (%rsi,%rbx)
	movl	(%r15), %eax
	movq	24(%r14), %rcx
	movl	%eax, (%rcx,%r12,4)
	cmpq	$0, 16(%r14)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	addq	%rbx, %rsi
	movq	%r14, %rdi
	callq	_mlx4_en_set_cq_moder
	testl	%eax, %eax
	je	LBB0_11
	jmp	LBB0_13
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x20, #0
	mov	x21, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x20, x20, #8
	cmp	x21, w8, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #48]
	ldr	d0, [x19, #56]
	str	d0, [x9, x20]
	ldr	x10, [x19, #16]
	cbz	x10, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x9, x20
	mov	x0, x19
	bl	_mlx4_en_set_cq_moder
	cbnz	w0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x19]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_9
LBB0_7:
	mov	w0, #0
LBB0_8:
	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_9:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.10:
	mov	x20, #0
	mov	x21, #0
Lloh0:
	adrp	x22, _MLX4_EN_AUTO_CONF@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MLX4_EN_AUTO_CONF@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x21, x21, #1
	ldrsw	x8, [x19, #4]
	add	x20, x20, #8
	cmp	x21, x8
	b.ge	LBB0_7
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x19, #32]
	ldp	x8, x9, [x19, #8]
	str	d0, [x8, x20]
	ldr	w10, [x22]
	ldr	x11, [x19, #24]
	str	w10, [x11, x21, lsl #2]
	cbz	x9, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x1, x8, x20
	mov	x0, x19
	bl	_mlx4_en_set_cq_moder
	cbz	w0, LBB0_11
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_EN_AUTO_CONF,4,2          ; @MLX4_EN_AUTO_CONF
	.no_dead_strip	_mlx4_en_moderation_update
.subsections_via_symbols
