	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datalink_Up                    ## -- Begin function datalink_Up
	.p2align	4, 0x90
_datalink_Up:                           ## @datalink_Up
	.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
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	36(%rdi), %edi
	movq	_OPT_FORCE_SCRIPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Enabled
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	24(%rbx), %rax
	movq	_PHYS_DIRECT@GOTPCREL(%rip), %rcx
	movq	_PHYS_DEDICATED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	xorl	%ecx, %ecx
	testl	%edx, (%rax)
	cmovnel	%ecx, %r15d
LBB0_2:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$4, %ecx
	ja	LBB0_16
## %bb.3:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_13:
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.14:
	cmpl	$0, 8(%rbx)
	jne	LBB0_16
## %bb.15:
	movl	$1, 8(%rbx)
	cmpl	$128, %eax
	jne	LBB0_16
## %bb.17:
	movl	$0, 4(%rbx)
	movq	_DATALINK_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_datalink_NewState              ## TAILCALL
LBB0_10:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.11:
	cmpl	$0, 4(%rbx)
	jne	LBB0_13
## %bb.12:
	movl	$1, 4(%rbx)
	jmp	LBB0_13
LBB0_4:
	movl	36(%rbx), %edi
	callq	_bundle_Phase
	movq	_PHASE_DEAD@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.5:
	movl	36(%rbx), %edi
	callq	_bundle_Phase
	movq	_PHASE_TERMINATE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
LBB0_6:
	movl	36(%rbx), %edi
	movq	_PHASE_ESTABLISH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bundle_NewPhase
LBB0_7:
	movq	%rbx, %rdi
	movl	$129, %esi
	callq	_datalink_NewState
	movq	24(%rbx), %rax
	movl	(%rax), %ecx
	movq	_PHYS_DIRECT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_9
## %bb.8:
	movl	16(%rbx), %eax
LBB0_9:
	movl	%eax, 32(%rbx)
	movl	12(%rbx), %eax
	movl	%eax, 20(%rbx)
	movl	%r15d, 4(%rbx)
	movl	%r14d, 8(%rbx)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_13
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_OPT_FORCE_SCRIPTS,4,2          ## @OPT_FORCE_SCRIPTS
	.comm	_PHYS_DIRECT,4,2                ## @PHYS_DIRECT
	.comm	_PHYS_DEDICATED,4,2             ## @PHYS_DEDICATED
	.comm	_PHASE_DEAD,4,2                 ## @PHASE_DEAD
	.comm	_PHASE_TERMINATE,4,2            ## @PHASE_TERMINATE
	.comm	_PHASE_ESTABLISH,4,2            ## @PHASE_ESTABLISH
	.comm	_DATALINK_CARRIER,4,2           ## @DATALINK_CARRIER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_datalink_Up                    ; -- Begin function datalink_Up
	.p2align	2
_datalink_Up:                           ; @datalink_Up
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #36]
Lloh0:
	adrp	x8, _OPT_FORCE_SCRIPTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPT_FORCE_SCRIPTS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_Enabled
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PHYS_DIRECT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHYS_DIRECT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _PHYS_DEDICATED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PHYS_DEDICATED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	csel	w21, w21, wzr, eq
LBB0_2:
	ldr	w8, [x19]
	sub	w9, w8, #128
	cmp	w9, #4
	b.hi	LBB0_18
; %bb.3:
Lloh9:
	adrp	x10, lJTI0_0@PAGE
Lloh10:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	cbz	w20, LBB0_18
; %bb.5:
	ldr	w9, [x19, #8]
	cbnz	w9, LBB0_18
; %bb.6:
	mov	w9, #1
	str	w9, [x19, #8]
	cmp	w8, #128
	b.ne	LBB0_18
; %bb.7:
	str	wzr, [x19, #4]
Lloh11:
	adrp	x8, _DATALINK_CARRIER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DATALINK_CARRIER@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	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	_datalink_NewState
LBB0_8:
	cbz	w21, LBB0_4
; %bb.9:
	ldr	w9, [x19, #4]
	cbnz	w9, LBB0_4
; %bb.10:
	mov	w9, #1
	str	w9, [x19, #4]
	b	LBB0_4
LBB0_11:
	ldr	w0, [x19, #36]
	bl	_bundle_Phase
Lloh14:
	adrp	x8, _PHASE_DEAD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PHASE_DEAD@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_13
; %bb.12:
	ldr	w0, [x19, #36]
	bl	_bundle_Phase
Lloh17:
	adrp	x8, _PHASE_TERMINATE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PHASE_TERMINATE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_14
LBB0_13:
	ldr	w0, [x19, #36]
Lloh20:
	adrp	x8, _PHASE_ESTABLISH@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PHASE_ESTABLISH@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	bl	_bundle_NewPhase
LBB0_14:
	mov	x0, x19
	mov	w1, #129
	bl	_datalink_NewState
	ldr	x8, [x19, #24]
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _PHYS_DIRECT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PHYS_DIRECT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_16
; %bb.15:
	mov	w8, #0
	b	LBB0_17
LBB0_16:
	ldr	w8, [x19, #16]
LBB0_17:
	str	w8, [x19, #32]
	ldr	w8, [x19, #12]
	str	w8, [x19, #20]
	stp	w21, w20, [x19, #4]
LBB0_18:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_OPT_FORCE_SCRIPTS,4,2          ; @OPT_FORCE_SCRIPTS
	.comm	_PHYS_DIRECT,4,2                ; @PHYS_DIRECT
	.comm	_PHYS_DEDICATED,4,2             ; @PHYS_DEDICATED
	.comm	_PHASE_DEAD,4,2                 ; @PHASE_DEAD
	.comm	_PHASE_TERMINATE,4,2            ; @PHASE_TERMINATE
	.comm	_PHASE_ESTABLISH,4,2            ; @PHASE_ESTABLISH
	.comm	_DATALINK_CARRIER,4,2           ; @DATALINK_CARRIER
.subsections_via_symbols
