	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execute_dml_stmt
_execute_dml_stmt:                      ## @execute_dml_stmt
	.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	8(%rdi), %rbx
	movl	(%rbx), %r15d
	movq	8(%rbx), %r14
	testl	%r15d, %r15d
	jle	LBB0_2
## %bb.1:
	movq	(%rdi), %rdi
	movl	48(%rbx), %edx
	movl	52(%rbx), %esi
	movq	%r14, %rcx
	callq	_process_query_params
LBB0_2:
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	movl	%r15d, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_PQsendQueryParams
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%rbx), %r8d
	movl	44(%rbx), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_pgfdw_report_error
LBB0_4:
	movl	40(%rbx), %esi
	movl	44(%rbx), %edi
	callq	_pgfdw_get_result
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_5
## %bb.6:
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_8
	jmp	LBB0_9
LBB0_5:
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_9
LBB0_8:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	movl	44(%rbx), %edx
	movl	40(%rbx), %r8d
	movl	$1, %ecx
	callq	_pgfdw_report_error
	movq	32(%rbx), %rcx
LBB0_9:
	movq	16(%rbx), %rdi
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.10:
	callq	_PQntuples
	jmp	LBB0_12
LBB0_11:
	callq	_PQcmdTuples
	movl	%eax, %edi
	callq	_atoi
LBB0_12:
	movl	%eax, 24(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
	.no_dead_strip	_execute_dml_stmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execute_dml_stmt
_execute_dml_stmt:                      ; @execute_dml_stmt
	.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
	ldr	x21, [x0, #8]
	ldr	w19, [x21]
	ldr	x20, [x21, #8]
	cmp	w19, #1
	b.lt	LBB0_2
; %bb.1:
	ldr	x0, [x0]
	ldp	w2, w1, [x21, #48]
	mov	x3, x20
	bl	_process_query_params
LBB0_2:
	ldp	w1, w0, [x21, #40]
	mov	x2, x19
	mov	x3, #0
	mov	x4, x20
	mov	x5, #0
	mov	x6, #0
	mov	w7, #0
	bl	_PQsendQueryParams
	cbnz	w0, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w4, w2, [x21, #40]
	mov	x1, #0
	mov	w3, #0
	bl	_pgfdw_report_error
LBB0_4:
	ldp	w1, w0, [x21, #40]
	bl	_pgfdw_get_result
	str	x0, [x21, #16]
	bl	_PQresultStatus
	ldr	x8, [x21, #32]
Lloh3:
	adrp	x9, _PGRES_TUPLES_OK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh5:
	adrp	x10, _PGRES_COMMAND_OK@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PGRES_COMMAND_OK@GOTPAGEOFF]
	cmp	x8, #0
	csel	x9, x10, x9, eq
	ldr	x9, [x9]
	cmp	x0, x9
	b.eq	LBB0_6
; %bb.5:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x1, [x21, #16]
	ldp	w4, w2, [x21, #40]
	mov	w3, #1
	bl	_pgfdw_report_error
	ldr	x8, [x21, #32]
LBB0_6:
	ldr	x0, [x21, #16]
	cbz	x8, LBB0_8
; %bb.7:
	bl	_PQntuples
	b	LBB0_9
LBB0_8:
	bl	_PQcmdTuples
	bl	_atoi
LBB0_9:
	str	w0, [x21, #24]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
	.no_dead_strip	_execute_dml_stmt
.subsections_via_symbols
