	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqRowProcessor                 ## -- Begin function pqRowProcessor
	.p2align	4, 0x90
_pqRowProcessor:                        ## @pqRowProcessor
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	movq	32(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	cmpq	$0, 24(%rdi)
	je	LBB0_3
## %bb.1:
	movq	_PG_COPYRES_ATTRS@GOTPCREL(%rip), %rax
	movq	_PG_COPYRES_EVENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	_PG_COPYRES_NOTICEHOOKS@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	%r12, %rdi
	callq	_PQcopyResult
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_2
LBB0_3:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %esi
	shll	$4, %esi
	movq	%r12, %rdi
	movl	$1, %edx
	callq	_pqResultAlloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movq	%rax, %r13
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.5:
	shlq	$3, -48(%rbp)                   ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_NULL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13,%r14,2)
	movq	8(%r12), %r15
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, 8(%r13,%r14,2)
	addq	$8, %r14
	cmpq	%r14, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r14), %ebx
	testl	%ebx, %ebx
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	24(%r12), %rax
	xorl	%edx, %edx
	cmpq	$0, (%rax,%r14)
	setne	%dl
	leal	1(%rbx), %esi
	movq	%r12, %rdi
	callq	_pqResultAlloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r14), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movb	$0, (%r15,%rbx)
	movl	%ebx, (%r13,%r14,2)
	jmp	LBB0_10
LBB0_11:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	callq	_pqAddTuple
	testl	%eax, %eax
	je	LBB0_14
## %bb.12:
	movl	$1, %ebx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, 24(%rcx)
	je	LBB0_16
## %bb.13:
	movq	_PGRES_SINGLE_TUPLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r12)
	movq	(%rcx), %rax
	movq	%rax, 16(%rcx)
	movq	%r12, (%rcx)
	movq	_PGASYNC_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	jmp	LBB0_16
LBB0_14:
	xorl	%ebx, %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	(%rax), %r12
	je	LBB0_16
## %bb.15:
	movq	%r12, %rdi
	callq	_PQclear
	jmp	LBB0_16
LBB0_2:
	xorl	%ebx, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PG_COPYRES_ATTRS,4,2           ## @PG_COPYRES_ATTRS
	.comm	_PG_COPYRES_EVENTS,4,2          ## @PG_COPYRES_EVENTS
	.comm	_PG_COPYRES_NOTICEHOOKS,4,2     ## @PG_COPYRES_NOTICEHOOKS
	.comm	_NULL_LEN,4,2                   ## @NULL_LEN
	.comm	_PGRES_SINGLE_TUPLE,4,2         ## @PGRES_SINGLE_TUPLE
	.comm	_PGASYNC_READY,4,2              ## @PGASYNC_READY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqRowProcessor                 ; -- Begin function pqRowProcessor
	.p2align	2
_pqRowProcessor:                        ; @pqRowProcessor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x0]
	ldr	w22, [x20]
	ldp	x8, x25, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _PG_COPYRES_ATTRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PG_COPYRES_ATTRS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PG_COPYRES_EVENTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PG_COPYRES_EVENTS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _PG_COPYRES_NOTICEHOOKS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PG_COPYRES_NOTICEHOOKS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	x0, x20
	bl	_PQcopyResult
	mov	x20, x0
	cbz	x0, LBB0_16
LBB0_2:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	lsl	w1, w22, #4
	mov	x0, x20
	mov	w2, #1
	bl	_pqResultAlloc
	cbz	x0, LBB0_13
; %bb.3:
	mov	x21, x0
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.4:
	mov	x26, #0
	lsl	x27, x22, #3
Lloh9:
	adrp	x28, _NULL_LEN@GOTPAGE
Lloh10:
	ldr	x28, [x28, _NULL_LEN@GOTPAGEOFF]
	mov	x22, x21
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x28]
	str	w8, [x22]
	ldr	x24, [x20, #8]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	str	x24, [x22, #8]
	add	x22, x22, #16
	add	x26, x26, #8
	cmp	x27, x26
	b.eq	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w23, [x25, x26]
	tbnz	w23, #31, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x20, #24]
	ldr	x8, [x8, x26]
	cmp	x8, #0
	cset	w2, ne
	add	w1, w23, #1
	mov	x0, x20
	bl	_pqResultAlloc
	cbz	x0, LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, x0
	add	x8, x25, x26
	ldr	w1, [x8, #4]
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x24, x23]
	str	w23, [x22]
	b	LBB0_6
LBB0_10:
	mov	x0, x20
	mov	x1, x21
	ldr	x2, [sp, #8]                    ; 8-byte Folded Reload
	bl	_pqAddTuple
	cbz	w0, LBB0_13
; %bb.11:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_17
; %bb.12:
Lloh11:
	adrp	x8, _PGRES_SINGLE_TUPLE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PGRES_SINGLE_TUPLE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x20, #16]
	ldr	x8, [x19]
	str	x8, [x19, #16]
	str	x20, [x19]
Lloh14:
	adrp	x8, _PGASYNC_READY@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PGASYNC_READY@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	mov	w0, #1
	b	LBB0_16
LBB0_13:
	ldr	x8, [x19]
	cmp	x20, x8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_PQclear
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	mov	w0, #1
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PG_COPYRES_ATTRS,4,2           ; @PG_COPYRES_ATTRS
	.comm	_PG_COPYRES_EVENTS,4,2          ; @PG_COPYRES_EVENTS
	.comm	_PG_COPYRES_NOTICEHOOKS,4,2     ; @PG_COPYRES_NOTICEHOOKS
	.comm	_NULL_LEN,4,2                   ; @NULL_LEN
	.comm	_PGRES_SINGLE_TUPLE,4,2         ; @PGRES_SINGLE_TUPLE
	.comm	_PGASYNC_READY,4,2              ; @PGASYNC_READY
.subsections_via_symbols
