	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function datalink_LayerUp
_datalink_LayerUp:                      ## @datalink_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	%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	%rdi, %r14
	movq	(%rdi), %rbx
	movq	(%rsi), %rax
	movq	_PROTO_LCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_datalink_GotAuthname
	movq	16(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	%rax, 8(%rbx)
	movq	%rcx, 24(%rbx)
	orq	%rax, %rcx
	jne	LBB0_2
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_datalink_AuthOk                ## TAILCALL
LBB0_9:
	movq	_PROTO_CCP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.11:
	movq	8(%r14), %rax
	movq	8(%rax), %rcx
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rcx                           ## TAILCALL
LBB0_2:
	movl	28(%r14), %edi
	callq	_bundle_Phase
	movq	_PHASE_NETWORK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movl	28(%r14), %edi
	movq	_PHASE_AUTHENTICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_bundle_NewPhase
LBB0_4:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	24(%r14), %r12d
	movq	32(%rbx), %rdi
	movl	44(%rbx), %esi
	callq	_Auth2Nam
	movl	%eax, %r13d
	movq	16(%rbx), %rdi
	movl	40(%rbx), %esi
	callq	_Auth2Nam
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_log_Printf
	movq	32(%rbx), %rax
	movq	_PROTO_PAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	20(%r14), %rdi
	callq	_auth_StartReq
LBB0_6:
	movq	16(%rbx), %rax
	movq	_PROTO_CHAP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.7:
	addq	$16, %r14
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_auth_StartReq                  ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROTO_LCP,8,3                  ## @PROTO_LCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_PHASE_NETWORK,8,3              ## @PHASE_NETWORK
	.comm	_PHASE_AUTHENTICATE,4,2         ## @PHASE_AUTHENTICATE
	.comm	_LogPHASE,4,2                   ## @LogPHASE
L_.str.1:                               ## @.str.1
	.asciz	"%s: his = %s, mine = %s\n"

	.comm	_PROTO_PAP,8,3                  ## @PROTO_PAP
	.comm	_PROTO_CHAP,8,3                 ## @PROTO_CHAP
	.comm	_PROTO_CCP,8,3                  ## @PROTO_CCP
	.no_dead_strip	_datalink_LayerUp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function datalink_LayerUp
_datalink_LayerUp:                      ; @datalink_LayerUp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x20, [x0]
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _PROTO_LCP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PROTO_LCP@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_datalink_GotAuthname
	ldr	x8, [x20, #16]
	str	x8, [x20, #8]
	ldr	x9, [x20, #32]
	str	x9, [x20, #24]
	orr	x8, x9, x8
	cbnz	x8, LBB0_5
; %bb.2:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_datalink_AuthOk
LBB0_3:
Lloh5:
	adrp	x9, _PROTO_CCP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PROTO_CCP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x2, [x8, #8]
	ldr	w0, [x8]
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x2
LBB0_5:
	ldr	w0, [x19, #28]
	bl	_bundle_Phase
Lloh8:
	adrp	x8, _PHASE_NETWORK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PHASE_NETWORK@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	ldr	w0, [x19, #28]
Lloh11:
	adrp	x8, _PHASE_AUTHENTICATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PHASE_AUTHENTICATE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_bundle_NewPhase
LBB0_7:
Lloh14:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh16:
	ldr	w21, [x8]
	ldr	w22, [x19, #24]
	ldr	x0, [x20, #32]
	ldr	w1, [x20, #44]
	bl	_Auth2Nam
	mov	x23, x0
	ldr	x0, [x20, #16]
	ldr	w1, [x20, #40]
	bl	_Auth2Nam
	mov	x4, x0
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	mov	x3, x23
	bl	_log_Printf
	ldr	x8, [x20, #32]
Lloh19:
	adrp	x9, _PROTO_PAP@GOTPAGE
Lloh20:
	ldr	x9, [x9, _PROTO_PAP@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	add	x0, x19, #20
	bl	_auth_StartReq
LBB0_9:
	ldr	x8, [x20, #16]
Lloh22:
	adrp	x9, _PROTO_CHAP@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PROTO_CHAP@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
	add	x0, x19, #16
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_auth_StartReq
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_PROTO_LCP,8,3                  ; @PROTO_LCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_PHASE_NETWORK,8,3              ; @PHASE_NETWORK
	.comm	_PHASE_AUTHENTICATE,4,2         ; @PHASE_AUTHENTICATE
	.comm	_LogPHASE,4,2                   ; @LogPHASE
l_.str.1:                               ; @.str.1
	.asciz	"%s: his = %s, mine = %s\n"

	.comm	_PROTO_PAP,8,3                  ; @PROTO_PAP
	.comm	_PROTO_CHAP,8,3                 ; @PROTO_CHAP
	.comm	_PROTO_CCP,8,3                  ; @PROTO_CCP
	.no_dead_strip	_datalink_LayerUp
.subsections_via_symbols
