	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQfireResultCreateEvents       ## -- Begin function PQfireResultCreateEvents
	.p2align	4, 0x90
_PQfireResultCreateEvents:              ## @PQfireResultCreateEvents
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	%rsi, %r13
	movl	(%rsi), %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jle	LBB0_9
## %bb.2:
	movq	%rdi, %r15
	movq	8(%r13), %rax
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %r12
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	movl	$1, (%rax,%rbx)
	movl	(%r13), %ecx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movslq	%ecx, %rdx
	addq	$16, %rbx
	cmpq	%rdx, %r14
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rax,%rbx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, -48(%rbp)
	movq	%r13, -56(%rbp)
	movq	_PGEVT_RESULTCREATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	4(%rax,%rbx), %edx
	movq	%r12, %rsi
	callq	*8(%rax,%rbx)
	testl	%eax, %eax
	jne	LBB0_5
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_7:
	movl	$1, %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGEVT_RESULTCREATE,4,2         ## @PGEVT_RESULTCREATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQfireResultCreateEvents       ; -- Begin function PQfireResultCreateEvents
	.p2align	2
_PQfireResultCreateEvents:              ; @PQfireResultCreateEvents
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x1, LBB0_7
; %bb.1:
	mov	x20, x1
	ldr	w9, [x1]
	mov	w19, #1
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x21, x0
	mov	x22, #0
	mov	x23, #0
	ldr	x8, [x20, #8]
Lloh0:
	adrp	x24, _PGEVT_RESULTCREATE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _PGEVT_RESULTCREATE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	str	w19, [x8, x22]
	ldr	w9, [x20]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	add	x22, x22, #16
	cmp	x23, w9, sxtw
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8, x22]
	cbnz	w10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	stp	x20, x21, [sp]
	add	x8, x8, x22
	ldr	x9, [x8, #8]
	ldr	w0, [x24]
	ldr	w2, [x8, #4]
	mov	x1, sp
	blr	x9
	cbnz	w0, LBB0_3
LBB0_7:
	mov	w19, #0
	b	LBB0_9
LBB0_8:
	mov	w19, #1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PGEVT_RESULTCREATE,4,2         ; @PGEVT_RESULTCREATE
.subsections_via_symbols
