	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryStringToJsonListValue     ## -- Begin function QueryStringToJsonListValue
	.p2align	4, 0x90
_QueryStringToJsonListValue:            ## @QueryStringToJsonListValue
	.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	$40, %rsp
	.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_13
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_ParseTokenWithoutNullStr
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_NewStrList
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_JsonNewObject
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_JsonValueGetObject
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r15)
	je	LBB0_11
## %bb.3:
	xorl	%r12d, %r12d
	leaq	L_.str.1(%rip), %r13
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_Free
	movq	%r15, %rdi
	callq	_Free
	movq	%rbx, %rdi
	callq	_Free
	movq	%r14, %rdi
	callq	_Free
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %r13
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	cmpq	(%r15), %r12
	jae	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movq	(%rax,%r12,8), %r14
	movq	%r14, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_SearchStr
	movq	%rax, %rbx
	movq	_INFINITE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	callq	_CopyStr
	movq	%rax, %r15
	leaq	(%r14,%rbx), %rdi
	incq	%rdi
	callq	_CopyStr
	movq	%rax, %r14
	movb	$0, (%r15,%rbx)
	movq	%r15, %rbx
	movq	%r15, %rdi
	callq	_UrlDecode
	movq	%rax, %r15
	movq	%r14, %rdi
	callq	_UrlDecode
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	testq	%r13, %r13
	je	LBB0_4
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_AddStrToStrListDistinct
	testq	%rax, %rax
	je	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%r13, %rdx
	callq	_JsonSetStr
	jmp	LBB0_4
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_11:
	movq	%r15, %rdi
	callq	_FreeToken
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_FreeStrList
	movq	-56(%rbp), %rax                 ## 8-byte Reload
LBB0_14:
	addq	$40, %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
	.asciz	"&"

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

	.comm	_INFINITE,8,3                   ## @INFINITE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_QueryStringToJsonListValue     ; -- Begin function QueryStringToJsonListValue
	.p2align	2
_QueryStringToJsonListValue:            ; @QueryStringToJsonListValue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x0, LBB0_10
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ParseTokenWithoutNullStr
	cbz	x0, LBB0_10
; %bb.2:
	mov	x20, x0
	bl	_NewStrList
	mov	x21, x0
	bl	_JsonNewObject
	mov	x19, x0
	bl	_JsonValueGetObject
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x8, [x20]
	cbz	x8, LBB0_11
; %bb.3:
	mov	x28, #0
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x22, _INFINITE@GOTPAGE
Lloh5:
	ldr	x22, [x22, _INFINITE@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_Free
	mov	x0, x26
	bl	_Free
	mov	x0, x24
	bl	_Free
	mov	x0, x25
	bl	_Free
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x28, x28, #1
	ldr	x8, [x20]
	cmp	x28, x8
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	ldr	x25, [x8, x28, lsl #3]
	mov	x0, x25
	mov	x1, x23
	mov	w2, #0
	bl	_SearchStr
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x0
	mov	x0, x25
	bl	_CopyStr
	mov	x24, x0
	add	x8, x25, x26
	add	x0, x8, #1
	bl	_CopyStr
	mov	x25, x0
	strb	wzr, [x24, x26]
	mov	x0, x24
	bl	_UrlDecode
	mov	x26, x0
	mov	x0, x25
	bl	_UrlDecode
	mov	x27, x0
	cmp	x26, #0
	ccmp	x0, #0, #4, ne
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x26
	bl	_AddStrToStrListDistinct
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x26
	mov	x2, x27
	bl	_JsonSetStr
	b	LBB0_4
LBB0_10:
	mov	x19, #0
	b	LBB0_12
LBB0_11:
	mov	x0, x20
	bl	_FreeToken
	mov	x0, x21
	bl	_FreeStrList
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"&"

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

	.comm	_INFINITE,8,3                   ; @INFINITE
.subsections_via_symbols
