	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bundle_AutoAdjust              ## -- Begin function bundle_AutoAdjust
	.p2align	4, 0x90
_bundle_AutoAdjust:                     ## @bundle_AutoAdjust
	.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	8(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
## %bb.1:
	movl	%esi, %r9d
	movq	%rdi, %r14
	movq	_PHYS_AUTO@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_DATALINK_OPEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_AUTO_DOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_DATALINK_CLOSED@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_AUTO_UP@GOTPCREL(%rip), %r8
	movl	(%r8), %r11d
	xorl	%esi, %esi
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %r12d
	movq	%rsi, %rcx
	cmoveq	%rbx, %rcx
	cmpq	%rdi, %rax
	cmoveq	%rcx, %rsi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	cmpq	%r13, (%rcx)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%rdi, %rax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %r12d
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	testq	%r15, %r15
	cmovneq	%r15, %rsi
	movq	%rbx, %r15
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r10, %rax
	jne	LBB0_17
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, %r11d
	jne	LBB0_9
	jmp	LBB0_13
LBB0_10:
	testq	%r15, %r15
	je	LBB0_17
## %bb.11:
	cmpl	%edx, (%r8)
	jne	LBB0_14
## %bb.12:
	movq	%r15, %rbx
LBB0_13:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	movl	%r9d, %edx
	callq	_log_Printf
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	callq	_datalink_Up
	jmp	LBB0_16
LBB0_14:
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.15:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %ecx
	leaq	L_.str.1(%rip), %rsi
	movl	%r9d, %edx
	callq	_log_Printf
	movq	_CLOSE_STAYDOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_datalink_Close
LBB0_16:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mp_CheckAutoloadTimer          ## TAILCALL
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PHYS_AUTO,8,3                  ## @PHYS_AUTO
	.comm	_DATALINK_OPEN,8,3              ## @DATALINK_OPEN
	.comm	_AUTO_DOWN,4,2                  ## @AUTO_DOWN
	.comm	_DATALINK_CLOSED,8,3            ## @DATALINK_CLOSED
	.comm	_AUTO_UP,4,2                    ## @AUTO_UP
	.comm	_LogPHASE,4,2                   ## @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%% saturation -> Opening link ``%s''\n"

L_.str.1:                               ## @.str.1
	.asciz	"%d%% saturation -> Closing link ``%s''\n"

	.comm	_CLOSE_STAYDOWN,4,2             ## @CLOSE_STAYDOWN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bundle_AutoAdjust              ; -- Begin function bundle_AutoAdjust
	.p2align	2
_bundle_AutoAdjust:                     ; @bundle_AutoAdjust
	.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
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_16
; %bb.1:
	mov	x8, x1
	mov	x19, x0
	mov	x9, #0
	mov	x20, #0
Lloh0:
	adrp	x10, _PHYS_AUTO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PHYS_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _DATALINK_OPEN@GOTPAGE
Lloh4:
	ldr	x11, [x11, _DATALINK_OPEN@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _AUTO_DOWN@GOTPAGE
Lloh7:
	ldr	x12, [x12, _AUTO_DOWN@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x12]
Lloh9:
	adrp	x12, _DATALINK_CLOSED@GOTPAGE
Lloh10:
	ldr	x12, [x12, _DATALINK_CLOSED@GOTPAGEOFF]
Lloh11:
	ldr	x14, [x12]
Lloh12:
	adrp	x12, _AUTO_UP@GOTPAGE
Lloh13:
	ldr	x12, [x12, _AUTO_UP@GOTPAGEOFF]
	ldr	w15, [x12]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w13, w2
	ccmp	x16, x11, #0, eq
	csel	x9, x21, x9, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x21, #24]
	cbz	x21, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x16, [x21, #16]
	ldr	x17, [x16]
	ldr	x16, [x21]
	cmp	x17, x10
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x16, x11
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x20, #0
	csel	x16, x9, x20, eq
	cmp	w13, w2
	csel	x20, x20, x21, ne
	csel	x9, x9, x16, ne
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	x16, x14
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w15, w2
	b.ne	LBB0_3
	b	LBB0_12
LBB0_9:
	cbz	x20, LBB0_16
; %bb.10:
	ldr	w10, [x12]
	cmp	w10, w2
	b.ne	LBB0_13
; %bb.11:
	mov	x21, x20
LBB0_12:
Lloh14:
	adrp	x9, _LogPHASE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LogPHASE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x9]
	ldr	w3, [x21, #8]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_log_Printf
	mov	x0, x21
	mov	w1, #1
	mov	w2, #1
	bl	_datalink_Up
	b	LBB0_15
LBB0_13:
	cbz	x9, LBB0_16
; %bb.14:
Lloh19:
	adrp	x9, _LogPHASE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _LogPHASE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x9]
	ldr	w3, [x20, #8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x8
	bl	_log_Printf
Lloh24:
	adrp	x8, _CLOSE_STAYDOWN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CLOSE_STAYDOWN@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_datalink_Close
LBB0_15:
	mov	x0, x19
	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	_mp_CheckAutoloadTimer
LBB0_16:
	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
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_PHYS_AUTO,8,3                  ; @PHYS_AUTO
	.comm	_DATALINK_OPEN,8,3              ; @DATALINK_OPEN
	.comm	_AUTO_DOWN,4,2                  ; @AUTO_DOWN
	.comm	_DATALINK_CLOSED,8,3            ; @DATALINK_CLOSED
	.comm	_AUTO_UP,4,2                    ; @AUTO_UP
	.comm	_LogPHASE,4,2                   ; @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%% saturation -> Opening link ``%s''\n"

l_.str.1:                               ; @.str.1
	.asciz	"%d%% saturation -> Closing link ``%s''\n"

	.comm	_CLOSE_STAYDOWN,4,2             ; @CLOSE_STAYDOWN
.subsections_via_symbols
