	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_query_string
_parse_query_string:                    ## @parse_query_string
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$1, (%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdi)
	movups	%xmm0, 32(%rdi)
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$1, 8(%rdi)
	movq	$0, -48(%rbp)
	cmpb	$0, (%rsi)
	je	LBB0_21
## %bb.1:
	movq	%rsi, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leaq	32(%rax), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	24(%rax), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	$40, %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r12
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rsi
	callq	_set_query_attr
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	callq	_free
	movq	$0, -48(%rbp)
	cmpb	$1, (%r14)
	sbbq	$-1, %r14
	cmpb	$0, (%r14)
	je	LBB0_21
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_strcspn
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_mandoc_strndup
	movq	%rax, %r15
	addq	%r13, %r14
	cmpb	$61, (%rbx,%r13)
	jne	LBB0_20
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%r14), %rbx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcspn
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_mandoc_strndup
	movq	%rax, -48(%rbp)
	addq	%r13, %r14
	incq	%r14
	movq	%r15, %rdi
	callq	_http_decode
	testq	%rax, %rax
	je	LBB0_20
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	callq	_http_decode
	testq	%rax, %rax
	je	LBB0_20
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.8(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movb	$0, (%rax)
LBB0_18:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, 8(%rax)
	jmp	LBB0_20
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax
	movb	$0, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_21:
	addq	$56, %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	";&"

L_.str.2:                               ## @.str.2
	.asciz	"query"

L_.str.3:                               ## @.str.3
	.asciz	"apropos"

L_.str.4:                               ## @.str.4
	.asciz	"0"

L_.str.5:                               ## @.str.5
	.asciz	"manpath"

L_.str.6:                               ## @.str.6
	.asciz	"sec"

L_.str.7:                               ## @.str.7
	.asciz	"arch"

L_.str.8:                               ## @.str.8
	.asciz	"default"

	.no_dead_strip	_parse_query_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_query_string
_parse_query_string:                    ; @parse_query_string
	.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
	mov	w8, #1
	str	w8, [x0]
	movi.2d	v0, #0000000000000000
	mov	x20, x0
	str	q0, [x20, #32]!
	mov	x21, x0
	str	q0, [x21, #16]!
	str	w8, [x0, #8]
	str	xzr, [sp, #8]
	ldrb	w8, [x1]
	cbz	w8, LBB0_21
; %bb.1:
	mov	x22, x1
	mov	x19, x0
	add	x8, x0, #24
	str	x8, [sp]                        ; 8-byte Folded Spill
	add	x23, x0, #40
Lloh0:
	adrp	x24, l_.str@PAGE
Lloh1:
	add	x24, x24, l_.str@PAGEOFF
Lloh2:
	adrp	x25, l_.str.1@PAGE
Lloh3:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh4:
	adrp	x26, l_.str.2@PAGE
Lloh5:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x23
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_set_query_attr
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	bl	_free
	ldr	x0, [sp, #8]
	bl	_free
	str	xzr, [sp, #8]
	mov	x8, x22
	ldrb	w9, [x8], #1
	cmp	w9, #0
	csel	x22, x22, x8, eq
	ldrb	w8, [x22]
	cbz	w8, LBB0_21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x24
	bl	_strcspn
	mov	x27, x0
	mov	x0, x22
	mov	x1, x27
	bl	_mandoc_strndup
	mov	x28, x0
	add	x22, x22, x27
	ldrb	w8, [x22]
	cmp	w8, #61
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	mov	x0, x22
	mov	x1, x25
	bl	_strcspn
	mov	x27, x0
	mov	x0, x22
	mov	x1, x27
	bl	_mandoc_strndup
	str	x0, [sp, #8]
	add	x22, x22, x27
	mov	x0, x28
	bl	_http_decode
	cbz	x0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
	bl	_http_decode
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
	mov	x1, x26
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh8:
	adrp	x1, l_.str.5@PAGE
Lloh9:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh10:
	adrp	x1, l_.str.6@PAGE
Lloh11:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x28
Lloh12:
	adrp	x1, l_.str.7@PAGE
Lloh13:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
Lloh14:
	adrp	x1, l_.str.8@PAGE
Lloh15:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	b	LBB0_3
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x20
	b	LBB0_3
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #8]
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	b	LBB0_3
LBB0_21:
	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	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"=;&"

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

l_.str.2:                               ; @.str.2
	.asciz	"query"

l_.str.3:                               ; @.str.3
	.asciz	"apropos"

l_.str.4:                               ; @.str.4
	.asciz	"0"

l_.str.5:                               ; @.str.5
	.asciz	"manpath"

l_.str.6:                               ; @.str.6
	.asciz	"sec"

l_.str.7:                               ; @.str.7
	.asciz	"arch"

l_.str.8:                               ; @.str.8
	.asciz	"default"

	.no_dead_strip	_parse_query_string
.subsections_via_symbols
