	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_Up                          ## -- Begin function mp_Up
	.p2align	4, 0x90
_mp_Up:                                 ## @mp_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	%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	%rsi, %r14
	movq	%rdi, %rbx
	movq	8(%rsi), %r15
	cmpl	$0, (%rdi)
	je	LBB0_7
## %bb.1:
	leaq	16(%r14), %rdi
	leaq	88(%rbx), %rsi
	callq	_peerid_Equal
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	movq	8(%rbx), %rax
	cmpq	8(%r15), %rax
	jne	LBB0_11
## %bb.3:
	movq	16(%rbx), %rax
	cmpq	16(%r15), %rax
	jne	LBB0_11
## %bb.4:
	movq	24(%rbx), %rax
	cmpq	24(%r15), %rax
	jne	LBB0_11
## %bb.5:
	movq	32(%rbx), %rax
	cmpq	32(%r15), %rax
	jne	LBB0_11
## %bb.6:
	movq	_MP_ADDED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_7:
	movups	8(%r15), %xmm0
	movups	%xmm0, 8(%rbx)
	movups	24(%r15), %xmm0
	movups	%xmm0, 24(%rbx)
	leaq	88(%rbx), %r15
	movups	16(%r14), %xmm0
	movups	%xmm0, 88(%rbx)
	leaq	44(%rbx), %r12
	movq	%r12, %rdi
	callq	_throughput_destroy
	movl	144(%rbx), %esi
	movq	%r12, %rdi
	callq	_throughput_init
	movq	_mp_UpDown@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_throughput_callback
	movl	56(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	52(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	48(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r14), %rax
	movq	%r12, (%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%rbx)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 120(%rbx)
	leaq	72(%rbx), %rdi
	movups	%xmm0, 104(%rbx)
	movq	%r15, %rsi
	callq	_mpserver_Open
	cmpl	$128, %eax
	je	LBB0_13
## %bb.8:
	cmpl	$129, %eax
	je	LBB0_17
## %bb.9:
	cmpl	$130, %eax
	jne	LBB0_16
## %bb.10:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	72(%rbx), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movq	%r14, 80(%rbx)
	movq	_MP_LINKSENT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_11:
	movq	_LogPHASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_17
LBB0_12:
	movq	_LogPHASE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movl	(%r13), %r15d
	movl	100(%rbx), %r12d
	movl	96(%rbx), %edi
	movl	88(%rbx), %edx
	movl	92(%rbx), %esi
	callq	_mp_Enddisc
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %edi
	movl	%r12d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	(%r13), %ebx
	movl	28(%r14), %r15d
	movl	24(%r14), %edi
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	callq	_mp_Enddisc
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_log_Printf
LBB0_17:
	movq	_MP_FAILED@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_13:
	leaq	40(%rbx), %r15
	movq	_LogPHASE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movl	72(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movl	(%r12), %edi
	movl	(%r14), %edx
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movq	64(%rbx), %rdi
	movq	%r15, %rsi
	callq	_ncp_SetLink
	movq	%r15, %rdi
	callq	_ccp_SetOpenMode
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movq	%r15, %rdi
	callq	_fsm_Up
	movq	%r15, %rdi
	callq	_fsm_Open
LBB0_15:
	movl	$1, (%rbx)
LBB0_16:
	movq	_MP_UP@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LogPHASE,4,2                   ## @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Inappropriate peer !\n"

L_.str.1:                               ## @.str.1
	.asciz	"  Attached to peer %s/%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"  New link is peer %s/%s\n"

	.comm	_MP_FAILED,4,2                  ## @MP_FAILED
L_.str.3:                               ## @.str.3
	.asciz	"%s: Invalid MRRU/SHORTSEQ MP parameters !\n"

	.comm	_MP_ADDED,4,2                   ## @MP_ADDED
	.comm	_mp_UpDown,4,2                  ## @mp_UpDown
	.comm	_AF_INET,4,2                    ## @AF_INET
L_.str.4:                               ## @.str.4
	.asciz	"mp: Transfer link on %s\n"

	.comm	_MP_LINKSENT,4,2                ## @MP_LINKSENT
L_.str.5:                               ## @.str.5
	.asciz	"mp: Listening on %s\n"

L_.str.6:                               ## @.str.6
	.asciz	"    First link: %s\n"

	.comm	_MP_UP,4,2                      ## @MP_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp_Up                          ; -- Begin function mp_Up
	.p2align	2
_mp_Up:                                 ; @mp_Up
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	ldr	x21, [x1, #8]
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	add	x0, x20, #16
	add	x1, x19, #88
	bl	_peerid_Equal
	cbz	w0, LBB0_12
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.3:
	ldr	x8, [x19, #16]
	ldr	x9, [x21, #16]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [x19, #24]
	ldr	x9, [x21, #24]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.5:
	ldr	x8, [x19, #32]
	ldr	x9, [x21, #32]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.6:
Lloh0:
	adrp	x8, _MP_ADDED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MP_ADDED@GOTPAGEOFF]
	b	LBB0_19
LBB0_7:
	ldur	q0, [x21, #8]
	stur	q0, [x19, #8]
	ldur	q0, [x21, #24]
	stur	q0, [x19, #24]
	add	x21, x19, #88
	ldr	q0, [x20, #16]
	stur	q0, [x19, #88]
	add	x22, x19, #44
	mov	x0, x22
	bl	_throughput_destroy
	ldr	w1, [x19, #144]
	mov	x0, x22
	bl	_throughput_init
Lloh2:
	adrp	x8, _mp_UpDown@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mp_UpDown@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x19
	bl	_throughput_callback
	ldr	w0, [x19, #56]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x19, #52]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w0, [x19, #48]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x20, #8]
	str	x22, [x8]
Lloh5:
	adrp	x8, _AF_INET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
	stp	xzr, xzr, [x19, #128]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #120]
	add	x0, x19, #72
	stp	xzr, xzr, [x19, #104]
	mov	x1, x21
	bl	_mpserver_Open
	cmp	w0, #128
	b.eq	LBB0_15
; %bb.8:
	cmp	w0, #129
	b.eq	LBB0_14
; %bb.9:
	cmp	w0, #130
	b.ne	LBB0_18
; %bb.10:
Lloh8:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	w2, [x19, #72]
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_log_Printf
	str	x20, [x19, #80]
Lloh13:
	adrp	x8, _MP_LINKSENT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MP_LINKSENT@GOTPAGEOFF]
	b	LBB0_19
LBB0_11:
Lloh15:
	adrp	x8, _LogPHASE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LogPHASE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w2, [x20]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh20:
	adrp	x23, _LogPHASE@GOTPAGE
Lloh21:
	ldr	x23, [x23, _LogPHASE@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x20]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	ldr	w21, [x23]
	ldp	w0, w22, [x19, #96]
	ldp	w2, w1, [x19, #88]
	bl	_mp_Enddisc
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_log_Printf
	ldr	w19, [x23]
	ldp	w0, w21, [x20, #24]
	ldp	w2, w1, [x20, #16]
	bl	_mp_Enddisc
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x21
LBB0_13:
	bl	_log_Printf
LBB0_14:
Lloh28:
	adrp	x8, _MP_FAILED@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MP_FAILED@GOTPAGEOFF]
	b	LBB0_19
LBB0_15:
	add	x21, x19, #40
Lloh30:
	adrp	x22, _LogPHASE@GOTPAGE
Lloh31:
	ldr	x22, [x22, _LogPHASE@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w2, [x19, #72]
Lloh32:
	adrp	x1, l_.str.5@PAGE
Lloh33:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_log_Printf
	ldr	w0, [x22]
	ldr	w2, [x20]
Lloh34:
	adrp	x1, l_.str.6@PAGE
Lloh35:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_log_Printf
	ldr	x0, [x19, #64]
	mov	x1, x21
	bl	_ncp_SetLink
	mov	x0, x21
	bl	_ccp_SetOpenMode
	cbz	w0, LBB0_17
; %bb.16:
	mov	x0, x21
	bl	_fsm_Up
	mov	x0, x21
	bl	_fsm_Open
LBB0_17:
	mov	w8, #1
	str	w8, [x19]
LBB0_18:
Lloh36:
	adrp	x8, _MP_UP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MP_UP@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_LogPHASE,4,2                   ; @LogPHASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Inappropriate peer !\n"

l_.str.1:                               ; @.str.1
	.asciz	"  Attached to peer %s/%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"  New link is peer %s/%s\n"

	.comm	_MP_FAILED,4,2                  ; @MP_FAILED
l_.str.3:                               ; @.str.3
	.asciz	"%s: Invalid MRRU/SHORTSEQ MP parameters !\n"

	.comm	_MP_ADDED,4,2                   ; @MP_ADDED
	.comm	_mp_UpDown,4,2                  ; @mp_UpDown
	.comm	_AF_INET,4,2                    ; @AF_INET
l_.str.4:                               ; @.str.4
	.asciz	"mp: Transfer link on %s\n"

	.comm	_MP_LINKSENT,4,2                ; @MP_LINKSENT
l_.str.5:                               ; @.str.5
	.asciz	"mp: Listening on %s\n"

l_.str.6:                               ; @.str.6
	.asciz	"    First link: %s\n"

	.comm	_MP_UP,4,2                      ; @MP_UP
.subsections_via_symbols
