	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function internal_ping
_internal_ping:                         ## @internal_ping
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PQPING_NO_ATTEMPT@GOTPCREL(%rip), %rax
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 24(%rdi)
	je	LBB0_12
## %bb.2:
	movq	(%rbx), %rax
	movq	_CONNECTION_BAD@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_connectDBComplete
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
LBB0_4:
	cmpq	$0, 16(%rbx)
	je	LBB0_6
LBB0_11:
	movq	_PQPING_OK@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movl	8(%rbx), %edi
	callq	_strlen
	cmpl	$5, %eax
	jne	LBB0_10
## %bb.7:
	movl	8(%rbx), %edi
	movq	_ERRCODE_CANNOT_CONNECT_NOW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movq	_PQPING_REJECT@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_PQPING_NO_RESPONSE@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_PQPING_NO_ATTEMPT,4,2          ## @PQPING_NO_ATTEMPT
	.comm	_CONNECTION_BAD,8,3             ## @CONNECTION_BAD
	.comm	_PQPING_OK,4,2                  ## @PQPING_OK
	.comm	_PQPING_NO_RESPONSE,4,2         ## @PQPING_NO_RESPONSE
	.comm	_ERRCODE_CANNOT_CONNECT_NOW,4,2 ## @ERRCODE_CANNOT_CONNECT_NOW
	.comm	_PQPING_REJECT,4,2              ## @PQPING_REJECT
	.no_dead_strip	_internal_ping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function internal_ping
_internal_ping:                         ; @internal_ping
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_7
; %bb.2:
	ldr	x8, [x19]
Lloh0:
	adrp	x20, _CONNECTION_BAD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _CONNECTION_BAD@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_connectDBComplete
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_9
LBB0_4:
	ldr	x8, [x19, #16]
Lloh2:
	adrp	x20, _PQPING_OK@GOTPAGE
Lloh3:
	ldr	x20, [x20, _PQPING_OK@GOTPAGEOFF]
	cbnz	x8, LBB0_8
; %bb.5:
	ldr	w0, [x19, #8]
	bl	_strlen
	cmp	w0, #5
	b.ne	LBB0_10
; %bb.6:
	ldr	w0, [x19, #8]
Lloh4:
	adrp	x8, _ERRCODE_CANNOT_CONNECT_NOW@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_CANNOT_CONNECT_NOW@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	bl	_strcmp
Lloh7:
	adrp	x8, _PQPING_REJECT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PQPING_REJECT@GOTPAGEOFF]
	cmp	x0, #0
	csel	x20, x8, x20, eq
	b	LBB0_8
LBB0_7:
Lloh9:
	adrp	x20, _PQPING_NO_ATTEMPT@GOTPAGE
Lloh10:
	ldr	x20, [x20, _PQPING_NO_ATTEMPT@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
Lloh11:
	adrp	x20, _PQPING_OK@GOTPAGE
Lloh12:
	ldr	x20, [x20, _PQPING_OK@GOTPAGEOFF]
	b	LBB0_8
LBB0_10:
Lloh13:
	adrp	x20, _PQPING_NO_RESPONSE@GOTPAGE
Lloh14:
	ldr	x20, [x20, _PQPING_NO_RESPONSE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_PQPING_NO_ATTEMPT,4,2          ; @PQPING_NO_ATTEMPT
	.comm	_CONNECTION_BAD,8,3             ; @CONNECTION_BAD
	.comm	_PQPING_OK,4,2                  ; @PQPING_OK
	.comm	_PQPING_NO_RESPONSE,4,2         ; @PQPING_NO_RESPONSE
	.comm	_ERRCODE_CANNOT_CONNECT_NOW,4,2 ; @ERRCODE_CANNOT_CONNECT_NOW
	.comm	_PQPING_REJECT,4,2              ; @PQPING_REJECT
	.no_dead_strip	_internal_ping
.subsections_via_symbols
