	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_parameters
_get_parameters:                        ## @get_parameters
	.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
	movq	_query_params@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	movq	%rax, -48(%rbp)
	movl	$1, %edi
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, (%r13)
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.2:
	leaq	-48(%rbp), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r13), %rdi
	movq	%r12, %rsi
	callq	_string_list_insert
	movq	%rax, %rbx
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, (%rbx)
	movq	-48(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rdi
	callq	_url_decode_parameter_name
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_url_decode_parameter_value
	movq	%rax, %r15
	movq	(%r13), %rdi
	movq	%r12, %rsi
	callq	_string_list_lookup
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rdi
	callq	_free
	jmp	LBB0_7
LBB0_8:
	movq	(%r13), %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_query_params,8,3               ## @query_params
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QUERY_STRING"

	.no_dead_strip	_get_parameters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_parameters
_get_parameters:                        ; @get_parameters
	.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
Lloh0:
	adrp	x22, _query_params@GOTPAGE
Lloh1:
	ldr	x22, [x22, _query_params@GOTPAGEOFF]
	ldr	x0, [x22]
	cbnz	x0, LBB0_8
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x19, x0
	str	x0, [sp, #8]
	mov	w0, #1
	mov	w1, #4
	bl	_xcalloc
	str	x0, [x22]
	cbnz	x19, LBB0_4
	b	LBB0_8
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x22]
	mov	x1, x20
	bl	_string_list_insert
	mov	x21, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x19, [x21]
	ldr	x19, [sp, #8]
	cbz	x19, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x19]
	cbz	w8, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #8
	bl	_url_decode_parameter_name
	mov	x20, x0
	add	x0, sp, #8
	bl	_url_decode_parameter_value
	mov	x19, x0
	ldr	x0, [x22]
	mov	x1, x20
	bl	_string_list_lookup
	cbz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x0
	ldr	x0, [x0]
	bl	_free
	b	LBB0_3
LBB0_7:
	ldr	x0, [x22]
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_query_params,8,3               ; @query_params
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QUERY_STRING"

	.no_dead_strip	_get_parameters
.subsections_via_symbols
