	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_fields                     ## -- Begin function get_fields
	.p2align	4, 0x90
_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	%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	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	cmpb	$0, (%rsi)
	je	LBB0_30
## %bb.1:
	xorl	%eax, %eax
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_22 Depth 2
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpb	$44, -1(%rax,%rcx)
	jne	LBB0_5
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_RETURN_FIELDS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %r15
	addq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r15,%r13), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	cmpb	$44, %al
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	incq	%r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_get_field_id_len
	movq	_return_fields@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r12d, %r14
	movq	%rax, (%rcx,%r14,8)
	testq	%rax, %rax
	js	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	leal	(%rbx,%r13), %eax
	incl	%eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	$17, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_26
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpb	$112, (%rax)
	jne	LBB0_26
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	leal	9(%rbx), %r10d
	xorl	%edi, %edi
	cmpb	$111, (%r15)
	sete	%dil
	cmovnel	%ebx, %r10d
	shlq	$7, %rdi
	movl	%r10d, %eax
	negl	%eax
	addq	%rbx, %rax
	addq	%r13, %rax
	cmpl	$8, %eax
	je	LBB0_29
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$35, %eax
	jg	LBB0_32
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%r13), %r9
	leal	8(%r10), %r8d
	leal	-1(%rbx), %eax
	addq	%r13, %rax
	cltq
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rcx,%rax), %ecx
	movl	%ecx, %edx
	andb	$-4, %dl
	cmpb	$48, %dl
	cmovnel	%r9d, %eax
	cmpl	%eax, %r8d
	je	LBB0_32
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_RETURN_FIELDS@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %r12d
	jge	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	shlq	$5, %rcx
	addq	$-1536, %rcx                    ## imm = 0xFA00
	cmpb	$48, %dl
	movl	$0, %edx
	cmovneq	%rdx, %rcx
	addq	%rdi, %rcx
	movslq	%r8d, %r8
	addq	-56(%rbp), %r8                  ## 8-byte Folded Reload
	subl	%r10d, %eax
	addl	$-9, %eax
	leaq	(,%r14,8), %r9
	movq	_return_fields@GOTPCREL(%rip), %rdx
	addq	(%rdx), %r9
	incq	%r14
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r8,%rdi), %edx
	leal	-123(%rdx), %esi
	cmpb	$-26, %sil
	jb	LBB0_31
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=2
	addl	$-96, %edx
	addq	%rcx, %rdx
	movq	_MAX_FIELDS@GOTPCREL(%rip), %rsi
	addq	(%rsi), %rdx
	movq	%rdx, (%r9,%rdi,8)
	leaq	1(%rdi), %rdx
	cmpl	%edi, %eax
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_22 Depth=2
	addq	%r14, %rdi
	movq	_MAX_RETURN_FIELDS@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	cmpq	%rsi, %rdi
	movq	%rdx, %rdi
	jl	LBB0_22
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	%edx, %r12d
	leal	(%rbx,%r13), %eax
	incl	%eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	cmpl	$8, %r13d
	jne	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$8, %edx
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_FIELDS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$256, %ecx                      ## imm = 0x100
	addq	%rcx, %rax
	movq	_return_fields@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	incl	%r12d
	movq	%rax, (%rcx,%r14,8)
	leal	(%rbx,%r13), %eax
	incl	%eax
	jmp	LBB0_2
LBB0_29:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_MAX_FIELDS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	movq	_return_fields@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	%r12d
	movq	%rdi, (%rax,%r14,8)
	leal	(%rbx,%r13), %eax
	incl	%eax
	jmp	LBB0_2
LBB0_30:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_31
LBB0_5:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
LBB0_31:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	movl	$-1, -44(%rbp)                  ## 4-byte Folded Spill
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_RETURN_FIELDS,4,2          ## @MAX_RETURN_FIELDS
	.comm	_return_fields,8,3              ## @return_fields
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"location"

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

	.comm	_MAX_FIELDS,8,3                 ## @MAX_FIELDS
L_.str.2:                               ## @.str.2
	.asciz	"ordering"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_fields                     ; -- Begin function get_fields
	.p2align	2
_get_fields:                            ; @get_fields
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldrb	w8, [x1]
	cbz	w8, LBB0_27
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	mov	w8, #0
	mov	w22, #0
Lloh0:
	adrp	x27, _MAX_RETURN_FIELDS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _MAX_RETURN_FIELDS@GOTPAGEOFF]
Lloh2:
	adrp	x28, _return_fields@GOTPAGE
Lloh3:
	ldr	x28, [x28, _return_fields@GOTPAGEOFF]
Lloh4:
	adrp	x24, _MAX_FIELDS@GOTPAGE
Lloh5:
	ldr	x24, [x24, _MAX_FIELDS@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w23, w25
	add	w8, w8, #1
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	mov	w23, w8
	cbz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x19, w23, sxtw
	ldurb	w8, [x8, #-1]
	ldr	w9, [x27]
	cmp	w8, #44
	ccmp	w22, w9, #0, eq
	b.lt	LBB0_7
	b	LBB0_29
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x27]
	cmp	w22, w8
	b.ge	LBB0_29
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x25, #0
	sxtw	x8, w23
	add	x9, x19, x8
	ldrb	w10, [x9, x25]
	cbz	w10, LBB0_10
LBB0_8:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w10, #44
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x25, x25, #1
	ldrb	w10, [x9, x25]
	cbnz	w10, LBB0_8
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x19, x8
	mov	x0, x20
	mov	x1, x26
	mov	x2, x25
	bl	_get_field_id_len
	ldr	x8, [x28]
	str	x0, [x8, w22, sxtw #3]
	tbz	x0, #63, LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x22
	sxtw	x21, w8
	mov	x0, x26
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #8
	bl	_strncmp
	cbz	w0, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #17
	bl	_strncmp
	cbnz	w0, LBB0_22
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cmp	w8, #112
	b.ne	LBB0_22
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x26]
	add	w9, w23, #9
	cmp	w8, #111
	csel	w8, w9, w23, eq
	cset	w9, eq
	lsl	x9, x9, #7
	neg	w10, w8
	add	x10, x23, x10
	add	x10, x10, x25
	cmp	w10, #8
	b.eq	LBB0_26
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #35
	b.gt	LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x12, x23, x25
	add	w11, w8, #8
	sub	w10, w23, #1
	add	x14, x10, x25
	ldrb	w13, [x19, w14, sxtw]
	and	w10, w13, #0xfc
	cmp	w10, #48
	csel	w12, w14, w12, eq
	cmp	w11, w12
	b.eq	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w14, [x27]
	cmp	w22, w14
	b.ge	LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	lsl	x13, x13, #5
	sub	x13, x13, #1536
	cmp	w10, #48
	csel	x10, x13, xzr, eq
	add	x9, x10, x9
	ldr	x10, [x28]
	add	x11, x19, w11, sxtw
	sub	w8, w12, w8
	sub	w8, w8, #9
LBB0_19:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x11]
	sub	w13, w12, #123
	cmn	w13, #26
	b.lo	LBB0_28
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	x13, [x24]
	sub	w12, w12, #96
	add	x12, x9, x12
	add	x12, x12, x13
	add	x22, x21, #1
	str	x12, [x10, x21, lsl #3]
	subs	w8, w8, #1
	b.lo	LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	ldrsw	x12, [x27]
	add	x11, x11, #1
	mov	x21, x22
	cmp	x22, x12
	b.lt	LBB0_19
	b	LBB0_3
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w25, #8
	b.ne	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #8
	bl	_strncmp
	cbnz	w0, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	add	x8, x8, #256
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x28]
	add	w22, w22, #1
	str	x8, [x9, x21, lsl #3]
	b	LBB0_3
LBB0_26:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	add	x8, x8, x9
	b	LBB0_25
LBB0_27:
	mov	w22, #0
	b	LBB0_29
LBB0_28:
	mov	w22, #-1
LBB0_29:
	mov	x0, x22
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_RETURN_FIELDS,4,2          ; @MAX_RETURN_FIELDS
	.comm	_return_fields,8,3              ; @return_fields
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"location"

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

	.comm	_MAX_FIELDS,8,3                 ; @MAX_FIELDS
l_.str.2:                               ; @.str.2
	.asciz	"ordering"

.subsections_via_symbols
