	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PQsendQueryStart
_PQsendQueryStart:                      ## @PQsendQueryStart
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	leaq	20(%rdi), %r15
	movq	%r15, %rdi
	callq	_resetPQExpBuffer
	movq	(%rbx), %rax
	movq	_CONNECTION_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	movq	8(%rbx), %rax
	movq	_PGASYNC_IDLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.6:
	movq	%rbx, %rdi
	callq	_pqClearAsyncResult
	movl	$0, 16(%rbx)
	movl	$1, %r14d
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	callq	_libpq_gettext
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CONNECTION_OK,8,3              ## @CONNECTION_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no connection to the server\n"

	.comm	_PGASYNC_IDLE,8,3               ## @PGASYNC_IDLE
L_.str.1:                               ## @.str.1
	.asciz	"another command is already in progress\n"

	.no_dead_strip	_PQsendQueryStart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PQsendQueryStart
_PQsendQueryStart:                      ; @PQsendQueryStart
	.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	x20, x0
	add	x19, x0, #20
	mov	x0, x19
	bl	_resetPQExpBuffer
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _CONNECTION_OK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CONNECTION_OK@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x20, #8]
Lloh3:
	adrp	x9, _PGASYNC_IDLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PGASYNC_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	bl	_pqClearAsyncResult
	str	wzr, [x20, #16]
	mov	w0, #1
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_6:
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_CONNECTION_OK,8,3              ; @CONNECTION_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no connection to the server\n"

	.comm	_PGASYNC_IDLE,8,3               ; @PGASYNC_IDLE
l_.str.1:                               ; @.str.1
	.asciz	"another command is already in progress\n"

	.no_dead_strip	_PQsendQueryStart
.subsections_via_symbols
