	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elements_array_element_end
_elements_array_element_end:            ## @elements_array_element_end
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movl	$0, -44(%rbp)
	movq	24(%rdi), %rax
	cmpl	$1, (%rax)
	jne	LBB0_8
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, %r14d
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.2:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.3:
	movl	$1, -44(%rbp)
	movq	$0, -40(%rbp)
	jmp	LBB0_7
LBB0_4:
	cmpl	$0, (%rbx)
	je	LBB0_6
## %bb.5:
	movl	32(%rbx), %edi
	callq	_CStringGetTextDatum
	movq	%rax, -40(%rbp)
	movl	$0, (%rbx)
	jmp	LBB0_7
LBB0_6:
	movq	24(%rbx), %rax
	movl	4(%rax), %esi
	movl	4(%rbx), %edi
	subl	%edi, %esi
	callq	_cstring_to_text_with_len
	movq	%rax, %rdi
	callq	_PointerGetDatum
	movq	%rax, -40(%rbp)
LBB0_7:
	movl	16(%rbx), %edi
	leaq	-40(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	callq	_heap_form_tuple
	movl	12(%rbx), %edi
	movl	%eax, %esi
	callq	_tuplestore_puttuple
	movl	%r14d, %edi
	callq	_MemoryContextSwitchTo
	movl	8(%rbx), %edi
	callq	_MemoryContextReset
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_elements_array_element_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elements_array_element_end
_elements_array_element_end:            ; @elements_array_element_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	wzr, [sp, #12]
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_MemoryContextSwitchTo
	mov	x20, x0
	cbz	w21, LBB0_4
; %bb.2:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w8, #1
	str	w8, [sp, #12]
	str	xzr, [sp, #16]
	b	LBB0_7
LBB0_4:
	ldr	w8, [x19]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	w0, [x19, #32]
	bl	_CStringGetTextDatum
	str	x0, [sp, #16]
	str	wzr, [x19]
	b	LBB0_7
LBB0_6:
	ldr	x8, [x19, #24]
	ldr	w8, [x8, #4]
	ldr	w0, [x19, #4]
	sub	w1, w8, w0
	bl	_cstring_to_text_with_len
	bl	_PointerGetDatum
	str	x0, [sp, #16]
LBB0_7:
	ldr	w0, [x19, #16]
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_heap_form_tuple
	mov	x1, x0
	ldr	w0, [x19, #12]
	bl	_tuplestore_puttuple
	mov	x0, x20
	bl	_MemoryContextSwitchTo
	ldr	w0, [x19, #8]
	bl	_MemoryContextReset
LBB0_8:
	ldr	x8, [sp, #24]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
	add	sp, sp, #80
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_elements_array_element_end
.subsections_via_symbols
