	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bundle_LayerUp
_bundle_LayerUp:                        ## @bundle_LayerUp
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rsi), %rdi
	movq	_PROTO_LCP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_1
## %bb.9:
	movl	16(%rbx), %edi
	callq	_link2physical
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_bundle_LinkAdded
	addq	$12, %r14
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mp_CheckAutoloadTimer          ## TAILCALL
LBB0_1:
	callq	_isncp
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	8(%rbx), %rdi
	callq	_ncp_LayersOpen
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.3:
	movq	8(%rbx), %rdi
	callq	_bundle_CalculateBandwidth
	leaq	8(%r14), %rdi
	callq	_time
	cmpq	$0, (%r14)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bundle_StartSessionTimer
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_bundle_StartIdleTimer
	movq	8(%rbx), %rdi
	callq	_mp_CheckAutoloadTimer
LBB0_6:
	movq	_EX_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bundle_Notify                  ## TAILCALL
LBB0_7:
	movq	(%rbx), %rax
	movq	_PROTO_CCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.10:
	movq	8(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bundle_CalculateBandwidth      ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROTO_LCP,8,3                  ## @PROTO_LCP
	.comm	_EX_NORMAL,4,2                  ## @EX_NORMAL
	.comm	_PROTO_CCP,8,3                  ## @PROTO_CCP
	.no_dead_strip	_bundle_LayerUp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bundle_LayerUp
_bundle_LayerUp:                        ; @bundle_LayerUp
	.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	x20, x1
	mov	x19, x0
	ldr	x0, [x1]
Lloh0:
	adrp	x8, _PROTO_LCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PROTO_LCP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x20, #16]
	bl	_link2physical
	ldr	w1, [x0]
	mov	x0, x19
	bl	_bundle_LinkAdded
	add	x0, x19, #12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mp_CheckAutoloadTimer
LBB0_2:
	bl	_isncp
	cbz	x0, LBB0_8
; %bb.3:
	ldr	x0, [x20, #8]
	bl	_ncp_LayersOpen
	cmp	w0, #1
	b.ne	LBB0_7
; %bb.4:
	ldr	x0, [x20, #8]
	bl	_bundle_CalculateBandwidth
	add	x0, x19, #8
	bl	_time
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	bl	_bundle_StartSessionTimer
LBB0_6:
	mov	x0, x19
	mov	w1, #0
	bl	_bundle_StartIdleTimer
	ldr	x0, [x20, #8]
	bl	_mp_CheckAutoloadTimer
LBB0_7:
Lloh3:
	adrp	x8, _EX_NORMAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_NORMAL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bundle_Notify
LBB0_8:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _PROTO_CCP@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PROTO_CCP@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	x0, [x20, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bundle_CalculateBandwidth
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_PROTO_LCP,8,3                  ; @PROTO_LCP
	.comm	_EX_NORMAL,4,2                  ; @EX_NORMAL
	.comm	_PROTO_CCP,8,3                  ; @PROTO_CCP
	.no_dead_strip	_bundle_LayerUp
.subsections_via_symbols
