	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ip_vs_update_dest
___ip_vs_update_dest:                   ## @__ip_vs_update_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %r15
	leaq	36(%rsi), %rdi
	movl	(%rdx), %esi
	callq	_atomic_set
	movq	_IP_VS_CONN_F_DEST_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	4(%r14), %r13d
	movq	_IP_VS_CONN_F_INACTIVE@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	20(%r14), %esi
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	_inet_addr_type
	movq	_RTN_LOCAL@GOTPCREL(%rip), %rcx
	movq	_IP_VS_CONN_F_FWD_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %ebx
	notl	%ebx
	andl	%r13d, %ebx
	movq	_IP_VS_CONN_F_LOCALNODE@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ebx
	cmpq	(%rcx), %rax
	cmovnel	%r13d, %ebx
	andl	%ebx, %edx
	movq	_IP_VS_CONN_F_MASQ@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_1
## %bb.2:
	movq	___ip_vs_rs_lock@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	callq	_write_lock_bh
	movq	%r12, %rdi
	callq	_ip_vs_rs_hash
	movq	%r13, %rdi
	callq	_write_unlock_bh
	jmp	LBB0_3
LBB0_1:
	movq	_IP_VS_CONN_F_NOOUTPUT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
LBB0_3:
	leaq	32(%r12), %rdi
	movl	%ebx, %esi
	callq	_atomic_set
	movq	24(%r12), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	%r15, %rax
	je	LBB0_7
## %bb.5:
	movq	%r12, %rdi
	callq	___ip_vs_unbind_svc
	leaq	16(%r12), %rdi
	callq	_ip_vs_zero_stats
LBB0_6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___ip_vs_bind_svc
LBB0_7:
	movq	_IP_VS_DEST_F_AVAILABLE@GOTPCREL(%rip), %rcx
	movl	12(%r12), %eax
	orl	(%rcx), %eax
	movl	%eax, 12(%r12)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:
	cmpq	(%r12), %rcx
	jle	LBB0_10
LBB0_9:
	movq	_IP_VS_DEST_F_OVERLOAD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, %eax
	movl	%eax, 12(%r12)
LBB0_10:
	movq	%rcx, (%r12)
	movl	16(%r14), %eax
	movl	%eax, 8(%r12)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IP_VS_CONN_F_DEST_MASK,4,2     ## @IP_VS_CONN_F_DEST_MASK
	.comm	_IP_VS_CONN_F_INACTIVE,4,2      ## @IP_VS_CONN_F_INACTIVE
	.comm	_init_net,4,2                   ## @init_net
	.comm	_RTN_LOCAL,8,3                  ## @RTN_LOCAL
	.comm	_IP_VS_CONN_F_FWD_MASK,4,2      ## @IP_VS_CONN_F_FWD_MASK
	.comm	_IP_VS_CONN_F_LOCALNODE,4,2     ## @IP_VS_CONN_F_LOCALNODE
	.comm	_IP_VS_CONN_F_MASQ,4,2          ## @IP_VS_CONN_F_MASQ
	.comm	_IP_VS_CONN_F_NOOUTPUT,4,2      ## @IP_VS_CONN_F_NOOUTPUT
	.comm	___ip_vs_rs_lock,4,2            ## @__ip_vs_rs_lock
	.comm	_IP_VS_DEST_F_AVAILABLE,4,2     ## @IP_VS_DEST_F_AVAILABLE
	.comm	_IP_VS_DEST_F_OVERLOAD,4,2      ## @IP_VS_DEST_F_OVERLOAD
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.no_dead_strip	___ip_vs_update_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_update_dest
___ip_vs_update_dest:                   ; @__ip_vs_update_dest
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x0, x1, #36
	ldr	w1, [x2]
	bl	_atomic_set
	ldr	w8, [x20, #4]
Lloh0:
	adrp	x9, _IP_VS_CONN_F_DEST_MASK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IP_VS_CONN_F_DEST_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh3:
	adrp	x9, _IP_VS_CONN_F_INACTIVE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IP_VS_CONN_F_INACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w22, w8, w9
	ldr	w1, [x20, #20]
Lloh6:
	adrp	x0, _init_net@GOTPAGE
Lloh7:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	_inet_addr_type
Lloh8:
	adrp	x8, _RTN_LOCAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RTN_LOCAL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _IP_VS_CONN_F_FWD_MASK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IP_VS_CONN_F_FWD_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	bic	w10, w22, w9
Lloh14:
	adrp	x11, _IP_VS_CONN_F_LOCALNODE@GOTPAGE
Lloh15:
	ldr	x11, [x11, _IP_VS_CONN_F_LOCALNODE@GOTPAGEOFF]
Lloh16:
	ldr	w11, [x11]
	orr	w10, w10, w11
	cmp	x0, x8
	csel	w22, w10, w22, eq
	and	w8, w9, w22
Lloh17:
	adrp	x9, _IP_VS_CONN_F_MASQ@GOTPAGE
Lloh18:
	ldr	x9, [x9, _IP_VS_CONN_F_MASQ@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
Lloh20:
	adrp	x23, ___ip_vs_rs_lock@GOTPAGE
Lloh21:
	ldr	x23, [x23, ___ip_vs_rs_lock@GOTPAGEOFF]
	mov	x0, x23
	bl	_write_lock_bh
	mov	x0, x19
	bl	_ip_vs_rs_hash
	mov	x0, x23
	bl	_write_unlock_bh
	b	LBB0_3
LBB0_2:
Lloh22:
	adrp	x8, _IP_VS_CONN_F_NOOUTPUT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IP_VS_CONN_F_NOOUTPUT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_3:
	add	x0, x19, #32
	mov	x1, x22
	bl	_atomic_set
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_6
; %bb.4:
	cmp	x8, x21
	b.eq	LBB0_7
; %bb.5:
	mov	x0, x19
	bl	___ip_vs_unbind_svc
	add	x0, x19, #16
	bl	_ip_vs_zero_stats
LBB0_6:
	mov	x0, x19
	mov	x1, x21
	bl	___ip_vs_bind_svc
LBB0_7:
Lloh25:
	adrp	x8, _IP_VS_DEST_F_AVAILABLE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IP_VS_DEST_F_AVAILABLE@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [x19, #12]
	orr	w9, w9, w8
	str	w9, [x19, #12]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x10, [x19]
	cmp	x8, x10
	b.le	LBB0_10
LBB0_9:
Lloh28:
	adrp	x10, _IP_VS_DEST_F_OVERLOAD@GOTPAGE
Lloh29:
	ldr	x10, [x10, _IP_VS_DEST_F_OVERLOAD@GOTPAGEOFF]
Lloh30:
	ldr	w10, [x10]
	bic	w9, w9, w10
	str	w9, [x19, #12]
LBB0_10:
	str	x8, [x19]
	ldr	w8, [x20, #16]
	str	w8, [x19, #8]
	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	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_IP_VS_CONN_F_DEST_MASK,4,2     ; @IP_VS_CONN_F_DEST_MASK
	.comm	_IP_VS_CONN_F_INACTIVE,4,2      ; @IP_VS_CONN_F_INACTIVE
	.comm	_init_net,4,2                   ; @init_net
	.comm	_RTN_LOCAL,8,3                  ; @RTN_LOCAL
	.comm	_IP_VS_CONN_F_FWD_MASK,4,2      ; @IP_VS_CONN_F_FWD_MASK
	.comm	_IP_VS_CONN_F_LOCALNODE,4,2     ; @IP_VS_CONN_F_LOCALNODE
	.comm	_IP_VS_CONN_F_MASQ,4,2          ; @IP_VS_CONN_F_MASQ
	.comm	_IP_VS_CONN_F_NOOUTPUT,4,2      ; @IP_VS_CONN_F_NOOUTPUT
	.comm	___ip_vs_rs_lock,4,2            ; @__ip_vs_rs_lock
	.comm	_IP_VS_DEST_F_AVAILABLE,4,2     ; @IP_VS_DEST_F_AVAILABLE
	.comm	_IP_VS_DEST_F_OVERLOAD,4,2      ; @IP_VS_DEST_F_OVERLOAD
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.no_dead_strip	___ip_vs_update_dest
.subsections_via_symbols
