	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQmakeEmptyPGresult            ## -- Begin function PQmakeEmptyPGresult
	.p2align	4, 0x90
_PQmakeEmptyPGresult:                   ## @PQmakeEmptyPGresult
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movl	$192, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	xorps	%xmm0, %xmm0
	movups	%xmm0, 168(%rax)
	movups	%xmm0, 152(%rax)
	movups	%xmm0, 136(%rax)
	movq	$0, 184(%rax)
	movl	%r15d, (%rax)
	movq	8(%rax), %rax
	movb	$0, (%rax)
	movq	$0, 72(%rbx)
	movq	$0, 16(%rbx)
	movups	%xmm0, 104(%rbx)
	movups	%xmm0, 120(%rbx)
	movq	24(%rbx), %rax
	movb	$0, (%rax)
	movups	%xmm0, 80(%rbx)
	movq	$0, 96(%rbx)
	movl	$192, 32(%rbx)
	testq	%r14, %r14
	je	LBB0_8
## %bb.2:
	movups	24(%r14), %xmm0
	movups	40(%r14), %xmm1
	movups	%xmm1, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 36(%rbx)
	addl	$-128, %r15d
	cmpl	$7, %r15d
	jb	LBB0_4
## %bb.3:
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	callq	_pqSetResultError
LBB0_4:
	movq	(%r14), %rsi
	testq	%rsi, %rsi
	jle	LBB0_11
## %bb.5:
	movq	%rbx, %rdx
	addq	$32, %rdx
	movl	8(%r14), %edi
	callq	_dupEvents
	movq	%rax, 72(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	movq	(%r14), %rax
	movq	%rax, 16(%rbx)
	jmp	LBB0_11
LBB0_8:
	movups	%xmm0, 56(%rbx)
	movups	%xmm0, 40(%rbx)
	movq	_PG_SQL_ASCII@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	%rbx, %rdi
	callq	_PQclear
LBB0_10:
	xorl	%ebx, %ebx
LBB0_11:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_SQL_ASCII,4,2               ## @PG_SQL_ASCII
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQmakeEmptyPGresult            ; -- Begin function PQmakeEmptyPGresult
	.p2align	2
_PQmakeEmptyPGresult:                   ; @PQmakeEmptyPGresult
	.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	x21, x1
	mov	x20, x0
	mov	w23, #192
	mov	w0, #192
	bl	_malloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.1:
	str	xzr, [x19, #184]
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #168]
	stur	q0, [x19, #152]
	stur	q0, [x19, #136]
	str	w21, [x19]
	ldr	x8, [x19, #8]
	strb	wzr, [x8]
	str	xzr, [x19, #72]
	str	xzr, [x19, #16]
	stur	q0, [x19, #104]
	stur	q0, [x19, #120]
	ldr	x8, [x19, #24]
	strb	wzr, [x8]
	mov	x22, x19
	str	w23, [x22, #32]!
	stp	xzr, xzr, [x22, #48]
	str	xzr, [x22, #64]
	cbz	x20, LBB0_7
; %bb.2:
	ldur	q0, [x20, #24]
	ldur	q1, [x20, #40]
	stur	q1, [x19, #56]
	stur	q0, [x19, #40]
	ldr	w8, [x20, #16]
	str	w8, [x19, #36]
	sub	w8, w21, #128
	cmp	w8, #7
	b.lo	LBB0_4
; %bb.3:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_pqSetResultError
LBB0_4:
	ldr	x1, [x20]
	cmp	x1, #1
	b.lt	LBB0_9
; %bb.5:
	ldr	w0, [x20, #8]
	mov	x2, x22
	bl	_dupEvents
	str	x0, [x19, #72]
	cbz	x0, LBB0_8
; %bb.6:
	ldr	x8, [x20]
	str	x8, [x19, #16]
	b	LBB0_9
LBB0_7:
	stur	q0, [x19, #56]
	stur	q0, [x19, #40]
Lloh0:
	adrp	x8, _PG_SQL_ASCII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_SQL_ASCII@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #36]
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_PQclear
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	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	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_SQL_ASCII,4,2               ; @PG_SQL_ASCII
.subsections_via_symbols
