	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mp_UpDown
_mp_UpDown:                             ## @mp_UpDown
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	16(%rdi), %esi
	movl	20(%rdi), %edi
	callq	_MAX
	imull	$800, %eax, %eax                ## imm = 0x320
	movq	(%rbx), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, %r14d
	cmpl	8(%rbx), %eax
	jge	LBB0_1
## %bb.2:
	cmpl	12(%rbx), %r14d
	jle	LBB0_3
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_AUTO_UP@GOTPCREL(%rip), %r15
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	_AUTO_DOWN@GOTPCREL(%rip), %r15
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %edx
	callq	_log_Printf
	movq	(%rbx), %rdi
	movl	(%r15), %edx
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bundle_AutoAdjust              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%% saturation - bring a link up ?\n"

	.comm	_AUTO_UP,4,2                    ## @AUTO_UP
L_.str.1:                               ## @.str.1
	.asciz	"%d%% saturation - bring a link down ?\n"

	.comm	_AUTO_DOWN,4,2                  ## @AUTO_DOWN
	.no_dead_strip	_mp_UpDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mp_UpDown
_mp_UpDown:                             ; @mp_UpDown
	.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	w0, [x0, #20]
	ldr	w1, [x19, #16]
	bl	_MAX
	mov	w8, #800
	mul	w8, w0, w8
	ldr	x9, [x19]
	ldr	w9, [x9]
	sdiv	w20, w8, w9
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.ge	LBB0_3
; %bb.1:
	ldr	w8, [x19, #12]
	cmp	w20, w8
	b.le	LBB0_4
; %bb.2:
	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_3:
Lloh0:
	adrp	x21, _AUTO_UP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _AUTO_UP@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x21, _AUTO_DOWN@GOTPAGE
Lloh5:
	ldr	x21, [x21, _AUTO_DOWN@GOTPAGEOFF]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
Lloh8:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x2, x20
	bl	_log_Printf
	ldr	x0, [x19]
	ldr	w2, [x21]
	mov	x1, x20
	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
	b	_bundle_AutoAdjust
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%% saturation - bring a link up ?\n"

	.comm	_AUTO_UP,4,2                    ; @AUTO_UP
l_.str.1:                               ; @.str.1
	.asciz	"%d%% saturation - bring a link down ?\n"

	.comm	_AUTO_DOWN,4,2                  ; @AUTO_DOWN
	.no_dead_strip	_mp_UpDown
.subsections_via_symbols
