	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_execute                   ## -- Begin function ecpg_execute
	.p2align	4, 0x90
_ecpg_execute:                          ## @ecpg_execute
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	32(%rdi), %esi
	movl	64(%rdi), %edx
	movq	(%rdi), %rcx
	movq	24(%rdi), %rax
	movl	4(%rax), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_ecpg_log
	movq	8(%rbx), %rax
	movq	_ECPGst_execute@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rdx
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movl	68(%rbx), %esi
	movq	56(%rbx), %rcx
	movq	48(%rbx), %r8
	movq	40(%rbx), %r9
	subq	$8, %rsp
	pushq	$0
	callq	_PQexecPrepared
	addq	$16, %rsp
	movl	%eax, 36(%rbx)
	movl	32(%rbx), %esi
	movl	64(%rbx), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_ecpg_log
	jmp	LBB0_2
LBB0_3:
	movq	(%rbx), %rdx
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movl	64(%rbx), %esi
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	56(%rbx), %r8
	movq	48(%rbx), %r9
	xorl	%ecx, %ecx
	pushq	$0
	pushq	40(%rbx)
	callq	_PQexecParams
	addq	$16, %rsp
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	callq	_PQexec
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	movl	%eax, 36(%rbx)
	movl	32(%rbx), %esi
	xorl	%eax, %eax
	callq	_ecpg_log
	movq	8(%rbx), %rax
	movq	_ECPGst_prepare@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.7:
	movq	%rbx, %rdi
	callq	_ecpg_register_prepared_stmt
	testl	%eax, %eax
	je	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ecpg_free_params
	movl	36(%rbx), %edi
	movl	32(%rbx), %esi
	movq	24(%rbx), %rax
	movl	(%rax), %edx
	movl	16(%rbx), %ecx
	callq	_ecpg_check_PQresult
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ecpg_free_params
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ecpg_execute on line %d: query: %s; with %d parameter(s) on connection %s\n"

	.comm	_ECPGst_execute,8,3             ## @ECPGst_execute
L_.str.1:                               ## @.str.1
	.asciz	"ecpg_execute on line %d: using PQexecPrepared for \"%s\"\n"

L_.str.2:                               ## @.str.2
	.asciz	"ecpg_execute on line %d: using PQexec\n"

L_.str.3:                               ## @.str.3
	.asciz	"ecpg_execute on line %d: using PQexecParams\n"

	.comm	_ECPGst_prepare,8,3             ## @ECPGst_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecpg_execute                   ; -- Begin function ecpg_execute
	.p2align	2
_ecpg_execute:                          ; @ecpg_execute
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldr	w1, [x0, #32]
	ldr	x8, [x0]
	ldr	x9, [x0, #24]
	ldr	w10, [x0, #64]
	ldr	w9, [x9, #4]
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ecpg_log
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _ECPGst_execute@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ECPGst_execute@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	ldr	w1, [x19, #68]
	ldr	x2, [x19]
	ldp	x4, x3, [x19, #48]
	ldr	x5, [x19, #40]
	mov	w6, #0
	bl	_PQexecPrepared
	str	w0, [x19, #36]
	ldr	w1, [x19, #32]
	ldr	w8, [x19, #64]
	str	x8, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_ecpg_log
	b	LBB0_7
LBB0_2:
	ldr	x2, [x19]
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	ldr	w1, [x19, #64]
	cbz	x2, LBB0_4
; %bb.3:
	ldp	x5, x4, [x19, #48]
	ldr	x6, [x19, #40]
	mov	x3, #0
	mov	w7, #0
	bl	_PQexecParams
	mov	x8, x0
Lloh7:
	adrp	x0, l_.str.3@PAGE
Lloh8:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:
	bl	_PQexec
	mov	x8, x0
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_5:
	str	w8, [x19, #36]
	ldr	w1, [x19, #32]
	bl	_ecpg_log
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _ECPGst_prepare@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ECPGst_prepare@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ecpg_register_prepared_stmt
	cbz	w0, LBB0_9
LBB0_7:
	mov	x0, x19
	mov	w1, #1
	bl	_ecpg_free_params
	ldp	w1, w0, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	w2, [x8]
	ldr	w3, [x19, #16]
	bl	_ecpg_check_PQresult
	cmp	w0, #0
	cset	w0, ne
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	mov	x0, x19
	mov	w1, #1
	bl	_ecpg_free_params
	mov	w0, #0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ecpg_execute on line %d: query: %s; with %d parameter(s) on connection %s\n"

	.comm	_ECPGst_execute,8,3             ; @ECPGst_execute
l_.str.1:                               ; @.str.1
	.asciz	"ecpg_execute on line %d: using PQexecPrepared for \"%s\"\n"

l_.str.2:                               ; @.str.2
	.asciz	"ecpg_execute on line %d: using PQexec\n"

l_.str.3:                               ; @.str.3
	.asciz	"ecpg_execute on line %d: using PQexecParams\n"

	.comm	_ECPGst_prepare,8,3             ; @ECPGst_prepare
.subsections_via_symbols
