	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQsendQuery                    ## -- Begin function PQsendQuery
	.p2align	4, 0x90
_PQsendQuery:                           ## @PQsendQuery
	.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
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_PQsendQueryStart
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.1:
	testq	%r15, %r15
	je	LBB0_2
## %bb.3:
	xorl	%r14d, %r14d
	movl	$81, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_pqPutMsgStart
	testq	%rax, %rax
	js	LBB0_10
## %bb.4:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_pqPuts
	testq	%rax, %rax
	js	LBB0_10
## %bb.5:
	movq	%rbx, %rdi
	callq	_pqPutMsgEnd
	testq	%rax, %rax
	js	LBB0_10
## %bb.6:
	movq	_PGQUERY_SIMPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	callq	_free
LBB0_8:
	movq	%r15, %rdi
	callq	_strdup
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_pqFlush
	testq	%rax, %rax
	js	LBB0_10
## %bb.9:
	movq	_PGASYNC_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movl	$1, %r14d
	jmp	LBB0_10
LBB0_2:
	addq	$20, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_10:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"command string is a null pointer\n"

	.comm	_PGQUERY_SIMPLE,4,2             ## @PGQUERY_SIMPLE
	.comm	_PGASYNC_BUSY,4,2               ## @PGASYNC_BUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQsendQuery                    ; -- Begin function PQsendQuery
	.p2align	2
_PQsendQuery:                           ; @PQsendQuery
	.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
	mov	x20, x1
	mov	x19, x0
	bl	_PQsendQueryStart
	cbz	w0, LBB0_11
; %bb.1:
	cbz	x20, LBB0_9
; %bb.2:
	mov	w0, #81
	mov	w1, #0
	mov	x2, x19
	bl	_pqPutMsgStart
	tbnz	x0, #63, LBB0_10
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_pqPuts
	tbnz	x0, #63, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_pqPutMsgEnd
	tbnz	x0, #63, LBB0_10
; %bb.5:
Lloh0:
	adrp	x8, _PGQUERY_SIMPLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGQUERY_SIMPLE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_free
LBB0_7:
	mov	x0, x20
	bl	_strdup
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_pqFlush
	tbnz	x0, #63, LBB0_10
; %bb.8:
Lloh3:
	adrp	x8, _PGASYNC_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGASYNC_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_11
LBB0_9:
	add	x19, x19, #20
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
LBB0_10:
	mov	w0, #0
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"command string is a null pointer\n"

	.comm	_PGQUERY_SIMPLE,4,2             ; @PGQUERY_SIMPLE
	.comm	_PGASYNC_BUSY,4,2               ; @PGASYNC_BUSY
.subsections_via_symbols
