	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_collate_cat             ## -- Begin function config_collate_cat
	.p2align	4, 0x90
_config_collate_cat:                    ## @config_collate_cat
	.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
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_strlen
	cltq
	addq	%rax, %r15
	incq	%r15
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
## %bb.4:
	incq	%r15
	movq	%r15, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %r12
	movq	%rax, %r13
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	callq	_strlen
	cltq
	addq	$2, %rax
	cmpq	%r15, %rax
	ja	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r14), %rcx
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	callq	_snprintf
	movq	%r13, %rdi
	callq	_strlen
	cltq
	addq	%rax, %r13
	subq	%rax, %r15
	movq	8(%r14), %r14
	testq	%r14, %r14
	jne	LBB0_6
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_10
LBB0_9:
	movq	(%r14), %rdi
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strdup                         ## TAILCALL
LBB0_12:
	movq	%rbx, %rdi
	callq	_free
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %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	"%s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_config_collate_cat             ; -- Begin function config_collate_cat
	.p2align	2
_config_collate_cat:                    ; @config_collate_cat
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x20, #0
	mov	x21, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	bl	_strlen
	add	w8, w0, #1
	add	x20, x20, w8, sxtw
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_3
; %bb.4:
	add	x21, x20, #1
	mov	x0, x21
	bl	_malloc
	mov	x20, x0
	cbz	x0, LBB0_12
; %bb.5:
Lloh0:
	adrp	x22, l_.str.1@PAGE
Lloh1:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x23, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x8, x8, #2
	cmp	x8, x21
	b.hi	LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x3, [x19]
	mov	x0, x23
	mov	x1, x21
	mov	x2, x22
	bl	_snprintf
	mov	x0, x23
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x23, x23, x8
	sub	x21, x21, x8
	ldr	x19, [x19, #8]
	cbnz	x19, LBB0_6
	b	LBB0_12
LBB0_8:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
	ldr	x0, [x19]
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strdup
LBB0_11:
	mov	x0, x20
	bl	_free
	mov	x20, #0
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

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

.subsections_via_symbols
