	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_comma_elts                 ## -- Begin function get_comma_elts
	.p2align	4, 0x90
_get_comma_elts:                        ## @get_comma_elts
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	%rdi, %r15
	jle	LBB0_2
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strlen
	addl	%eax, %r14d
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
## %bb.6:
	addl	%r14d, %r14d
	jmp	LBB0_7
LBB0_3:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pg_strdup                      ## TAILCALL
LBB0_2:
	xorl	%r14d, %r14d
LBB0_7:
	leal	(%r14,%rax,4), %edi
	callq	_pg_malloc
	movq	%rax, %r14
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.8:
	leaq	1(%r14), %r13
	leaq	L_.str.2(%rip), %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_sprintf
	movq	8(%r15), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_PQescapeString
	cltq
	leaq	(%r14,%rax), %rbx
	incq	%rbx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_sprintf
	cmpl	$2, (%r15)
	jl	LBB0_12
## %bb.9:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	leal	1(%rbx), %edi
	leal	2(%rbx), %r14d
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	leaq	3(%rbx), %r12
	movl	%r14d, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
	movq	8(%r15), %rax
	movl	(%rax,%r13,4), %r14d
	movl	%r14d, %edi
	callq	_strlen
	movq	%r12, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_PQescapeString
	cltq
	addq	%rax, %rbx
	addq	$3, %rbx
	movl	%ebx, %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_sprintf
	incq	%r13
	movslq	(%r15), %rax
	cmpq	%rax, %r13
	jl	LBB0_10
## %bb.11:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
LBB0_12:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	","

L_.str.2:                               ## @.str.2
	.asciz	"'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_comma_elts                 ; -- Begin function get_comma_elts
	.p2align	2
_get_comma_elts:                        ; @get_comma_elts
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x21, #0
	mov	w20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x21, lsl #2]
	bl	_strlen
	add	w20, w20, w0
	add	x21, x21, #1
	ldrsw	x8, [x19]
	cmp	x21, x8
	b.lt	LBB0_3
; %bb.4:
	lsl	w9, w20, #1
	b	LBB0_7
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_pg_strdup
LBB0_6:
	mov	w9, #0
LBB0_7:
	add	w0, w9, w8, lsl #2
	bl	_pg_malloc
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.8:
	add	x21, x20, #1
Lloh2:
	adrp	x22, l_.str.2@PAGE
Lloh3:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x1, x22
	bl	_sprintf
	ldr	x8, [x19, #8]
	ldr	w23, [x8]
	mov	x0, x23
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x23
	bl	_PQescapeString
	add	x23, x21, w0, sxtw
	mov	x0, x23
	mov	x1, x22
	bl	_sprintf
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_11
; %bb.9:
	mov	w25, #1
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh6:
	adrp	x22, l_.str.2@PAGE
Lloh7:
	add	x22, x22, l_.str.2@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	w0, w23, #1
	add	w24, w23, #2
	mov	x1, x21
	bl	_sprintf
	add	x23, x23, #3
	mov	x0, x24
	mov	x1, x22
	bl	_sprintf
	ldr	x8, [x19, #8]
	ldr	w24, [x8, x25, lsl #2]
	mov	x0, x24
	bl	_strlen
	mov	x2, x0
	mov	x0, x23
	mov	x1, x24
	bl	_PQescapeString
	add	x23, x23, w0, sxtw
	mov	x0, x23
	mov	x1, x22
	bl	_sprintf
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.lt	LBB0_10
LBB0_11:
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	","

l_.str.2:                               ; @.str.2
	.asciz	"'"

.subsections_via_symbols
