	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getAnotherTuple
_getAnotherTuple:                       ## @getAnotherTuple
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %r14
	movl	(%r14), %r12d
	movq	56(%rdi), %rbx
	cmpl	(%rdi), %r12d
	jle	LBB0_3
## %bb.1:
	movl	%r12d, %esi
	shll	$4, %esi
	movq	%rbx, %rdi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_25
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, 56(%r13)
	movl	%r12d, (%r13)
LBB0_3:
	movl	%r15d, 4(%r14)
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.4:
	testl	%r12d, %r12d
	jle	LBB0_6
## %bb.5:
	movq	8(%r14), %rdi
	leaq	(,%r12,4), %rdx
	leaq	L_.memset_pattern(%rip), %rsi
	callq	_memset_pattern16
LBB0_6:
	movq	%rbx, -160(%rbp)                ## 8-byte Spill
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leal	(%r12,%rcx), %eax
	decl	%eax
	cltd
	idivl	%ecx
	movslq	%eax, %rbx
	cmpl	$65, %ebx
	jb	LBB0_9
## %bb.7:
	movq	%rbx, %rdi
	callq	_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:
	xorl	%r14d, %r14d
	jmp	LBB0_26
LBB0_9:
	leaq	-112(%rbp), %r14
LBB0_10:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_pqGetnchar
	testq	%rax, %rax
	jne	LBB0_30
## %bb.11:
	movl	%r15d, -140(%rbp)               ## 4-byte Spill
	movq	%r14, -128(%rbp)                ## 8-byte Spill
	movq	%r12, -152(%rbp)                ## 8-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_36
## %bb.12:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movb	(%rax), %bl
	shlq	$4, -152(%rbp)                  ## 8-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	addb	%bl, %bl
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$16, %r14
	cmpq	%r14, -152(%rbp)                ## 8-byte Folded Reload
	je	LBB0_36
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	testb	%bl, %bl
	js	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_NULL_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_17:                                ##   in Loop: Header=BB0_15 Depth=1
	movl	%eax, -116(%rbp)
LBB0_18:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx,%r14)
	movq	40(%r13), %rax
	addq	48(%r13), %rax
	movq	%rax, 8(%rcx,%r14)
	movl	-116(%rbp), %edi
	testl	%edi, %edi
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r13, %rsi
	callq	_pqSkipnchar
	testq	%rax, %rax
	jne	LBB0_40
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=1
	incl	%r12d
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movslq	%r15d, %r15
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movzbl	1(%rax,%r15), %ebx
	incq	%r15
	xorl	%r12d, %r12d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=1
	leaq	-116(%rbp), %rdi
	movl	$4, %esi
	movq	%r13, %rdx
	callq	_pqGetInt
	testq	%rax, %rax
	jne	LBB0_40
## %bb.23:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	-116(%rbp), %eax
	leal	-4(%rax), %ecx
	movl	-140(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	cmovnel	%eax, %ecx
	testl	%ecx, %ecx
	movl	$0, %eax
	cmovgl	%ecx, %eax
	testl	%edx, %edx
	je	LBB0_17
## %bb.24:                              ##   in Loop: Header=BB0_15 Depth=1
	testl	%ecx, %ecx
	jns	LBB0_18
	jmp	LBB0_17
LBB0_25:
	leaq	-112(%rbp), %r14
LBB0_26:
	movq	$0, -136(%rbp)
	movq	24(%r13), %rax
	movq	%rax, 32(%r13)
LBB0_27:
	movq	%r13, %rdi
	callq	_pqClearAsyncResult
	movq	-136(%rbp), %rdx
	testq	%rdx, %rdx
	jne	LBB0_29
## %bb.28:
	leaq	L_.str(%rip), %rdi
	callq	_libpq_gettext
	movq	%rax, %rdx
	movq	%rax, -136(%rbp)
LBB0_29:
	leaq	16(%r13), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_printfPQExpBuffer
	movq	_PGRES_FATAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_PQmakeEmptyPGresult
	movq	%rax, 8(%r13)
	movq	_PGASYNC_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
LBB0_30:
	testq	%r14, %r14
	je	LBB0_33
LBB0_31:
	leaq	-112(%rbp), %rax
	cmpq	%rax, %r14
	je	LBB0_33
## %bb.32:
	movq	%r14, %rdi
	callq	_free
LBB0_33:
	movq	_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_41
## %bb.35:
	movl	%r14d, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	leaq	-112(%rbp), %rax
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	cmpq	%rax, %rdi
	je	LBB0_38
## %bb.37:
	callq	_free
LBB0_38:
	movq	40(%r13), %rax
	movq	%rax, 32(%r13)
	movq	$0, -136(%rbp)
	leaq	-136(%rbp), %rsi
	movq	%r13, %rdi
	callq	_pqRowProcessor
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_34
	jmp	LBB0_27
LBB0_40:
	movq	-128(%rbp), %r14                ## 8-byte Reload
	testq	%r14, %r14
	jne	LBB0_31
	jmp	LBB0_33
LBB0_41:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.comm	_NULL_LEN,4,2                   ## @NULL_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"out of memory for query result"

L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_PGRES_FATAL_ERROR,4,2          ## @PGRES_FATAL_ERROR
	.comm	_PGASYNC_READY,4,2              ## @PGASYNC_READY
	.comm	_EOF,4,2                        ## @EOF
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## @.memset_pattern
L_.memset_pattern:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.no_dead_strip	_getAnotherTuple
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getAnotherTuple
_getAnotherTuple:                       ; @getAnotherTuple
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #88]
	ldr	x20, [x0, #8]
	ldr	w24, [x20]
	ldr	x22, [x0, #56]
	ldr	w8, [x0]
	cmp	w24, w8
	b.le	LBB0_3
; %bb.1:
	lsl	w1, w24, #4
	mov	x0, x22
	bl	_realloc
	cbz	x0, LBB0_24
; %bb.2:
	mov	x22, x0
	str	x0, [x19, #56]
	str	w24, [x19]
LBB0_3:
	str	w21, [x20, #4]
	cbz	w21, LBB0_6
; %bb.4:
	cmp	w24, #1
	b.lt	LBB0_6
; %bb.5:
	ldr	x0, [x20, #8]
	lsl	x2, x24, #2
Lloh3:
	adrp	x1, l_.memset_pattern@PAGE
Lloh4:
	add	x1, x1, l_.memset_pattern@PAGEOFF
	bl	_memset_pattern16
LBB0_6:
Lloh5:
	adrp	x25, _BITS_PER_BYTE@GOTPAGE
Lloh6:
	ldr	x25, [x25, _BITS_PER_BYTE@GOTPAGEOFF]
	ldr	w8, [x25]
	add	w9, w24, w8
	sub	w9, w9, #1
	sdiv	w8, w9, w8
	sxtw	x23, w8
	cmp	w8, #65
	b.lo	LBB0_8
; %bb.7:
	mov	x0, x23
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_9
	b	LBB0_25
LBB0_8:
	add	x20, sp, #24
LBB0_9:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x19
	bl	_pqGetnchar
	cbnz	x0, LBB0_29
; %bb.10:
	cmp	w24, #1
	b.lt	LBB0_35
; %bb.11:
	mov	w23, #0
	mov	w28, #0
	ldrb	w26, [x20]
	add	x22, x22, #8
Lloh7:
	adrp	x27, _NULL_LEN@GOTPAGE
Lloh8:
	ldr	x27, [x27, _NULL_LEN@GOTPAGEOFF]
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	lsl	w26, w26, #1
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x22, #16
	subs	x24, x24, #1
	b.eq	LBB0_35
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	tbnz	w26, #7, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [x27]
LBB0_16:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w8, [sp, #12]
LBB0_17:                                ;   in Loop: Header=BB0_14 Depth=1
	stur	w8, [x22, #-8]
	ldp	x9, x8, [x19, #40]
	add	x8, x9, x8
	str	x8, [x22]
	ldr	w0, [sp, #12]
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x19
	bl	_pqSkipnchar
	cbnz	x0, LBB0_29
LBB0_19:                                ;   in Loop: Header=BB0_14 Depth=1
	add	w23, w23, #1
	ldr	w8, [x25]
	cmp	w23, w8
	b.ne	LBB0_12
; %bb.20:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	w23, #0
	sxtw	x8, w28
	add	x28, x8, #1
	ldrb	w26, [x20, x28]
                                        ; kill: def $w28 killed $w28 killed $x28 def $x28
	b	LBB0_13
LBB0_21:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #12
	mov	w1, #4
	mov	x2, x19
	bl	_pqGetInt
	cbnz	x0, LBB0_29
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w8, [sp, #12]
	sub	w9, w8, #4
	cmp	w21, #0
	csel	w9, w9, w8, eq
	cmp	w9, #0
	csel	w8, w9, wzr, gt
	cbz	w21, LBB0_16
; %bb.23:                               ;   in Loop: Header=BB0_14 Depth=1
	tbz	w9, #31, LBB0_17
	b	LBB0_16
LBB0_24:
	add	x20, sp, #24
LBB0_25:
	str	xzr, [sp, #16]
	ldr	x8, [x19, #24]
	str	x8, [x19, #32]
LBB0_26:
	mov	x0, x19
	bl	_pqClearAsyncResult
	ldr	x2, [sp, #16]
	cbnz	x2, LBB0_28
; %bb.27:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_libpq_gettext
	mov	x2, x0
	str	x0, [sp, #16]
LBB0_28:
	add	x0, x19, #16
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_printfPQExpBuffer
Lloh13:
	adrp	x8, _PGRES_FATAL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PGRES_FATAL_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_PQmakeEmptyPGresult
	str	x0, [x19, #8]
Lloh16:
	adrp	x8, _PGASYNC_READY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PGASYNC_READY@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_29:
	cbz	x20, LBB0_32
; %bb.30:
	add	x8, sp, #24
	cmp	x20, x8
	b.eq	LBB0_32
; %bb.31:
	mov	x0, x20
	bl	_free
LBB0_32:
Lloh19:
	adrp	x8, _EOF@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EOF@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
LBB0_33:
	ldr	x8, [sp, #88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_40
; %bb.34:
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_35:
	add	x8, sp, #24
	cmp	x20, x8
	b.eq	LBB0_37
; %bb.36:
	mov	x0, x20
	bl	_free
LBB0_37:
	ldr	x8, [x19, #40]
	str	x8, [x19, #32]
	str	xzr, [sp, #16]
	add	x1, sp, #16
	mov	x0, x19
	bl	_pqRowProcessor
	cbz	x0, LBB0_39
; %bb.38:
	mov	w0, #0
	b	LBB0_33
LBB0_39:
	mov	x20, #0
	b	LBB0_26
LBB0_40:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.comm	_NULL_LEN,4,2                   ; @NULL_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"out of memory for query result"

l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_PGRES_FATAL_ERROR,4,2          ; @PGRES_FATAL_ERROR
	.comm	_PGASYNC_READY,4,2              ; @PGASYNC_READY
	.comm	_EOF,4,2                        ; @EOF
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; @.memset_pattern
l_.memset_pattern:
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.no_dead_strip	_getAnotherTuple
.subsections_via_symbols
