	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PQexecStart
_PQexecStart:                           ## @PQexecStart
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rdi, %rbx
	movq	_PGRES_COPY_IN@GOTPCREL(%rip), %r13
	movq	_CONNECTION_BAD@GOTPCREL(%rip), %r15
	movq	_PGRES_COPY_OUT@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_PGRES_COPY_BOTH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r12
	je	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_PQgetResult
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rax), %r12
	movq	%rax, %rdi
	callq	_PQclear
	cmpq	(%r13), %r12
	jne	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	callq	_PG_PROTOCOL_MAJOR
	cmpl	$3, %eax
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_PQputCopyEnd
	testq	%rax, %rax
	jns	LBB0_15
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r14), %r12
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	16(%rbx), %edi
	callq	_PG_PROTOCOL_MAJOR
	cmpl	$3, %eax
	jl	LBB0_10
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_PGASYNC_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	jmp	LBB0_15
LBB0_3:
	movl	$1, %eax
	jmp	LBB0_17
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_13
LBB0_12:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_13
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
LBB0_13:
	addq	$8, %rbx
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_printfPQExpBuffer
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGRES_COPY_IN,8,3              ## @PGRES_COPY_IN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COPY terminated by new PQexec"

L_.str.1:                               ## @.str.1
	.asciz	"COPY IN state must be terminated first\n"

	.comm	_PGRES_COPY_OUT,8,3             ## @PGRES_COPY_OUT
	.comm	_PGASYNC_BUSY,4,2               ## @PGASYNC_BUSY
L_.str.2:                               ## @.str.2
	.asciz	"COPY OUT state must be terminated first\n"

	.comm	_PGRES_COPY_BOTH,8,3            ## @PGRES_COPY_BOTH
L_.str.3:                               ## @.str.3
	.asciz	"PQexec not allowed during COPY BOTH\n"

	.comm	_CONNECTION_BAD,8,3             ## @CONNECTION_BAD
	.no_dead_strip	_PQexecStart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PQexecStart
_PQexecStart:                           ; @PQexecStart
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x0, LBB0_16
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _PGRES_COPY_IN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _PGRES_COPY_IN@GOTPAGEOFF]
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x24, _CONNECTION_BAD@GOTPAGE
Lloh7:
	ldr	x24, [x24, _CONNECTION_BAD@GOTPAGEOFF]
Lloh8:
	adrp	x25, _PGRES_COPY_OUT@GOTPAGE
Lloh9:
	ldr	x25, [x25, _PGRES_COPY_OUT@GOTPAGEOFF]
Lloh10:
	adrp	x27, _PGASYNC_BUSY@GOTPAGE
Lloh11:
	ldr	x27, [x27, _PGASYNC_BUSY@GOTPAGEOFF]
Lloh12:
	adrp	x28, _PGRES_COPY_BOTH@GOTPAGE
Lloh13:
	ldr	x28, [x28, _PGRES_COPY_BOTH@GOTPAGEOFF]
Lloh14:
	adrp	x26, l_.str.3@PAGE
Lloh15:
	add	x26, x26, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28]
	cmp	x23, x8
	b.eq	LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_15
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_PQgetResult
	cbz	x0, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x23, [x0]
	bl	_PQclear
	ldr	x8, [x22]
	cmp	x23, x8
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
	bl	_PG_PROTOCOL_MAJOR
	cmp	w0, #3
	b.lt	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_PQputCopyEnd
	tbz	x0, #63, LBB0_3
	b	LBB0_15
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	cmp	x23, x8
	b.ne	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #16]
	bl	_PG_PROTOCOL_MAJOR
	cmp	w0, #3
	b.lt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	str	w8, [x19, #12]
	b	LBB0_3
LBB0_11:
	mov	w0, #1
	b	LBB0_16
LBB0_12:
	mov	x20, x26
	b	LBB0_14
LBB0_13:
Lloh16:
	adrp	x20, l_.str.2@PAGE
Lloh17:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_14:
	add	x19, x19, #8
	mov	x0, x20
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_printfPQExpBuffer
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_PGRES_COPY_IN,8,3              ; @PGRES_COPY_IN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COPY terminated by new PQexec"

l_.str.1:                               ; @.str.1
	.asciz	"COPY IN state must be terminated first\n"

	.comm	_PGRES_COPY_OUT,8,3             ; @PGRES_COPY_OUT
	.comm	_PGASYNC_BUSY,4,2               ; @PGASYNC_BUSY
l_.str.2:                               ; @.str.2
	.asciz	"COPY OUT state must be terminated first\n"

	.comm	_PGRES_COPY_BOTH,8,3            ; @PGRES_COPY_BOTH
l_.str.3:                               ; @.str.3
	.asciz	"PQexec not allowed during COPY BOTH\n"

	.comm	_CONNECTION_BAD,8,3             ; @CONNECTION_BAD
	.no_dead_strip	_PQexecStart
.subsections_via_symbols
