	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_vs_process_message
_ip_vs_process_message:                 ## @ip_vs_process_message
	.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
	cmpq	$3, %rsi
	ja	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_ntohs
	movl	%eax, (%r14)
	cltq
	cmpq	%rbx, %rax
	jne	LBB0_4
## %bb.5:
	movq	_ip_vs_backup_syncid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	8(%r14), %rdx
	cmpq	%rax, %rdx
	jne	LBB0_25
LBB0_7:
	movq	16(%r14), %rax
	movq	_SYNC_PROTO_VER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.8:
	cmpq	$0, 24(%r14)
	jne	LBB0_22
## %bb.9:
	cmpq	$0, 32(%r14)
	je	LBB0_10
LBB0_22:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip_vs_process_message_v0       ## TAILCALL
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movl	$2, %edi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_DBG                      ## TAILCALL
LBB0_25:
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_DBG                      ## TAILCALL
LBB0_10:
	movl	40(%r14), %r12d
	testl	%r12d, %r12d
	jle	LBB0_24
## %bb.11:
	leaq	(%r14,%rbx,4), %r13
	addq	$192, %r14
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	leaq	16(%r14), %rax
	cmpq	%r13, %rax
	ja	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r14), %edi
	callq	_ntohs
	movl	%eax, %ebx
	movq	_SVER_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	leaq	(%r14,%rbx,4), %r15
	cmpq	%r13, %r15
	ja	LBB0_16
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r14), %edi
	callq	_ntohs
	movq	_SVER_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %eax
	testl	%eax, %eax
	jne	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_ip_vs_proc_sync_conn
	testl	%eax, %eax
	js	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	addl	$3, %ebx
	andl	$-4, %ebx
	leaq	(%r14,%rbx,4), %r14
	decl	%r12d
	jne	LBB0_12
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_14
LBB0_16:
	leaq	L_.str.4(%rip), %rdi
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_ERR_RL                   ## TAILCALL
LBB0_18:
	movl	(%r14), %edi
	callq	_ntohs
	movq	_SVER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %eax
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_21
LBB0_20:
	leaq	L_.str.6(%rip), %rdi
LBB0_21:
	movl	%eax, %esi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_ERR_RL                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BACKUP, message header too short\n"

L_.str.1:                               ## @.str.1
	.asciz	"BACKUP, bogus message size\n"

	.comm	_ip_vs_backup_syncid,8,3        ## @ip_vs_backup_syncid
L_.str.2:                               ## @.str.2
	.asciz	"BACKUP, Ignoring syncid = %d\n"

	.comm	_SYNC_PROTO_VER,8,3             ## @SYNC_PROTO_VER
L_.str.3:                               ## @.str.3
	.asciz	"BACKUP, Dropping buffer, to small\n"

	.comm	_SVER_MASK,4,2                  ## @SVER_MASK
L_.str.4:                               ## @.str.4
	.asciz	"BACKUP, Dropping buffer, msg > buffer\n"

	.comm	_SVER_SHIFT,4,2                 ## @SVER_SHIFT
L_.str.5:                               ## @.str.5
	.asciz	"BACKUP, Dropping buffer, Unknown version %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"BACKUP, Dropping buffer, Err: %d in decoding\n"

	.no_dead_strip	_ip_vs_process_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_vs_process_message
_ip_vs_process_message:                 ; @ip_vs_process_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	x1, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_2:
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	bl	_ntohs
                                        ; kill: def $w0 killed $w0 def $x0
	str	w0, [x21]
	sxtw	x8, w0
	cmp	x8, x20
	b.ne	LBB0_9
; %bb.3:
Lloh2:
	adrp	x8, _ip_vs_backup_syncid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ip_vs_backup_syncid@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x8]
	cbz	x9, LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_5:
	ldr	x8, [x21, #16]
Lloh5:
	adrp	x9, _SYNC_PROTO_VER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SYNC_PROTO_VER@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_8
; %bb.7:
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_13
LBB0_8:
	mov	x0, x21
	mov	x1, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_ip_vs_process_message_v0
LBB0_9:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	mov	w0, #2
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_IP_VS_DBG
LBB0_11:
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #7
	bl	_IP_VS_DBG
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	w22, [x21, #40]
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.14:
	add	x19, x21, #192
Lloh12:
	adrp	x24, _SVER_MASK@GOTPAGE
Lloh13:
	ldr	x24, [x24, _SVER_MASK@GOTPAGEOFF]
Lloh14:
	adrp	x23, _SVER_SHIFT@GOTPAGE
Lloh15:
	ldr	x23, [x23, _SVER_SHIFT@GOTPAGEOFF]
	add	x21, x21, x20, lsl #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x8, x19, #16
	cmp	x8, x21
	b.hi	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19]
	bl	_ntohs
	ldr	w8, [x24]
	and	w25, w8, w0
	add	x20, x19, w25, uxtw #2
	cmp	x20, x21
	b.hi	LBB0_21
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w0, [x19]
	bl	_ntohs
	ldr	w8, [x23]
	asr	w8, w0, w8
	cbnz	w8, LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ip_vs_proc_sync_conn
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w8, w25, #3
	and	w8, w8, #0xfffffffc
	add	x19, x19, w8, uxtw #2
	subs	w22, w22, #1
	b.ne	LBB0_15
	b	LBB0_12
LBB0_20:
Lloh16:
	adrp	x0, l_.str.3@PAGE
Lloh17:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_22
LBB0_21:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_22:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_IP_VS_ERR_RL
LBB0_23:
	ldr	w0, [x19]
	bl	_ntohs
	ldr	w8, [x23]
	asr	w8, w0, w8
	str	x8, [sp]
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_IP_VS_ERR_RL
	b	LBB0_12
LBB0_24:
	str	x0, [sp]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_IP_VS_ERR_RL
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BACKUP, message header too short\n"

l_.str.1:                               ; @.str.1
	.asciz	"BACKUP, bogus message size\n"

	.comm	_ip_vs_backup_syncid,8,3        ; @ip_vs_backup_syncid
l_.str.2:                               ; @.str.2
	.asciz	"BACKUP, Ignoring syncid = %d\n"

	.comm	_SYNC_PROTO_VER,8,3             ; @SYNC_PROTO_VER
l_.str.3:                               ; @.str.3
	.asciz	"BACKUP, Dropping buffer, to small\n"

	.comm	_SVER_MASK,4,2                  ; @SVER_MASK
l_.str.4:                               ; @.str.4
	.asciz	"BACKUP, Dropping buffer, msg > buffer\n"

	.comm	_SVER_SHIFT,4,2                 ; @SVER_SHIFT
l_.str.5:                               ; @.str.5
	.asciz	"BACKUP, Dropping buffer, Unknown version %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"BACKUP, Dropping buffer, Err: %d in decoding\n"

	.no_dead_strip	_ip_vs_process_message
.subsections_via_symbols
