	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_authority
_parse_authority:                       ## @parse_authority
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	%rcx, %rbx
	movl	%ebx, %esi
	subl	%r15d, %esi
	movq	%r15, %rdi
	callq	_create_unescaped_string
	movq	%rax, 16(%r14)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	incq	%rbx
	movq	%rbx, %rdi
LBB0_4:
	movslq	%r12d, %rax
	addq	%rax, %r15
	movb	(%rdi), %al
	cmpb	$91, %al
	jne	LBB0_5
## %bb.10:
	cmpq	%r15, %rdi
	jae	LBB0_11
## %bb.12:
	leaq	1(%rdi), %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	cmpq	%r15, %rcx
	jae	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	leaq	1(%rbx), %rcx
	cmpb	$93, (%rbx)
	jne	LBB0_13
## %bb.15:
	movl	$1, %eax
	jmp	LBB0_16
LBB0_5:
	movq	%rdi, %rbx
	cmpq	%r15, %rdi
	jae	LBB0_17
## %bb.6:
	movq	%rdi, %rbx
	cmpb	$58, %al
	je	LBB0_17
## %bb.7:
	leaq	1(%rdi), %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rbx
	cmpq	%r15, %rax
	jae	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	leaq	1(%rbx), %rax
	cmpb	$58, (%rbx)
	jne	LBB0_8
	jmp	LBB0_17
LBB0_2:
	xorl	%r12d, %r12d
	jmp	LBB0_21
LBB0_11:
	xorl	%eax, %eax
	movq	%rdi, %rbx
LBB0_16:
	addq	%rax, %rbx
LBB0_17:
	movl	%ebx, %esi
	subl	%edi, %esi
	callq	_create_unescaped_string
	movq	%rax, 8(%r14)
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_21
## %bb.18:
	movq	%rax, %rdi
	callq	_to_lower_string
	cmpb	$58, (%rbx)
	jne	LBB0_20
## %bb.19:
	incq	%rbx
	subl	%ebx, %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_create_unescaped_string
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_21
LBB0_20:
	movl	$1, %r12d
LBB0_21:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_parse_authority
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_authority
_parse_authority:                       ; @parse_authority
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	cbz	x3, LBB0_3
; %bb.1:
	mov	x22, x3
	sub	w1, w22, w20
	mov	x0, x20
	bl	_create_unescaped_string
	str	x0, [x19, #16]
	cbz	x0, LBB0_22
; %bb.2:
	add	x0, x22, #1
	b	LBB0_4
LBB0_3:
	mov	x0, x20
LBB0_4:
	sxtw	x8, w21
	add	x21, x20, x8
	ldrb	w9, [x0]
	cmp	w9, #91
	b.ne	LBB0_11
; %bb.5:
	cmp	x0, x21
	b.hs	LBB0_16
; %bb.6:
	add	x8, x20, x8
	sub	x9, x8, x0
	add	x8, x0, x9
	add	x11, x0, #1
	sub	x10, x9, #1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x11
	cbz	x10, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x11, x9
	ldrb	w12, [x11], #1
	sub	x10, x10, #1
	cmp	w12, #93
	b.ne	LBB0_7
; %bb.9:
	sub	x8, x11, #1
LBB0_10:
	cmp	x9, x21
	cset	w9, lo
	add	x22, x8, x9
	b	LBB0_18
LBB0_11:
	mov	x22, x0
	cmp	x0, x21
	b.hs	LBB0_18
; %bb.12:
	mov	x22, x0
	cmp	w9, #58
	b.eq	LBB0_18
; %bb.13:
	add	x9, x20, x8
	sub	x8, x9, x0
	add	x8, x0, x8
	mvn	x10, x0
	add	x9, x10, x9
	mov	x10, x0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	cbz	x9, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x22, x10, #1
	ldrb	w11, [x10, #1]
	sub	x9, x9, #1
	mov	x10, x22
	cmp	w11, #58
	b.ne	LBB0_14
	b	LBB0_18
LBB0_16:
	mov	x9, #0
	mov	x8, x0
	add	x22, x0, xzr
	b	LBB0_18
LBB0_17:
	mov	x22, x8
LBB0_18:
	sub	w1, w22, w0
	bl	_create_unescaped_string
	str	x0, [x19, #8]
	cbz	x0, LBB0_22
; %bb.19:
	bl	_to_lower_string
	ldrb	w8, [x22]
	cmp	w8, #58
	b.ne	LBB0_21
; %bb.20:
	add	x0, x22, #1
	sub	w1, w21, w0
	bl	_create_unescaped_string
	str	x0, [x19]
	cbz	x0, LBB0_22
LBB0_21:
	mov	w0, #1
LBB0_22:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_parse_authority
.subsections_via_symbols
