	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc_db_proxy_get                ## -- Begin function mc_db_proxy_get
	.p2align	4, 0x90
_mc_db_proxy_get:                       ## @mc_db_proxy_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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	cmpl	$5, %edx
	jl	LBB0_6
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_12
## %bb.2:
	cmpl	$8, %r14d
	jb	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_28
## %bb.4:
	cmpl	$9, %r14d
	jb	LBB0_6
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	$9, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_36
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_25
## %bb.9:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_45
## %bb.10:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_dbp_get_connections
	jmp	LBB0_45
LBB0_11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_dbp_get_bad_targets
	jmp	LBB0_45
LBB0_12:
	movq	%r15, %rdi
	callq	_db_proxy_prepare_stats
	movq	_stats_buff@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%eax, %ecx
	jmp	LBB0_44
LBB0_13:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_allocated_targets@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_26
## %bb.14:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r15
	movq	_allocated_targets@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jge	LBB0_27
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	_MAX_RES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_R@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	_R_end@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jge	LBB0_27
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_Targets@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	leaq	(%r15,%r15,2), %r14
	leaq	(%rbx,%r14,8), %r13
	movq	%r13, %rdi
	callq	_assert
	cmpq	$0, (%rbx,%r14,8)
	jle	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpl	$0, 16(%rbx,%r14,8)
	jne	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	8(%rbx,%r14,8), %rbx
	cmpq	%r13, %rbx
	je	LBB0_15
## %bb.20:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	_ct_outbound@GOTPCREL(%rip), %r14
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_22 Depth=2
	movq	64(%rbx), %rbx
	cmpq	%r13, %rbx
	je	LBB0_15
LBB0_22:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_21
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leal	-1024(%rdx), %eax
	cmpl	%eax, %r12d
	jge	LBB0_21
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	movslq	%r12d, %rsi
	movq	_stats_buff@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	subl	%r12d, %edx
	addl	$-6, %edx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dump_outbound_connection
	addl	%r12d, %eax
	movl	%eax, %r12d
	jmp	LBB0_21
LBB0_25:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_dbp_get_targets
	jmp	LBB0_45
LBB0_26:
	xorl	%r12d, %r12d
LBB0_27:
	movq	_stats_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %ecx
	jmp	LBB0_44
LBB0_28:
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_34
## %bb.29:
	xorl	%r15d, %r15d
	movq	_Connections@GOTPCREL(%rip), %rdx
	movq	_ct_inbound@GOTPCREL(%rip), %rsi
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %r12
	movl	$-1024, %edi                    ## imm = 0xFC00
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=1
	incq	%r13
	movslq	%ecx, %rax
	addq	$96, %r15
	cmpq	%rax, %r13
	jge	LBB0_35
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rdx), %r14
	movq	(%r14,%r15), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_30
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=1
	movl	(%r12), %eax
	addl	%edi, %eax
	cmpl	%eax, %ebx
	jge	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=1
	leaq	(%r14,%r15), %rdi
	callq	_SQLS_DATA
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %ecx
	movl	%ebx, -72(%rbp)                 ## 4-byte Spill
	movslq	%ebx, %rbx
	movq	_stats_buff@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	subl	%ecx, %r12d
	addl	$-6, %r12d
	movl	8(%r14,%r15), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	88(%r14,%r15), %edi
	callq	_show_ip
	movq	%rax, %r8
	movl	12(%r14,%r15), %r9d
	movl	16(%r14,%r15), %eax
	movq	%rax, -160(%rbp)                ## 8-byte Spill
	movl	20(%r14,%r15), %eax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	movl	24(%r14,%r15), %eax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movl	28(%r14,%r15), %eax
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	32(%r14,%r15), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	80(%r14,%r15), %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	84(%r14,%r15), %eax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	72(%r14,%r15), %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	76(%r14,%r15), %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r11d
	movl	4(%rax), %r10d
	movsd	48(%r14,%r15), %xmm0            ## xmm0 = mem[0],zero
	movsd	56(%r14,%r15), %xmm1            ## xmm1 = mem[0],zero
	movl	36(%r14,%r15), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	40(%r14,%r15), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	44(%r14,%r15), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	92(%r14,%r15), %eax
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %r12
	leaq	L_.str.2(%rip), %rdx
	movl	-68(%rbp), %ecx                 ## 4-byte Reload
	pushq	%r10
	pushq	%r11
	pushq	%rax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	(%r14,%r15)
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	pushq	-136(%rbp)                      ## 8-byte Folded Reload
	pushq	-144(%rbp)                      ## 8-byte Folded Reload
	pushq	-152(%rbp)                      ## 8-byte Folded Reload
	pushq	-160(%rbp)                      ## 8-byte Folded Reload
	callq	_snprintf
	movl	$-1024, %edi                    ## imm = 0xFC00
	movq	_ct_inbound@GOTPCREL(%rip), %rsi
	movq	_Connections@GOTPCREL(%rip), %rdx
	addq	$128, %rsp
	addl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %ebx
	jmp	LBB0_30
LBB0_34:
	xorl	%ebx, %ebx
LBB0_35:
	movq	_stats_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %ecx
	jmp	LBB0_44
LBB0_36:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_42
## %bb.37:
	xorl	%ebx, %ebx
	movq	_Connections@GOTPCREL(%rip), %r13
	movq	_ct_outbound@GOTPCREL(%rip), %r12
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_39 Depth=1
	incq	%r14
	movslq	%ecx, %rax
	addq	$96, %rbx
	cmpq	%rax, %r14
	jge	LBB0_43
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movq	(%rdi,%rbx), %rax
	cmpq	(%r12), %rax
	jne	LBB0_38
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	movl	(%rsi), %edx
	leal	-1024(%rdx), %eax
	cmpl	%eax, %r15d
	jge	LBB0_38
## %bb.41:                              ##   in Loop: Header=BB0_39 Depth=1
	addq	%rbx, %rdi
	movslq	%r15d, %rsi
	movq	_stats_buff@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	subl	%r15d, %edx
	addl	$-6, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dump_outbound_connection
	movq	_STATS_BUFF_SIZE@GOTPCREL(%rip), %rsi
	addl	%r15d, %eax
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%eax, %r15d
	jmp	LBB0_38
LBB0_42:
	xorl	%r15d, %r15d
LBB0_43:
	movq	_stats_buff@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %ecx
LBB0_44:
	callq	_return_one_key
LBB0_45:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ## @stats_buff
L_.str.1:                               ## @.str.1
	.asciz	"#inbound"

	.comm	_MAX_CONNECTIONS,4,2            ## @MAX_CONNECTIONS
	.comm	_Connections,8,3                ## @Connections
	.comm	_ct_inbound,8,3                 ## @ct_inbound
	.comm	_STATS_BUFF_SIZE,4,2            ## @STATS_BUFF_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"fd = %d, %s:%d, flags = %d , status = %d, err = %d, gen = %d, skip = %d, basic_type = %d\n  Inb = %d + %d, Outb = %d + %d, pend = %d, ready = %d, parse_state=%d, type = %p\n  auth state = %d, packet_state = %d\n  last_response_time = %.6f, last_query_time = %.6f\n"

L_.str.3:                               ## @.str.3
	.asciz	"#outbound"

	.comm	_ct_outbound,8,3                ## @ct_outbound
L_.str.4:                               ## @.str.4
	.asciz	"#bad_targets"

L_.str.5:                               ## @.str.5
	.asciz	"#bad_connections"

	.comm	_allocated_targets,4,2          ## @allocated_targets
	.comm	_R_end,8,3                      ## @R_end
	.comm	_R,8,3                          ## @R
	.comm	_MAX_RES,8,3                    ## @MAX_RES
	.comm	_Targets,8,3                    ## @Targets
L_.str.6:                               ## @.str.6
	.asciz	"#targets"

L_.str.7:                               ## @.str.7
	.asciz	"#connections"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mc_db_proxy_get                ; -- Begin function mc_db_proxy_get
	.p2align	2
_mc_db_proxy_get:                       ; @mc_db_proxy_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x2
	mov	x19, x1
	mov	x28, x0
	cmp	w2, #5
	b.lt	LBB0_6
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncmp
	cbz	w0, LBB0_12
; %bb.2:
	cmp	w21, #8
	b.lo	LBB0_6
; %bb.3:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #8
	bl	_strncmp
	cbz	w0, LBB0_28
; %bb.4:
	cmp	w21, #9
	b.lo	LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str.3@PAGE
Lloh5:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #9
	bl	_strncmp
	cbz	w0, LBB0_40
LBB0_6:
Lloh6:
	adrp	x1, l_.str.4@PAGE
Lloh7:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.7:
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_13
; %bb.8:
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_25
; %bb.9:
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_39
; %bb.10:
	mov	x0, x28
	mov	x1, x19
	mov	x2, x21
	bl	_dbp_get_connections
	b	LBB0_39
LBB0_11:
	mov	x0, x28
	mov	x1, x19
	mov	x2, x21
	bl	_dbp_get_bad_targets
	b	LBB0_39
LBB0_12:
	mov	x0, x28
	bl	_db_proxy_prepare_stats
	mov	x3, x0
Lloh14:
	adrp	x8, _stats_buff@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh16:
	ldr	x2, [x8]
	mov	x0, x28
	mov	x1, x19
	b	LBB0_38
LBB0_13:
	str	x28, [sp, #72]                  ; 8-byte Folded Spill
Lloh17:
	adrp	x25, _allocated_targets@GOTPAGE
Lloh18:
	ldr	x25, [x25, _allocated_targets@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh19:
	adrp	x24, _stats_buff@GOTPAGE
Lloh20:
	ldr	x24, [x24, _stats_buff@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_26
; %bb.14:
	mov	x26, #0
	mov	w21, #0
	mov	w27, #24
Lloh21:
	adrp	x28, _ct_outbound@GOTPAGE
Lloh22:
	ldr	x28, [x28, _ct_outbound@GOTPAGEOFF]
Lloh23:
	adrp	x20, _STATS_BUFF_SIZE@GOTPAGE
Lloh24:
	ldr	x20, [x20, _STATS_BUFF_SIZE@GOTPAGEOFF]
	b	LBB0_16
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.ge	LBB0_27
LBB0_16:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_21 Depth 2
Lloh25:
	adrp	x8, _R_end@GOTPAGE
Lloh26:
	ldr	x8, [x8, _R_end@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _R@GOTPAGE
Lloh29:
	ldr	x9, [x9, _R@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
Lloh31:
	adrp	x10, _MAX_RES@GOTPAGE
Lloh32:
	ldr	x10, [x10, _MAX_RES@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x8, x9
	b.ge	LBB0_27
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
Lloh34:
	adrp	x8, _Targets@GOTPAGE
Lloh35:
	ldr	x8, [x8, _Targets@GOTPAGEOFF]
Lloh36:
	ldr	x23, [x8]
	madd	x22, x26, x27, x23
	mov	x0, x22
	bl	_assert
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	madd	x8, x26, x27, x23
	ldr	w8, [x8, #16]
	cbnz	w8, LBB0_15
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	madd	x8, x26, x27, x23
	ldr	x23, [x8, #8]
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=2
	ldr	x23, [x23, #64]
LBB0_21:                                ;   Parent Loop BB0_16 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x23, x22
	b.eq	LBB0_15
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x8, [x23]
	ldr	x9, [x28]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	w8, [x20]
	sub	w9, w8, #1024
	cmp	w21, w9
	b.ge	LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=2
	ldr	x9, [x24]
	add	x1, x9, w21, sxtw
	sub	w8, w8, w21
	sub	w2, w8, #6
	mov	x0, x23
	bl	_dump_outbound_connection
	add	w21, w21, w0
	b	LBB0_20
LBB0_25:
	mov	x0, x28
	mov	x1, x19
	mov	x2, x21
	bl	_dbp_get_targets
	b	LBB0_39
LBB0_26:
	mov	w21, #0
LBB0_27:
	ldr	x2, [x24]
	b	LBB0_36
LBB0_28:
Lloh37:
	adrp	x8, _MAX_CONNECTIONS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w8, #1
	str	x28, [sp, #72]                  ; 8-byte Folded Spill
	b.lt	LBB0_34
; %bb.29:
	mov	x28, #0
	mov	x22, #0
	mov	w21, #0
Lloh40:
	adrp	x11, _Connections@GOTPAGE
Lloh41:
	ldr	x11, [x11, _Connections@GOTPAGEOFF]
Lloh42:
	adrp	x12, _ct_inbound@GOTPAGE
Lloh43:
	ldr	x12, [x12, _ct_inbound@GOTPAGEOFF]
Lloh44:
	adrp	x27, _STATS_BUFF_SIZE@GOTPAGE
Lloh45:
	ldr	x27, [x27, _STATS_BUFF_SIZE@GOTPAGEOFF]
	b	LBB0_31
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=1
	add	x22, x22, #1
	add	x28, x28, #96
	cmp	x22, w8, sxtw
	b.ge	LBB0_35
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x11]
	add	x0, x20, x28
	ldr	x9, [x0]
	ldr	x10, [x12]
	cmp	x9, x10
	b.ne	LBB0_30
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=1
	ldr	w9, [x27]
	sub	w9, w9, #1024
	cmp	w21, w9
	b.ge	LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=1
	bl	_SQLS_DATA
	mov	x23, x0
Lloh46:
	adrp	x8, _stats_buff@GOTPAGE
Lloh47:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	add	x24, x8, w21, sxtw
	ldr	w8, [x27]
	sub	w8, w8, w21
	sub	w25, w8, #6
	add	x20, x20, x28
	ldr	w26, [x20, #8]
	ldr	w0, [x20, #88]
	bl	_show_ip
	mov	x4, x0
	ldp	w5, w6, [x20, #12]
	ldr	w7, [x20, #20]
	ldr	x8, [x20, #24]
	ldr	w9, [x20, #32]
	ldr	x10, [x20]
	ldp	x12, x11, [x20, #72]
	ldur	x13, [x20, #36]
	ldr	w14, [x20, #44]
	ldr	w15, [x20, #92]
	ldp	w16, w17, [x23]
	ldp	d0, d1, [x20, #48]
	stp	w16, w17, [sp, #56]
	stp	w14, w15, [sp, #48]
	stp	x12, x13, [sp, #32]
	stp	x10, x11, [sp, #16]
	str	w9, [sp, #8]
	str	x8, [sp]
	mov	x0, x24
	mov	x1, x25
Lloh49:
	adrp	x2, l_.str.2@PAGE
Lloh50:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x26
	bl	_snprintf
Lloh51:
	adrp	x12, _ct_inbound@GOTPAGE
Lloh52:
	ldr	x12, [x12, _ct_inbound@GOTPAGEOFF]
Lloh53:
	adrp	x11, _Connections@GOTPAGE
Lloh54:
	ldr	x11, [x11, _Connections@GOTPAGEOFF]
	add	w21, w21, w0
Lloh55:
	adrp	x8, _MAX_CONNECTIONS@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	b	LBB0_30
LBB0_34:
	mov	w21, #0
LBB0_35:
Lloh58:
	adrp	x8, _stats_buff@GOTPAGE
Lloh59:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh60:
	ldr	x2, [x8]
LBB0_36:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
LBB0_37:
	mov	x1, x19
	mov	x3, x21
LBB0_38:
	bl	_return_one_key
LBB0_39:
	mov	w0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_40:
Lloh61:
	adrp	x20, _MAX_CONNECTIONS@GOTPAGE
Lloh62:
	ldr	x20, [x20, _MAX_CONNECTIONS@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_46
; %bb.41:
	mov	x22, #0
	mov	x23, #0
	mov	w21, #0
Lloh63:
	adrp	x24, _Connections@GOTPAGE
Lloh64:
	ldr	x24, [x24, _Connections@GOTPAGEOFF]
Lloh65:
	adrp	x25, _ct_outbound@GOTPAGE
Lloh66:
	ldr	x25, [x25, _ct_outbound@GOTPAGEOFF]
Lloh67:
	adrp	x26, _STATS_BUFF_SIZE@GOTPAGE
Lloh68:
	ldr	x26, [x26, _STATS_BUFF_SIZE@GOTPAGEOFF]
Lloh69:
	adrp	x27, _stats_buff@GOTPAGE
Lloh70:
	ldr	x27, [x27, _stats_buff@GOTPAGEOFF]
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_43 Depth=1
	add	x23, x23, #1
	add	x22, x22, #96
	cmp	x23, w8, sxtw
	b.ge	LBB0_47
LBB0_43:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x24]
	add	x0, x9, x22
	ldr	x9, [x0]
	ldr	x10, [x25]
	cmp	x9, x10
	b.ne	LBB0_42
; %bb.44:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	w9, [x26]
	sub	w10, w9, #1024
	cmp	w21, w10
	b.ge	LBB0_42
; %bb.45:                               ;   in Loop: Header=BB0_43 Depth=1
	ldr	x8, [x27]
	add	x1, x8, w21, sxtw
	sub	w8, w9, w21
	sub	w2, w8, #6
	bl	_dump_outbound_connection
	add	w21, w21, w0
	ldr	w8, [x20]
	b	LBB0_42
LBB0_46:
	mov	w21, #0
LBB0_47:
Lloh71:
	adrp	x8, _stats_buff@GOTPAGE
Lloh72:
	ldr	x8, [x8, _stats_buff@GOTPAGEOFF]
Lloh73:
	ldr	x2, [x8]
	mov	x0, x28
	b	LBB0_37
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"stats"

	.comm	_stats_buff,8,3                 ; @stats_buff
l_.str.1:                               ; @.str.1
	.asciz	"#inbound"

	.comm	_MAX_CONNECTIONS,4,2            ; @MAX_CONNECTIONS
	.comm	_Connections,8,3                ; @Connections
	.comm	_ct_inbound,8,3                 ; @ct_inbound
	.comm	_STATS_BUFF_SIZE,4,2            ; @STATS_BUFF_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"fd = %d, %s:%d, flags = %d , status = %d, err = %d, gen = %d, skip = %d, basic_type = %d\n  Inb = %d + %d, Outb = %d + %d, pend = %d, ready = %d, parse_state=%d, type = %p\n  auth state = %d, packet_state = %d\n  last_response_time = %.6f, last_query_time = %.6f\n"

l_.str.3:                               ; @.str.3
	.asciz	"#outbound"

	.comm	_ct_outbound,8,3                ; @ct_outbound
l_.str.4:                               ; @.str.4
	.asciz	"#bad_targets"

l_.str.5:                               ; @.str.5
	.asciz	"#bad_connections"

	.comm	_allocated_targets,4,2          ; @allocated_targets
	.comm	_R_end,8,3                      ; @R_end
	.comm	_R,8,3                          ; @R
	.comm	_MAX_RES,8,3                    ; @MAX_RES
	.comm	_Targets,8,3                    ; @Targets
l_.str.6:                               ; @.str.6
	.asciz	"#targets"

l_.str.7:                               ; @.str.7
	.asciz	"#connections"

.subsections_via_symbols
