	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgsql_handle_doer
_pgsql_handle_doer:                     ## @pgsql_handle_doer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r12
	movl	4(%r12), %edi
	callq	_PQexec
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	%rax, %rbx
	movq	_PGRES_COMMAND_OK@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_5
## %bb.3:
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_pdo_pgsql_sqlstate
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_pdo_pgsql_error
	movq	%r15, %rdi
	callq	_PQclear
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_PGRES_FATAL_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_pdo_pgsql_error
	movl	$-1, %ebx
	jmp	LBB0_9
LBB0_5:
	movq	%r15, %rdi
	callq	_PQoidValue
	movl	%eax, (%r12)
	cmpq	(%r13), %rbx
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_PQcmdTuples
	movl	$1, %ebx
	movl	$1, %edi
	movl	%eax, %esi
	callq	_ZEND_ATOL
	jmp	LBB0_8
LBB0_7:
	xorl	%edi, %edi
	callq	_Z_L
	movl	%eax, %ebx
LBB0_8:
	movq	%r15, %rdi
	callq	_PQclear
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGRES_FATAL_ERROR,8,3          ## @PGRES_FATAL_ERROR
	.comm	_PGRES_COMMAND_OK,8,3           ## @PGRES_COMMAND_OK
	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
	.no_dead_strip	_pgsql_handle_doer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgsql_handle_doer
_pgsql_handle_doer:                     ; @pgsql_handle_doer
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
	ldr	x22, [x0]
	ldr	w0, [x22, #4]
	bl	_PQexec
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	bl	_PQresultStatus
	mov	x21, x0
Lloh0:
	adrp	x23, _PGRES_COMMAND_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PGRES_COMMAND_OK@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh2:
	adrp	x9, _PGRES_TUPLES_OK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_5
; %bb.2:
	mov	x0, x19
	bl	_PQoidValue
	str	w0, [x22]
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_PQcmdTuples
	mov	x1, x0
	mov	w20, #1
	mov	w0, #1
	bl	_ZEND_ATOL
	b	LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _PGRES_FATAL_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PGRES_FATAL_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	x1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_pdo_pgsql_error
	mov	w20, #-1
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_pdo_pgsql_sqlstate
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_pdo_pgsql_error
	mov	x0, x19
	bl	_PQclear
	mov	w20, #-1
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	bl	_Z_L
	mov	x20, x0
LBB0_7:
	mov	x0, x19
	bl	_PQclear
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PGRES_FATAL_ERROR,8,3          ; @PGRES_FATAL_ERROR
	.comm	_PGRES_COMMAND_OK,8,3           ; @PGRES_COMMAND_OK
	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
	.no_dead_strip	_pgsql_handle_doer
.subsections_via_symbols
