	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PrintQueryResults
_PrintQueryResults:                     ## @PrintQueryResults
	.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
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	callq	_PQresultStatus
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_15
## %bb.3:
	movl	$1, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	_pset@GOTPCREL(%rip), %rax
	cmpl	$0, 12(%rax)
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	_StoreQueryTuple
	jmp	LBB0_11
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_18
LBB0_15:
	movq	%rbx, %rdi
	callq	_PQresultStatus
	leaq	L_.str.3(%rip), %rdi
	movl	%eax, %esi
	callq	_pg_log_error
LBB0_16:
	xorl	%r14d, %r14d
	jmp	LBB0_17
LBB0_6:
	cmpl	$0, 8(%rax)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_ExecQueryTuples
	jmp	LBB0_11
LBB0_8:
	cmpl	$0, 4(%rax)
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_PrintResultsInCrosstab
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_PrintQueryTuples
LBB0_11:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_PQcmdStatus
	movq	%rax, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	movl	$6, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_17
LBB0_14:
	movq	%rbx, %rdi
	callq	_PrintQueryStatus
LBB0_17:
	movq	_pset@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_fflush
LBB0_18:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	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_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_pset,16,2                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"INSERT"

L_.str.1:                               ## @.str.1
	.asciz	"UPDATE"

L_.str.2:                               ## @.str.2
	.asciz	"DELETE"

L_.str.3:                               ## @.str.3
	.asciz	"unexpected PQresultStatus: %d"

	.no_dead_strip	_PrintQueryResults
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PrintQueryResults
_PrintQueryResults:                     ; @PrintQueryResults
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_PQresultStatus
	sub	w8, w0, #128
Lloh0:
	adrp	x22, _pset@GOTPAGE
Lloh1:
	ldr	x22, [x22, _pset@GOTPAGEOFF]
	cmp	w8, #7
	b.hi	LBB0_6
; %bb.2:
	mov	w20, #1
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x22, #12]
	cbz	w8, LBB0_11
; %bb.4:
	mov	x0, x19
	bl	_StoreQueryTuple
	b	LBB0_16
LBB0_5:
	mov	w20, #0
	b	LBB0_9
LBB0_6:
	mov	x0, x19
	bl	_PQresultStatus
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str.3@PAGE
Lloh5:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pg_log_error
LBB0_7:
	mov	w20, #0
LBB0_8:
	ldr	w0, [x22]
	bl	_fflush
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	x0, x19
	bl	_PrintQueryStatus
	mov	w20, #1
	b	LBB0_8
LBB0_11:
	ldr	w8, [x22, #8]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_ExecQueryTuples
	b	LBB0_16
LBB0_13:
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_PrintResultsInCrosstab
	b	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_PrintQueryTuples
LBB0_16:
	mov	x20, x0
	mov	x0, x19
	bl	_PQcmdStatus
	mov	x21, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_19
; %bb.17:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #6
	bl	_strncmp
	cbz	w0, LBB0_19
; %bb.18:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #6
	bl	_strncmp
	cbnz	w0, LBB0_8
LBB0_19:
	mov	x0, x19
	bl	_PrintQueryStatus
	b	LBB0_8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
                                        ; -- End function
	.comm	_pset,16,2                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"INSERT"

l_.str.1:                               ; @.str.1
	.asciz	"UPDATE"

l_.str.2:                               ; @.str.2
	.asciz	"DELETE"

l_.str.3:                               ; @.str.3
	.asciz	"unexpected PQresultStatus: %d"

	.no_dead_strip	_PrintQueryResults
.subsections_via_symbols
