	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_service_get              ## -- Begin function ip_vs_service_get
	.p2align	4, 0x90
_ip_vs_service_get:                     ## @ip_vs_service_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %r12
	movl	%edi, %r15d
	movq	___ip_vs_svc_lock@GOTPCREL(%rip), %rdi
	callq	_read_lock
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	___ip_vs_svc_fwm_get
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_11
LBB0_2:
	movl	%r15d, %edi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rbx, %rcx
	callq	___ip_vs_service_get
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rax
	cmpq	%r13, (%rax)
	jne	LBB0_8
## %bb.4:
	movq	_ip_vs_ftpsvc_counter@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	_FTPDATA@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_ntohs
	movq	_PROT_SOCK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
LBB0_7:
	movq	_FTPPORT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	%r15d, %edi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	callq	___ip_vs_service_get
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_11
LBB0_8:
	movq	_ip_vs_nullsvc_counter@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movl	%r15d, %edi
	movq	%r13, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	callq	___ip_vs_service_get
	movq	%rax, %r14
	jmp	LBB0_11
LBB0_9:
	xorl	%r14d, %r14d
LBB0_11:
	movq	___ip_vs_svc_lock@GOTPCREL(%rip), %rdi
	callq	_read_unlock
	movq	%r13, %rdi
	callq	_ip_vs_proto_name
	movl	%eax, %r13d
	movl	%r15d, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_IP_VS_DBG_ADDR
	movq	%rbx, %rdi
	movl	%eax, %ebx
	callq	_ntohs
	testq	%r14, %r14
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rcx, %rdx
	movq	%rdx, (%rsp)
	leaq	L_.str(%rip), %rsi
	movl	$9, %edi
	movq	%r12, %rdx
	movl	%r13d, %ecx
	movl	%ebx, %r8d
	movq	%rax, %r9
	callq	_IP_VS_DBG_BUF
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___ip_vs_svc_lock,4,2           ## @__ip_vs_svc_lock
	.comm	_IPPROTO_TCP,8,3                ## @IPPROTO_TCP
	.comm	_ip_vs_ftpsvc_counter,4,2       ## @ip_vs_ftpsvc_counter
	.comm	_FTPDATA,8,3                    ## @FTPDATA
	.comm	_PROT_SOCK,8,3                  ## @PROT_SOCK
	.comm	_FTPPORT,8,3                    ## @FTPPORT
	.comm	_ip_vs_nullsvc_counter,4,2      ## @ip_vs_nullsvc_counter
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"lookup service: fwm %u %s %s:%u %s\n"

L_.str.1:                               ## @.str.1
	.asciz	"hit"

L_.str.2:                               ## @.str.2
	.asciz	"not hit"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ip_vs_service_get              ; -- Begin function ip_vs_service_get
	.p2align	2
_ip_vs_service_get:                     ; @ip_vs_service_get
	.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, x4
	mov	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
Lloh0:
	adrp	x0, ___ip_vs_svc_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, ___ip_vs_svc_lock@GOTPAGEOFF]
	bl	_read_lock
	cbz	x19, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	bl	___ip_vs_svc_fwm_get
	mov	x24, x0
	cbnz	x0, LBB0_11
LBB0_2:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	bl	___ip_vs_service_get
	mov	x24, x0
	cbnz	x0, LBB0_11
; %bb.3:
Lloh2:
	adrp	x8, _IPPROTO_TCP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IPPROTO_TCP@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_8
; %bb.4:
Lloh5:
	adrp	x0, _ip_vs_ftpsvc_counter@GOTPAGE
Lloh6:
	ldr	x0, [x0, _ip_vs_ftpsvc_counter@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_8
; %bb.5:
Lloh7:
	adrp	x8, _FTPDATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FTPDATA@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x20
	bl	_ntohs
Lloh10:
	adrp	x8, _PROT_SOCK@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PROT_SOCK@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_8
LBB0_7:
Lloh13:
	adrp	x8, _FTPPORT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FTPPORT@GOTPAGEOFF]
Lloh15:
	ldr	x3, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	bl	___ip_vs_service_get
	mov	x24, x0
	cbnz	x0, LBB0_11
LBB0_8:
Lloh16:
	adrp	x0, _ip_vs_nullsvc_counter@GOTPAGE
Lloh17:
	ldr	x0, [x0, _ip_vs_nullsvc_counter@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, #0
	bl	___ip_vs_service_get
	mov	x24, x0
	b	LBB0_11
LBB0_10:
	mov	x24, #0
LBB0_11:
Lloh18:
	adrp	x0, ___ip_vs_svc_lock@GOTPAGE
Lloh19:
	ldr	x0, [x0, ___ip_vs_svc_lock@GOTPAGEOFF]
	bl	_read_unlock
	mov	x0, x23
	bl	_ip_vs_proto_name
	mov	x23, x0
	mov	x0, x22
	mov	x1, x21
	bl	_IP_VS_DBG_ADDR
	mov	x21, x0
	mov	x0, x20
	bl	_ntohs
	mov	x5, x0
Lloh20:
	adrp	x8, l_.str.1@PAGE
Lloh21:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh22:
	adrp	x9, l_.str.2@PAGE
Lloh23:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	x24, #0
	csel	x6, x9, x8, eq
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #9
	mov	x2, x19
	mov	x3, x23
	mov	x4, x21
	bl	_IP_VS_DBG_BUF
	mov	x0, x24
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	___ip_vs_svc_lock,4,2           ; @__ip_vs_svc_lock
	.comm	_IPPROTO_TCP,8,3                ; @IPPROTO_TCP
	.comm	_ip_vs_ftpsvc_counter,4,2       ; @ip_vs_ftpsvc_counter
	.comm	_FTPDATA,8,3                    ; @FTPDATA
	.comm	_PROT_SOCK,8,3                  ; @PROT_SOCK
	.comm	_FTPPORT,8,3                    ; @FTPPORT
	.comm	_ip_vs_nullsvc_counter,4,2      ; @ip_vs_nullsvc_counter
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"lookup service: fwm %u %s %s:%u %s\n"

l_.str.1:                               ; @.str.1
	.asciz	"hit"

l_.str.2:                               ; @.str.2
	.asciz	"not hit"

.subsections_via_symbols
