	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_vs_proc_conn
_ip_vs_proc_conn:                       ## @ip_vs_proc_conn
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	48(%rbp), %r10
	movq	40(%rbp), %rsi
	movl	32(%rbp), %edi
	movq	24(%rbp), %r12
	movl	16(%rbp), %ebx
	movq	_IP_VS_CONN_F_TEMPLATE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%r10, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%r9, %rbx
	movq	%r13, %rdi
	je	LBB0_1
## %bb.2:
	callq	_ip_vs_ct_in_get
	jmp	LBB0_3
LBB0_1:
	callq	_ip_vs_conn_in_get
LBB0_3:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	(%r13), %rdi
	callq	_kfree
	movq	32(%r14), %rbx
	movl	(%r14), %ecx
	xorl	%r15d, %ecx
	movq	_IP_VS_CONN_F_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %ecx
	je	LBB0_10
## %bb.5:
	movq	_IP_VS_CONN_F_TEMPLATE@GOTPCREL(%rip), %rcx
	testl	%r15d, (%rcx)
	jne	LBB0_10
## %bb.6:
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.7:
	leaq	8(%rbx), %rdi
	testl	%r15d, %eax
	je	LBB0_9
## %bb.8:
	callq	_atomic_dec
	leaq	4(%rbx), %rdi
	callq	_atomic_inc
	jmp	LBB0_10
LBB0_18:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %r8d
	movl	12(%r13), %ecx
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movq	%rbx, %r14
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%r15
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	callq	_ip_vs_find_dest
	addq	$16, %rsp
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r15d, %ecx
	movq	%rax, %r8
	movl	%ebx, %r9d
	callq	_ip_vs_conn_new
	movq	%rax, %r14
	testq	%r12, %r12
	je	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	callq	_atomic_dec
LBB0_20:
	testq	%r14, %r14
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_13
## %bb.21:
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_kfree
LBB0_23:
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IP_VS_DBG                      ## TAILCALL
LBB0_9:
	callq	_atomic_inc
	leaq	4(%rbx), %rdi
	callq	_atomic_dec
LBB0_10:
	movq	_IP_VS_CONN_F_BACKUP_UPD_MASK@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	xorl	%ecx, %r15d
	andl	(%rax), %r15d
	xorl	%ecx, %r15d
	movl	%r15d, (%r14)
	testq	%rbx, %rbx
	jne	LBB0_13
## %bb.11:
	movq	%r14, %rdi
	callq	_ip_vs_try_bind_dest
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %rdi
	callq	_atomic_dec
LBB0_13:
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_15
## %bb.14:
	leaq	28(%r14), %rdi
	movl	$4, %edx
	callq	_memcpy
LBB0_15:
	leaq	24(%r14), %rbx
	xorl	%eax, %eax
	callq	_sysctl_sync_threshold
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_atomic_set
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 4(%r14)
	movl	%ecx, 8(%r14)
	testq	%r12, %r12
	je	LBB0_26
## %bb.16:
	movq	_MAX_SCHEDULE_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_17
## %bb.24:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_25
LBB0_26:
	movq	_IP_VS_CONN_F_TEMPLATE@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_27
LBB0_29:
	movq	_HZ@GOTPCREL(%rip), %rax
	imulq	$180, (%rax), %r12
	jmp	LBB0_30
LBB0_17:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
LBB0_25:
	cmpq	%r12, %rax
	cmovbq	%rax, %r12
	imulq	%rcx, %r12
LBB0_30:
	movq	%r12, 16(%r14)
	movq	%r14, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ip_vs_conn_put                 ## TAILCALL
LBB0_27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movl	%ecx, %ecx
	movq	(%rax,%rcx,8), %r12
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_VS_CONN_F_TEMPLATE,4,2      ## @IP_VS_CONN_F_TEMPLATE
	.comm	_IP_VS_CONN_F_INACTIVE,4,2      ## @IP_VS_CONN_F_INACTIVE
	.comm	_IP_VS_CONN_F_BACKUP_UPD_MASK,4,2 ## @IP_VS_CONN_F_BACKUP_UPD_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BACKUP, add new conn. failed\n"

	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ## @MAX_SCHEDULE_TIMEOUT
	.comm	_HZ,8,3                         ## @HZ
	.no_dead_strip	_ip_vs_proc_conn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_vs_proc_conn
_ip_vs_proc_conn:                       ; @ip_vs_proc_conn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x7
	mov	x25, x6
	mov	x26, x5
	mov	x19, x4
	mov	x28, x3
	mov	x21, x1
	mov	x24, x0
	ldp	x23, x9, [x29, #24]
	ldr	w27, [x29, #16]
Lloh0:
	adrp	x8, _IP_VS_CONN_F_TEMPLATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IP_VS_CONN_F_TEMPLATE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	str	w2, [sp, #12]                   ; 4-byte Folded Spill
	str	x9, [sp]                        ; 8-byte Folded Spill
	b.eq	LBB0_6
; %bb.1:
	bl	_ip_vs_ct_in_get
	mov	x22, x0
	cbz	x0, LBB0_7
LBB0_2:
	ldr	x0, [x24]
	bl	_kfree
	ldr	x19, [x22, #32]
	ldr	w8, [x22]
	eor	w9, w8, w21
Lloh3:
	adrp	x8, _IP_VS_CONN_F_INACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IP_VS_CONN_F_INACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.3:
Lloh6:
	adrp	x9, _IP_VS_CONN_F_TEMPLATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IP_VS_CONN_F_TEMPLATE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w9, w9, w21
	cmp	w9, #0
	ccmp	x19, #0, #4, eq
	b.eq	LBB0_14
; %bb.4:
	add	x0, x19, #8
	tst	w8, w21
	b.eq	LBB0_13
; %bb.5:
	bl	_atomic_dec
	add	x0, x19, #4
	bl	_atomic_inc
	b	LBB0_14
LBB0_6:
	bl	_ip_vs_conn_in_get
	mov	x22, x0
	cbnz	x0, LBB0_2
LBB0_7:
	ldp	w4, w3, [x24, #8]
	mov	x0, x19
	mov	x1, x26
	mov	x2, x25
	mov	x5, x28
	mov	x6, x27
	mov	x7, x21
	bl	_ip_vs_find_dest
	mov	x19, x0
	mov	x0, x24
	mov	x1, x26
	mov	x2, x25
	mov	x3, x21
	mov	x4, x19
	mov	x5, x27
	bl	_ip_vs_conn_new
	mov	x22, x0
	cbz	x19, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_atomic_dec
LBB0_9:
	cbnz	x22, LBB0_17
; %bb.10:
	ldr	x0, [x24]
	cbz	x0, LBB0_12
; %bb.11:
	bl	_kfree
LBB0_12:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_IP_VS_DBG
LBB0_13:
	bl	_atomic_inc
	add	x0, x19, #4
	bl	_atomic_dec
LBB0_14:
Lloh11:
	adrp	x8, _IP_VS_CONN_F_BACKUP_UPD_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IP_VS_CONN_F_BACKUP_UPD_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	and	w9, w8, w21
	ldr	w10, [x22]
	bic	w8, w10, w8
	orr	w21, w8, w9
	str	w21, [x22]
	cbnz	x19, LBB0_17
; %bb.15:
	mov	x0, x22
	bl	_ip_vs_try_bind_dest
	cbz	x0, LBB0_17
; %bb.16:
	bl	_atomic_dec
LBB0_17:
	cbz	x23, LBB0_19
; %bb.18:
	add	x0, x22, #28
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
LBB0_19:
	add	x19, x22, #24
	bl	_sysctl_sync_threshold
	mov	x1, x0
	mov	x0, x19
	bl	_atomic_set
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	stp	w9, w9, [x22, #4]
	cbz	x20, LBB0_21
; %bb.20:
Lloh14:
	adrp	x8, _MAX_SCHEDULE_TIMEOUT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_SCHEDULE_TIMEOUT@GOTPAGEOFF]
Lloh16:
	adrp	x9, _HZ@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
Lloh19:
	ldr	x9, [x9]
	udiv	x8, x8, x9
	cmp	x8, x20
	csel	x8, x8, x20, lo
	b	LBB0_23
LBB0_21:
Lloh20:
	adrp	x8, _IP_VS_CONN_F_TEMPLATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _IP_VS_CONN_F_TEMPLATE@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_25
LBB0_22:
Lloh23:
	adrp	x8, _HZ@GOTPAGE
Lloh24:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	mov	w9, #180
LBB0_23:
	mul	x8, x8, x9
LBB0_24:
	str	x8, [x22, #16]
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_ip_vs_conn_put
LBB0_25:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x8, [x8]
	cbz	x8, LBB0_22
; %bb.26:
	ldr	x8, [x8, w9, uxtw #3]
	b	LBB0_24
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_VS_CONN_F_TEMPLATE,4,2      ; @IP_VS_CONN_F_TEMPLATE
	.comm	_IP_VS_CONN_F_INACTIVE,4,2      ; @IP_VS_CONN_F_INACTIVE
	.comm	_IP_VS_CONN_F_BACKUP_UPD_MASK,4,2 ; @IP_VS_CONN_F_BACKUP_UPD_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BACKUP, add new conn. failed\n"

	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ; @MAX_SCHEDULE_TIMEOUT
	.comm	_HZ,8,3                         ; @HZ
	.no_dead_strip	_ip_vs_proc_conn
.subsections_via_symbols
