	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_fields
_get_fields:                            ## @get_fields
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %r14
	cmpb	$0, (%rdi)
	je	LBB0_9
## %bb.2:
	movl	%esi, %r15d
	movq	%r14, %rdi
	movl	$44, %esi
	callq	_strchr
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_4
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	incq	%rax
	movq	%rax, %rdi
	movl	$44, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_3
LBB0_4:
	cmpl	%r15d, %ebx
	movl	%ebx, %r12d
	cmovgl	%r15d, %r12d
	testl	%r15d, %r15d
	cmovlel	%ebx, %r12d
	leal	1(%r12), %edi
	movl	$8, %esi
	callq	_calloc
	movq	%rax, %r15
	movq	%r14, -40(%rbp)
	cmpl	$2, %r12d
	jl	LBB0_10
## %bb.5:
	decl	%r12d
	xorl	%ebx, %ebx
	leaq	-40(%rbp), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_get_field
	movq	%rax, (%r15,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
## %bb.7:
	movq	-40(%rbp), %r14
	jmp	LBB0_11
LBB0_9:
	xorl	%r15d, %r15d
	jmp	LBB0_12
LBB0_10:
	xorl	%r12d, %r12d
LBB0_11:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%r15,%r12,8)
LBB0_12:
	movq	%r15, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_fields
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_fields
_get_fields:                            ; @get_fields
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_8
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x20, x1
	mov	x0, x19
	mov	w1, #44
	bl	_strchr
	mov	w21, #1
	cbz	x0, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w21, w21, #1
	add	x0, x0, #1
	mov	w1, #44
	bl	_strchr
	cbnz	x0, LBB0_3
LBB0_4:
	cmp	w21, w20
	ccmp	w20, #0, #4, gt
	csel	w21, w20, w21, gt
	add	w0, w21, #1
	mov	w1, #8
	bl	_calloc
	mov	x20, x0
	str	x19, [sp, #8]
	cmp	w21, #2
	b.lt	LBB0_9
; %bb.5:
	sub	w21, w21, #1
	mov	x19, x21
	mov	x22, x20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #8
	bl	_get_field
	str	x0, [x22], #8
	subs	x19, x19, #1
	b.ne	LBB0_6
; %bb.7:
	ldr	x19, [sp, #8]
	b	LBB0_10
LBB0_8:
	mov	x20, #0
	b	LBB0_11
LBB0_9:
	mov	x21, #0
LBB0_10:
	mov	x0, x19
	bl	_strdup
	str	x0, [x20, x21, lsl #3]
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_fields
.subsections_via_symbols
