	.file	"extr_common.c_executeCommand.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s\n"
.LC1:
	.string	"query failed: %s"
.LC2:
	.string	"query was: %s"
	.text
	.p2align 4
	.globl	executeCommand
	.type	executeCommand, @function
executeCommand:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	test	edx, edx
	jne	.L11
.L2:
	mov	rsi, r13
	mov	rdi, r12
	call	PQexec@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	mov	rdi, rax
	call	PQresultStatus@PLT
	cmp	rax, QWORD PTR PGRES_COMMAND_OK[rip]
	je	.L4
.L5:
	mov	rdi, r12
	call	PQerrorMessage@PLT
	lea	rdi, .LC1[rip]
	mov	esi, eax
	call	pg_log_error@PLT
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	call	pg_log_info@PLT
	mov	rdi, r12
	call	PQfinish@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	PQclear@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	executeCommand, .-executeCommand
	.comm	PGRES_COMMAND_OK,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_common.c_executeCommand.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\012\000"
	.align	2
.LC1:
	.ascii	"query failed: %s\000"
	.align	2
.LC2:
	.ascii	"query was: %s\000"
	.text
	.align	2
	.global	executeCommand
	.syntax unified
	.arm
	.fpu softvfp
	.type	executeCommand, %function
executeCommand:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r2, #0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	mov	r6, r1
	bne	.L11
.L2:
	mov	r1, r6
	mov	r0, r4
	bl	PQexec
	subs	r5, r0, #0
	beq	.L5
	bl	PQresultStatus
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L4
.L5:
	mov	r0, r4
	bl	PQerrorMessage
	mov	r1, r0
	ldr	r0, .L12+4
	bl	pg_log_error
	mov	r1, r6
	ldr	r0, .L12+8
	bl	pg_log_info
	mov	r0, r4
	bl	PQfinish
	mov	r0, #1
	bl	exit
.L4:
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	PQclear
.L11:
	ldr	r0, .L12+12
	bl	printf
	b	.L2
.L13:
	.align	2
.L12:
	.word	PGRES_COMMAND_OK
	.word	.LC1
	.word	.LC2
	.word	.LC0
	.size	executeCommand, .-executeCommand
	.comm	PGRES_COMMAND_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
