	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip_vs_unbind_dest
_ip_vs_unbind_dest:                     ## @ip_vs_unbind_dest
	.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
	movq	48(%rdi), %r15
	testq	%r15, %r15
	je	LBB0_14
## %bb.1:
	movq	%rdi, %rbx
	movl	40(%rdi), %edi
	callq	_ip_vs_proto_name
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %edi
	leaq	36(%rbx), %rsi
	callq	_IP_VS_DBG_ADDR
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_ntohs
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	20(%rbx), %edi
	leaq	28(%rbx), %rsi
	callq	_IP_VS_DBG_ADDR
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	24(%rbx), %edi
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	20(%rbx), %edi
	leaq	16(%rbx), %rsi
	callq	_IP_VS_DBG_ADDR
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edi
	callq	_ntohs
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_ip_vs_fwd_tag
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r14d
	movl	8(%rbx), %r12d
	leaq	4(%rbx), %rdi
	callq	_atomic_read
	movl	%eax, %r13d
	leaq	16(%r15), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_atomic_read
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str(%rip), %rsi
	movl	$7, %edi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
	movl	-56(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r13
	pushq	%r14
	pushq	%r12
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	callq	_IP_VS_DBG_BUF
	addq	$64, %rsp
	movl	(%rbx), %eax
	movq	_IP_VS_CONN_F_TEMPLATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.5:
	leaq	20(%r15), %rdi
	jmp	LBB0_6
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_IP_VS_CONN_F_INACTIVE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.3:
	leaq	28(%r15), %rdi
	jmp	LBB0_6
LBB0_4:
	leaq	24(%r15), %rdi
LBB0_6:
	callq	_atomic_dec
	cmpq	$0, (%r15)
	je	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_ip_vs_dest_totalconns
	cltq
	cmpq	%rax, (%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jg	LBB0_8
	jmp	LBB0_13
LBB0_9:
	cmpl	$0, 12(%r15)
	je	LBB0_11
## %bb.10:
	movq	%r15, %rdi
	callq	_ip_vs_dest_totalconns
	shll	$2, %eax
	movl	12(%r15), %ecx
	leal	(%rcx,%rcx,2), %ecx
	cmpl	%ecx, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jge	LBB0_13
LBB0_8:
	movq	_IP_VS_DEST_F_OVERLOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%r15)
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_atomic_dec                     ## TAILCALL
LBB0_11:
	movl	8(%r15), %eax
	movq	_IP_VS_DEST_F_OVERLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_13
## %bb.12:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, 8(%r15)
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unbind-dest %s c:%s:%d v:%s:%d d:%s:%d fwd:%c s:%u conn->flags:%X conn->refcnt:%d dest->refcnt:%d\n"

	.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_DEST_F_OVERLOAD,4,2      ## @IP_VS_DEST_F_OVERLOAD
	.no_dead_strip	_ip_vs_unbind_dest
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip_vs_unbind_dest
_ip_vs_unbind_dest:                     ; @ip_vs_unbind_dest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x19, [x0, #48]
	cbz	x19, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w0, [x0, #40]
	bl	_ip_vs_proto_name
	str	w0, [sp, #44]                   ; 4-byte Folded Spill
	ldr	w0, [x21, #20]
	add	x1, x21, #36
	bl	_IP_VS_DBG_ADDR
	str	w0, [sp, #40]                   ; 4-byte Folded Spill
	ldr	w0, [x21, #32]
	bl	_ntohs
	str	w0, [sp, #36]                   ; 4-byte Folded Spill
	ldr	w0, [x21, #20]
	add	x1, x21, #28
	bl	_IP_VS_DBG_ADDR
	mov	x25, x0
	ldr	w0, [x21, #24]
	bl	_ntohs
	mov	x26, x0
	ldr	w0, [x21, #20]
	add	x1, x21, #16
	bl	_IP_VS_DBG_ADDR
	mov	x27, x0
	ldr	w0, [x21, #12]
	bl	_ntohs
	mov	x28, x0
	mov	x0, x21
	bl	_ip_vs_fwd_tag
	mov	x22, x0
	ldr	w24, [x21, #8]
	ldr	w20, [x21]
	add	x0, x21, #4
	bl	_atomic_read
	mov	x23, x0
	add	x0, x19, #16
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	bl	_atomic_read
	stp	w23, w0, [sp, #16]
	stp	w24, w20, [sp, #8]
	stp	w28, w22, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #7
	ldp	w3, w2, [sp, #40]               ; 8-byte Folded Reload
	ldr	w4, [sp, #36]                   ; 4-byte Folded Reload
	mov	x5, x25
	mov	x6, x26
	mov	x7, x27
	bl	_IP_VS_DBG_BUF
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _IP_VS_CONN_F_TEMPLATE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IP_VS_CONN_F_TEMPLATE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	add	x0, x19, #20
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
Lloh5:
	adrp	x9, _IP_VS_CONN_F_INACTIVE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IP_VS_CONN_F_INACTIVE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	add	x8, x19, #24
	add	x9, x19, #28
	csel	x0, x8, x9, eq
LBB0_5:
	bl	_atomic_dec
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ip_vs_dest_totalconns
	ldr	x8, [x19]
	cmp	x8, w0, sxtw
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	b.gt	LBB0_9
	b	LBB0_11
LBB0_7:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_12
; %bb.8:
	mov	x0, x19
	bl	_ip_vs_dest_totalconns
	ldr	w8, [x19, #12]
	add	w8, w8, w8, lsl #1
	cmp	w8, w0, lsl #2
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	b.le	LBB0_11
LBB0_9:
Lloh8:
	adrp	x8, _IP_VS_DEST_F_OVERLOAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IP_VS_DEST_F_OVERLOAD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
LBB0_10:
	str	w8, [x19, #8]
LBB0_11:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_atomic_dec
LBB0_12:
	ldr	w8, [x19, #8]
Lloh11:
	adrp	x9, _IP_VS_DEST_F_OVERLOAD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IP_VS_DEST_F_OVERLOAD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	b.eq	LBB0_11
; %bb.13:
	bic	w8, w8, w9
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unbind-dest %s c:%s:%d v:%s:%d d:%s:%d fwd:%c s:%u conn->flags:%X conn->refcnt:%d dest->refcnt:%d\n"

	.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_DEST_F_OVERLOAD,4,2      ; @IP_VS_DEST_F_OVERLOAD
	.no_dead_strip	_ip_vs_unbind_dest
.subsections_via_symbols
