	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PSQLexec                       ## -- Begin function PSQLexec
	.p2align	4, 0x90
_PSQLexec:                              ## @PSQLexec
	.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	_pset@GOTPCREL(%rip), %rbx
	cmpl	$0, 8(%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	(%rbx), %rax
	movq	_PSQL_ECHO_HIDDEN_OFF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_printf
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_fflush
	movq	16(%rbx), %r15
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_fprintf
	movq	16(%rbx), %rdi
	callq	_fflush
LBB0_5:
	movq	(%rbx), %rax
	movq	_PSQL_ECHO_HIDDEN_NOEXEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
LBB0_6:
	xorl	%eax, %eax
	callq	_SetCancelConn
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	callq	_PQexec
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_ResetCancelConn
	movq	%rbx, %rdi
	callq	_AcceptResult
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_ClearOrSaveResult
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_error
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pset,24,3                      ## @pset
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"You are currently not connected to a database."

	.comm	_PSQL_ECHO_HIDDEN_OFF,8,3       ## @PSQL_ECHO_HIDDEN_OFF
L_.str.1:                               ## @.str.1
	.asciz	"********* QUERY **********\n%s\n**************************\n\n"

	.comm	_stdout,8,3                     ## @stdout
	.comm	_PSQL_ECHO_HIDDEN_NOEXEC,8,3    ## @PSQL_ECHO_HIDDEN_NOEXEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PSQLexec                       ; -- Begin function PSQLexec
	.p2align	2
_PSQLexec:                              ; @PSQLexec
	.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
Lloh0:
	adrp	x21, _pset@GOTPAGE
Lloh1:
	ldr	x21, [x21, _pset@GOTPAGEOFF]
	ldr	w8, [x21, #8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _PSQL_ECHO_HIDDEN_OFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PSQL_ECHO_HIDDEN_OFF@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.2:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_printf
Lloh7:
	adrp	x8, _stdout@GOTPAGE
Lloh8:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh9:
	ldr	x0, [x8]
	bl	_fflush
	ldr	x20, [x21, #16]
	cbz	x20, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x20
	mov	x2, x19
	bl	_fprintf
	ldr	x0, [x21, #16]
	bl	_fflush
LBB0_4:
	ldr	x8, [x21]
Lloh12:
	adrp	x9, _PSQL_ECHO_HIDDEN_NOEXEC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PSQL_ECHO_HIDDEN_NOEXEC@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
LBB0_5:
	bl	_SetCancelConn
	ldr	w0, [x21, #8]
	mov	x1, x19
	bl	_PQexec
	mov	x19, x0
	bl	_ResetCancelConn
	mov	x0, x19
	bl	_AcceptResult
	cbnz	w0, LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_ClearOrSaveResult
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_error
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_pset,24,3                      ; @pset
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"You are currently not connected to a database."

	.comm	_PSQL_ECHO_HIDDEN_OFF,8,3       ; @PSQL_ECHO_HIDDEN_OFF
l_.str.1:                               ; @.str.1
	.asciz	"********* QUERY **********\n%s\n**************************\n\n"

	.comm	_stdout,8,3                     ; @stdout
	.comm	_PSQL_ECHO_HIDDEN_NOEXEC,8,3    ; @PSQL_ECHO_HIDDEN_NOEXEC
.subsections_via_symbols
