	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_parser_parse_url          ## -- Begin function http_parser_parse_url
	.p2align	4, 0x90
_http_parser_parse_url:                 ## @http_parser_parse_url
	.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	%rsi, %rsi
	je	LBB0_33
## %bb.1:
	movq	%rcx, %r13
	movl	%edx, %ebx
	movq	%rdi, %r12
	movq	$0, (%rcx)
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	jle	LBB0_2
## %bb.3:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_UF_MAX@GOTPCREL(%rip), %rcx
	movl	$129, %eax
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.4:
	movq	_s_req_spaces_before_url@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_5:
	leaq	(%r12,%rsi), %rbx
	movl	(%rcx), %r13d
	xorl	%r15d, %r15d
	leaq	LJTI0_0(%rip), %r14
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %r8
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdx
	movq	%rcx, %rsi
	shlq	$4, %rsi
	movq	%r15, 8(%rdx,%rsi)
	movl	$1, %edi
	shll	%cl, %edi
	movl	$1, (%rdx,%rsi)
	orl	%edi, 4(%rbx)
	movq	%r8, %rbx
	movl	%ecx, %r13d
LBB0_16:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	(%r12,%r15), %rcx
	incq	%rcx
	incq	%r15
	cmpq	%rbx, %rcx
	jae	LBB0_17
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r12,%r15), %esi
	movl	%eax, %edi
	callq	_parse_url_char
                                        ## kill: def $eax killed $eax def $rax
	leal	-128(%rax), %ecx
	cmpl	$11, %ecx
	ja	LBB0_32
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%r14,%rcx,4), %rdx
	addq	%r14, %rdx
	movq	_UF_SCHEMA@GOTPCREL(%rip), %rcx
	jmpq	*%rdx
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_UF_HOST@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_UF_QUERY@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_UF_PATH@GOTPCREL(%rip), %rcx
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_UF_FRAGMENT@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rcx), %ecx
	cmpl	%r13d, %ecx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%rcx), %rcx
	movl	%r13d, %edx
	shlq	$4, %rdx
	incl	(%rcx,%rdx)
	jmp	LBB0_16
LBB0_17:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	4(%r13), %eax
	movl	-60(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_18
LBB0_2:
	xorl	%eax, %eax
	xorl	%edx, %edx
LBB0_18:
	movq	_UF_SCHEMA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_UF_HOST@GOTPCREL(%rip), %r14
	movb	(%r14), %cl
	movl	$1, %edi
	shll	%cl, %edi
	btl	%esi, %eax
	jae	LBB0_20
## %bb.19:
	testl	%eax, %edi
	jne	LBB0_21
	jmp	LBB0_33
LBB0_20:
	testl	%eax, %edi
	je	LBB0_22
LBB0_21:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_http_parse_host
	testq	%rax, %rax
	je	LBB0_22
LBB0_33:
	movl	$1, %eax
LBB0_34:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movl	4(%r13), %r8d
	movq	_UF_PORT@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.24:
	movl	(%rax), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	movb	(%r14), %dil
	movl	$1, %eax
	movl	%edx, %esi
	btsl	%edi, %esi
	cmpl	%esi, %r8d
	jne	LBB0_34
## %bb.25:
	testl	%r8d, %edx
	je	LBB0_26
LBB0_27:
	movq	8(%r13), %rax
	movslq	%ecx, %rcx
	shlq	$4, %rcx
	movq	8(%rax,%rcx), %r15
	movslq	(%rax,%rcx), %r14
	leaq	(%r15,%r14), %rax
	xorl	%edi, %edi
	cmpq	-72(%rbp), %rax                 ## 8-byte Folded Reload
	setbe	%dil
	callq	_assert
	xorl	%eax, %eax
	movl	$0, %ecx
	testq	%r14, %r14
	jle	LBB0_31
## %bb.28:
	addq	%r15, %r12
	addq	%r12, %r14
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	leaq	(%rcx,%rcx,4), %rcx
	movsbq	(%r12), %rdx
	leaq	(%rdx,%rcx,2), %rcx
	addq	$-48, %rcx
	cmpq	$65535, %rcx                    ## imm = 0xFFFF
	ja	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_30 Depth=1
	incq	%r12
	cmpq	%r14, %r12
	jb	LBB0_30
LBB0_31:
	movl	%ecx, (%r13)
	jmp	LBB0_34
LBB0_23:
	movl	(%rax), %ecx
	movl	$1, %edx
	shll	%cl, %edx
	testl	%r8d, %edx
	jne	LBB0_27
LBB0_26:
	xorl	%eax, %eax
	jmp	LBB0_34
LBB0_32:
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_33
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_16
	.long	L0_0_set_16
	.long	L0_0_set_13
	.long	L0_0_set_16
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_s_req_spaces_before_url,4,2    ## @s_req_spaces_before_url
	.comm	_UF_MAX,4,2                     ## @UF_MAX
	.comm	_UF_SCHEMA,4,2                  ## @UF_SCHEMA
	.comm	_UF_HOST,4,2                    ## @UF_HOST
	.comm	_UF_PATH,4,2                    ## @UF_PATH
	.comm	_UF_QUERY,4,2                   ## @UF_QUERY
	.comm	_UF_FRAGMENT,4,2                ## @UF_FRAGMENT
	.comm	_UF_PORT,4,2                    ## @UF_PORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_parser_parse_url          ; -- Begin function http_parser_parse_url
	.p2align	2
_http_parser_parse_url:                 ; @http_parser_parse_url
	.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	x1, LBB0_20
; %bb.1:
	mov	x19, x3
	mov	x27, x2
	mov	x21, x1
	mov	x20, x0
	str	xzr, [x3]
	cmp	x1, #1
	b.lt	LBB0_15
; %bb.2:
	mov	x24, #0
	mov	w23, #0
	add	x25, x20, x21
Lloh0:
	adrp	x8, _UF_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UF_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x9, _s_req_spaces_before_url@GOTPAGE
Lloh3:
	ldr	x9, [x9, _s_req_spaces_before_url@GOTPAGEOFF]
Lloh4:
	ldr	w28, [x8]
Lloh5:
	ldr	w8, [x9]
	mov	w9, #129
Lloh6:
	adrp	x26, _UF_SCHEMA@GOTPAGE
Lloh7:
	ldr	x26, [x26, _UF_SCHEMA@GOTPAGEOFF]
	str	w27, [sp, #12]                  ; 4-byte Folded Spill
	cmp	w27, #0
	csel	w0, w8, w9, eq
Lloh8:
	adrp	x27, lJTI0_0@PAGE
Lloh9:
	add	x27, x27, lJTI0_0@PAGEOFF
	mov	w22, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x19, #8]
	add	x9, x9, x8, lsl #4
	str	x24, [x9, #8]
	str	w22, [x9]
	lsl	w9, w22, w8
	ldr	w10, [x19, #4]
	orr	w9, w10, w9
	str	w9, [x19, #4]
	mov	x28, x8
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x24, x24, #1
	add	x8, x20, x24
	cmp	x8, x25
	b.hs	LBB0_14
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w1, [x20, x24]
	bl	_parse_url_char
	sub	w8, w0, #128
	cmp	w8, #11
	b.hi	LBB0_33
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	mov	x8, x26
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w23, #1
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh10:
	adrp	x8, _UF_HOST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UF_HOST@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh12:
	adrp	x8, _UF_QUERY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UF_QUERY@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh14:
	adrp	x8, _UF_PATH@GOTPAGE
Lloh15:
	ldr	x8, [x8, _UF_PATH@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh16:
	adrp	x8, _UF_FRAGMENT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _UF_FRAGMENT@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	cmp	w8, w28
	b.ne	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #8]
	mov	w9, w28
	lsl	x9, x9, #4
	ldr	w10, [x8, x9]
	add	w10, w10, #1
	str	w10, [x8, x9]
	b	LBB0_4
LBB0_14:
	ldr	w8, [x19, #4]
	ldr	w27, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_16
LBB0_15:
	mov	w8, #0
	mov	w23, #0
LBB0_16:
Lloh18:
	adrp	x9, _UF_SCHEMA@GOTPAGE
Lloh19:
	ldr	x9, [x9, _UF_SCHEMA@GOTPAGEOFF]
Lloh20:
	adrp	x22, _UF_HOST@GOTPAGE
Lloh21:
	ldr	x22, [x22, _UF_HOST@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x9]
	ldr	w9, [x22]
	mov	w11, #1
	lsl	w9, w11, w9
	and	w9, w9, w8
	lsr	w8, w8, w10
	tbz	w8, #0, LBB0_18
; %bb.17:
	cbnz	w9, LBB0_19
	b	LBB0_20
LBB0_18:
	cbz	w9, LBB0_22
LBB0_19:
	mov	x0, x20
	mov	x1, x19
	mov	x2, x23
	bl	_http_parse_host
	cbz	x0, LBB0_22
LBB0_20:
	mov	w0, #1
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
LBB0_22:
	ldr	w8, [x19, #4]
	cbz	w27, LBB0_29
; %bb.23:
	ldr	w9, [x22]
	mov	w0, #1
	lsl	w11, w0, w9
Lloh23:
	adrp	x9, _UF_PORT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _UF_PORT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	lsl	w10, w0, w9
	orr	w11, w10, w11
	cmp	w8, w11
	b.ne	LBB0_21
; %bb.24:
	tst	w10, w8
	b.eq	LBB0_30
LBB0_25:
	ldr	x8, [x19, #8]
	add	x8, x8, w9, sxtw #4
	ldr	x23, [x8, #8]
	ldrsw	x22, [x8]
	add	x8, x23, x22
	cmp	x8, x21
	cset	w0, ls
	bl	_assert
	cmp	w22, #1
	b.lt	LBB0_31
; %bb.26:
	mov	x8, #0
	add	x9, x20, x23
	add	x10, x9, x22
	mov	w11, #10
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldrsb	x12, [x9]
	madd	x8, x8, x11, x12
	sub	x8, x8, #48
	lsr	x12, x8, #16
	cbnz	x12, LBB0_20
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	add	x9, x9, #1
	cmp	x9, x10
	b.lo	LBB0_27
	b	LBB0_32
LBB0_29:
Lloh26:
	adrp	x9, _UF_PORT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _UF_PORT@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w10, w10, w9
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	tst	w10, w8
	b.ne	LBB0_25
LBB0_30:
	mov	w0, #0
	b	LBB0_21
LBB0_31:
	mov	w8, #0
LBB0_32:
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_21
LBB0_33:
	mov	w0, #0
	bl	_assert
	b	LBB0_20
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
                                        ; -- End function
	.comm	_s_req_spaces_before_url,4,2    ; @s_req_spaces_before_url
	.comm	_UF_MAX,4,2                     ; @UF_MAX
	.comm	_UF_SCHEMA,4,2                  ; @UF_SCHEMA
	.comm	_UF_HOST,4,2                    ; @UF_HOST
	.comm	_UF_PATH,4,2                    ; @UF_PATH
	.comm	_UF_QUERY,4,2                   ; @UF_QUERY
	.comm	_UF_FRAGMENT,4,2                ; @UF_FRAGMENT
	.comm	_UF_PORT,4,2                    ; @UF_PORT
.subsections_via_symbols
