	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function concat_internal
_concat_internal:                       ## @concat_internal
	.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
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	(%rdx), %rdi
	callq	_get_fn_expr_variadic
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_PG_NARGS
	decl	%eax
	xorl	%edi, %edi
	cmpl	%ebx, %eax
	sete	%dil
	callq	_Assert
	movl	%ebx, %edi
	callq	_PG_ARGISNULL
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:
	movq	(%r15), %rdi
	movl	%ebx, %esi
	callq	_get_fn_expr_argtype
	movl	%eax, %edi
	callq	_get_base_element_type
	movl	%eax, %edi
	callq	_OidIsValid
	movl	%eax, %edi
	callq	_Assert
	movl	%ebx, %edi
	callq	_PG_GETARG_ARRAYTYPE_P
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_array_to_text_internal         ## TAILCALL
LBB0_3:
	leaq	-48(%rbp), %rdi
	callq	_initStringInfo
	movq	(%r15), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	jne	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_build_concat_foutcache
	movq	%rax, %r12
LBB0_5:
	xorl	%eax, %eax
	callq	_PG_NARGS
	cmpl	%ebx, %eax
	jle	LBB0_12
## %bb.6:
	movslq	%ebx, %rbx
	leaq	(%r12,%rbx,4), %r15
	movl	$1, %r14d
	leaq	-48(%rbp), %r12
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	movl	%r13d, %esi
	callq	_OutputFunctionCall
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_appendStringInfoString
	xorl	%r14d, %r14d
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	xorl	%eax, %eax
	callq	_PG_NARGS
	cltq
	addq	$4, %r15
	cmpq	%rax, %rbx
	jge	LBB0_12
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_PG_ARGISNULL
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	%ebx, %edi
	callq	_PG_GETARG_DATUM
	movl	%eax, %r13d
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_appendStringInfoString
	jmp	LBB0_10
LBB0_12:
	movl	-48(%rbp), %edi
	movl	-44(%rbp), %esi
	callq	_cstring_to_text_with_len
	movq	%rax, %r12
	movl	-48(%rbp), %edi
	callq	_pfree
LBB0_13:
	movq	%r12, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_concat_internal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function concat_internal
_concat_internal:                       ; @concat_internal
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x2]
	bl	_get_fn_expr_variadic
	cbz	x0, LBB0_3
; %bb.1:
	bl	_PG_NARGS
	sub	w8, w0, #1
	cmp	w8, w20
	cset	w0, eq
	bl	_Assert
	mov	x0, x20
	bl	_PG_ARGISNULL
	cbz	x0, LBB0_14
; %bb.2:
	mov	x19, #0
	b	LBB0_13
LBB0_3:
	add	x0, sp, #8
	bl	_initStringInfo
	ldr	x8, [x21]
	ldr	x22, [x8]
	cbnz	x22, LBB0_5
; %bb.4:
	mov	x0, x21
	mov	x1, x20
	bl	_build_concat_foutcache
	mov	x22, x0
LBB0_5:
	bl	_PG_NARGS
	cmp	w0, w20
	b.le	LBB0_12
; %bb.6:
	sxtw	x21, w20
	mov	w23, #1
	add	x20, x22, w20, sxtw #2
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_OutputFunctionCall
	mov	x1, x0
	add	x0, sp, #8
	bl	_appendStringInfoString
	mov	w23, #0
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x21, x21, #1
	bl	_PG_NARGS
	add	x20, x20, #4
	cmp	x21, w0, sxtw
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_PG_ARGISNULL
	cbnz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x21
	bl	_PG_GETARG_DATUM
	mov	x22, x0
	cbnz	w23, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #8
	mov	x1, x19
	bl	_appendStringInfoString
	b	LBB0_7
LBB0_12:
	ldp	w0, w1, [sp, #8]
	bl	_cstring_to_text_with_len
	mov	x19, x0
	ldr	w0, [sp, #8]
	bl	_pfree
LBB0_13:
	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
LBB0_14:
	ldr	x0, [x21]
	mov	x1, x20
	bl	_get_fn_expr_argtype
	bl	_get_base_element_type
	bl	_OidIsValid
	bl	_Assert
	mov	x0, x20
	bl	_PG_GETARG_ARRAYTYPE_P
	mov	x1, x0
	mov	x0, x21
	mov	x2, x19
	mov	x3, #0
	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
	b	_array_to_text_internal
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_concat_internal
.subsections_via_symbols
