	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libpqrcv_exec
_libpqrcv_exec:                         ## @libpqrcv_exec
	.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
	movq	%rcx, %r15
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	$16, %edi
	callq	_palloc0
	movq	%rax, %rbx
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%r12d, %ebx
	movq	%r15, %r12
	movl	(%rax), %r15d
	movq	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movq	%r12, %r15
	movl	%ebx, %r12d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_ereport
LBB0_2:
	movl	(%r13), %edi
	movq	%r14, %rsi
	callq	_libpqrcv_PQexec
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_PQresultStatus
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$9, %eax
	ja	LBB0_13
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	_WALRCV_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movl	(%r13), %edi
	callq	_PQerrorMessage
	movl	%eax, %edi
	callq	_pchomp
	jmp	LBB0_12
LBB0_4:
	movq	_WALRCV_OK_TUPLES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	_libpqrcv_processTuples
	jmp	LBB0_13
LBB0_10:
	movq	_WALRCV_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	__
LBB0_12:
	movl	%eax, (%rbx)
	jmp	LBB0_13
LBB0_7:
	movq	_WALRCV_OK_COPY_OUT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_WALRCV_OK_COPY_IN@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_9:
	movq	_WALRCV_OK_COMMAND@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_WALRCV_OK_COPY_BOTH@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
LBB0_13:
	movq	%r14, %rdi
	callq	_PQclear
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_7
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_MyDatabaseId,8,3               ## @MyDatabaseId
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ## @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the query interface requires a database connection"

	.comm	_WALRCV_OK_TUPLES,8,3           ## @WALRCV_OK_TUPLES
	.comm	_WALRCV_OK_COPY_IN,8,3          ## @WALRCV_OK_COPY_IN
	.comm	_WALRCV_OK_COPY_OUT,8,3         ## @WALRCV_OK_COPY_OUT
	.comm	_WALRCV_OK_COPY_BOTH,8,3        ## @WALRCV_OK_COPY_BOTH
	.comm	_WALRCV_OK_COMMAND,8,3          ## @WALRCV_OK_COMMAND
	.comm	_WALRCV_ERROR,8,3               ## @WALRCV_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"empty query"

	.no_dead_strip	_libpqrcv_exec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libpqrcv_exec
_libpqrcv_exec:                         ; @libpqrcv_exec
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	mov	w0, #16
	bl	_palloc0
	mov	x19, x0
Lloh0:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w24, [x8]
Lloh9:
	adrp	x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_errcode
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x24
	bl	_ereport
LBB0_2:
	ldr	w0, [x23]
	mov	x1, x20
	bl	_libpqrcv_PQexec
	mov	x20, x0
	bl	_PQresultStatus
	sub	w8, w0, #128
	cmp	w8, #9
	b.hi	LBB0_13
; %bb.3:
Lloh14:
	adrp	x9, lJTI0_0@PAGE
Lloh15:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh16:
	adrp	x8, _WALRCV_ERROR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WALRCV_ERROR@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	ldr	w0, [x23]
	bl	_PQerrorMessage
	bl	_pchomp
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _WALRCV_OK_TUPLES@GOTPAGE
Lloh20:
	ldr	x8, [x8, _WALRCV_OK_TUPLES@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19, #8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_libpqrcv_processTuples
	b	LBB0_13
LBB0_6:
Lloh22:
	adrp	x8, _WALRCV_ERROR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WALRCV_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x19, #8]
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
LBB0_7:
	str	w0, [x19]
	b	LBB0_13
LBB0_8:
Lloh27:
	adrp	x8, _WALRCV_OK_COPY_OUT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _WALRCV_OK_COPY_OUT@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh29:
	adrp	x8, _WALRCV_OK_COPY_IN@GOTPAGE
Lloh30:
	ldr	x8, [x8, _WALRCV_OK_COPY_IN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh31:
	adrp	x8, _WALRCV_OK_COMMAND@GOTPAGE
Lloh32:
	ldr	x8, [x8, _WALRCV_OK_COMMAND@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh33:
	adrp	x8, _WALRCV_OK_COPY_BOTH@GOTPAGE
Lloh34:
	ldr	x8, [x8, _WALRCV_OK_COPY_BOTH@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	str	x8, [x19, #8]
LBB0_13:
	mov	x0, x20
	bl	_PQclear
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_MyDatabaseId,8,3               ; @MyDatabaseId
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE,4,2 ; @ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the query interface requires a database connection"

	.comm	_WALRCV_OK_TUPLES,8,3           ; @WALRCV_OK_TUPLES
	.comm	_WALRCV_OK_COPY_IN,8,3          ; @WALRCV_OK_COPY_IN
	.comm	_WALRCV_OK_COPY_OUT,8,3         ; @WALRCV_OK_COPY_OUT
	.comm	_WALRCV_OK_COPY_BOTH,8,3        ; @WALRCV_OK_COPY_BOTH
	.comm	_WALRCV_OK_COMMAND,8,3          ; @WALRCV_OK_COMMAND
	.comm	_WALRCV_ERROR,8,3               ; @WALRCV_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"empty query"

	.no_dead_strip	_libpqrcv_exec
.subsections_via_symbols
