	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parseURL                       ## -- Begin function parseURL
	.p2align	4, 0x90
_parseURL:                              ## @parseURL
	.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
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r13d, %r13d
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.1:
	movq	%r8, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_30
## %bb.2:
	cmpb	$104, (%rbx)
	jne	LBB0_30
## %bb.3:
	cmpb	$116, 1(%rbx)
	jne	LBB0_30
## %bb.4:
	cmpb	$116, 2(%rbx)
	jne	LBB0_30
## %bb.5:
	cmpb	$112, 3(%rbx)
	jne	LBB0_30
## %bb.6:
	movq	%rax, %r15
	addq	$3, %r15
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rdx
	xorl	%r13d, %r13d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	cmpb	$91, (%r15)
	jne	LBB0_21
## %bb.7:
	movq	%r15, %rdi
	movl	$37, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	$93, %esi
	callq	_strchr
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_14
## %bb.8:
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.9:
	testq	%r14, %r14
	je	LBB0_14
## %bb.10:
	cmpq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_14
## %bb.11:
	leaq	1(%rbx), %rsi
	cmpb	$50, 1(%rbx)
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rax
	addq	$3, %rax
	cmpb	$53, 2(%rbx)
	cmoveq	%rax, %rsi
LBB0_13:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	subq	%rsi, %rax
	testl	$-8, %eax
	movl	$7, %ebx
	cmovel	%eax, %ebx
	leaq	-56(%rbp), %rdi
	movl	%ebx, %edx
	callq	_memcpy
	movslq	%ebx, %rax
	movb	$0, -56(%rbp,%rax)
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, (%r14)
LBB0_14:
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.15:
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_21
## %bb.16:
	leaq	1(%rbx), %rsi
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	subl	%r15d, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_MIN
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncpy
	cmpb	$58, 1(%rbx)
	jne	LBB0_17
## %bb.18:
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movw	$0, (%rdx)
	movb	2(%rbx), %al
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_28
## %bb.19:
	addq	$3, %rbx
	xorl	%eax, %eax
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movw	%ax, (%rdx)
	movsbl	-1(%rbx), %ecx
	addl	%ecx, %eax
	addl	$-48, %eax
	movw	%ax, (%rdx)
	movzbl	(%rbx), %ecx
	addb	$-48, %cl
	incq	%rbx
	cmpb	$10, %cl
	jb	LBB0_20
	jmp	LBB0_28
LBB0_21:
	movq	%r15, %rdi
	movl	$58, %esi
	callq	_strchr
	movq	%rax, %rbx
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_30
## %bb.22:
	movq	%rax, %r14
	movq	_MAXHOSTNAMELEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.23:
	cmpq	%r14, %rbx
	ja	LBB0_24
## %bb.25:
	movl	%ebx, %esi
	subl	%r15d, %esi
	callq	_MIN
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncpy
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movw	$0, (%rdx)
	movb	1(%rbx), %al
	addb	$-48, %al
	cmpb	$9, %al
	ja	LBB0_28
## %bb.26:
	addq	$2, %rbx
	xorl	%eax, %eax
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	addl	%eax, %eax
	leal	(%rax,%rax,4), %eax
	movw	%ax, (%rdx)
	movsbl	-1(%rbx), %ecx
	addl	%ecx, %eax
	addl	$-48, %eax
	movw	%ax, (%rdx)
	movzbl	(%rbx), %ecx
	addb	$-48, %cl
	incq	%rbx
	cmpb	$10, %cl
	jb	LBB0_27
LBB0_28:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_29
LBB0_24:
	movl	%r14d, %esi
	subl	%r15d, %esi
	callq	_MIN
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_strncpy
LBB0_17:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movw	$80, (%rcx)
LBB0_29:
	movq	%r14, (%rax)
	movl	$1, %r13d
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_32
## %bb.31:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_32:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"://"

	.comm	_MAXHOSTNAMELEN,8,3             ## @MAXHOSTNAMELEN
	.comm	_IF_NAMESIZE,4,2                ## @IF_NAMESIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parseURL                       ; -- Begin function parseURL
	.p2align	2
_parseURL:                              ; @parseURL
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	x0, LBB0_21
; %bb.1:
	mov	x23, x4
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_21
; %bb.2:
	ldrb	w8, [x22]
	cmp	w8, #104
	b.ne	LBB0_20
; %bb.3:
	ldrb	w8, [x22, #1]
	cmp	w8, #116
	b.ne	LBB0_20
; %bb.4:
	ldrb	w8, [x22, #2]
	cmp	w8, #116
	b.ne	LBB0_20
; %bb.5:
	ldrb	w8, [x22, #3]
	cmp	w8, #112
	b.ne	LBB0_20
; %bb.6:
	add	x22, x0, #3
Lloh5:
	adrp	x26, _MAXHOSTNAMELEN@GOTPAGE
Lloh6:
	ldr	x26, [x26, _MAXHOSTNAMELEN@GOTPAGEOFF]
	ldr	x8, [x26]
	add	x2, x8, #1
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldrb	w8, [x22]
	cmp	w8, #91
	b.ne	LBB0_23
; %bb.7:
	mov	x0, x22
	mov	w1, #37
	bl	_strchr
	mov	x25, x0
	mov	x0, x22
	mov	w1, #93
	bl	_strchr
	mov	x24, x0
	cbz	x0, LBB0_14
; %bb.8:
	cbz	x25, LBB0_14
; %bb.9:
	cbz	x23, LBB0_14
; %bb.10:
	cmp	x25, x24
	b.hs	LBB0_14
; %bb.11:
	mov	x1, x25
	ldrb	w8, [x1, #1]!
	cmp	w8, #50
	b.ne	LBB0_13
; %bb.12:
	ldrb	w8, [x25, #2]
	add	x9, x25, #3
	cmp	w8, #53
	csel	x1, x9, x1, eq
LBB0_13:
	sub	x8, x24, x1
	tst	x8, #0xfffffff8
	mov	w9, #7
	csel	w25, w8, w9, eq
	mov	x27, sp
	mov	x0, sp
	mov	x2, x25
	bl	_memcpy
	strb	wzr, [x27, w25, sxtw]
	mov	x0, sp
	mov	x1, #0
	mov	w2, #10
	bl	_strtoul
	str	w0, [x23]
LBB0_14:
	mov	x0, x22
	mov	w1, #47
	bl	_strchr
	cbz	x24, LBB0_23
; %bb.15:
	mov	x23, x0
	cbz	x0, LBB0_23
; %bb.16:
	add	x8, x24, #1
	ldr	x0, [x26]
	sub	w1, w8, w22
	bl	_MIN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncpy
	ldrb	w8, [x24, #1]
	cmp	w8, #58
	b.ne	LBB0_30
; %bb.17:
	strh	wzr, [x20]
	ldrb	w8, [x24, #2]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_31
; %bb.18:
	mov	w9, #0
	add	x8, x24, #3
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	strh	w9, [x20]
	ldursb	w10, [x8, #-1]
	add	w9, w9, w10
	sub	w9, w9, #48
	strh	w9, [x20]
	ldrb	w10, [x8], #1
	sub	w10, w10, #48
	cmp	w10, #10
	b.lo	LBB0_19
	b	LBB0_31
LBB0_20:
	mov	w0, #0
LBB0_21:
	ldr	x8, [sp, #8]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.22:
	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_23:
	mov	x0, x22
	mov	w1, #58
	bl	_strchr
	mov	x24, x0
	mov	x0, x22
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_21
; %bb.24:
	mov	x23, x0
	ldr	x0, [x26]
	cbz	x24, LBB0_29
; %bb.25:
	cmp	x24, x23
	b.hi	LBB0_29
; %bb.26:
	sub	w1, w24, w22
	bl	_MIN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncpy
	strh	wzr, [x20]
	ldrb	w8, [x24, #1]
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_31
; %bb.27:
	mov	w9, #0
	add	x8, x24, #2
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	add	w9, w9, w9, lsl #2
	lsl	w9, w9, #1
	strh	w9, [x20]
	ldursb	w10, [x8, #-1]
	add	w9, w9, w10
	sub	w9, w9, #48
	strh	w9, [x20]
	ldrb	w10, [x8], #1
	sub	w10, w10, #48
	cmp	w10, #10
	b.lo	LBB0_28
	b	LBB0_31
LBB0_29:
	sub	w1, w23, w22
	bl	_MIN
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_strncpy
LBB0_30:
	mov	w8, #80
	strh	w8, [x20]
LBB0_31:
	str	x23, [x19]
	mov	w0, #1
	b	LBB0_21
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"://"

	.comm	_MAXHOSTNAMELEN,8,3             ; @MAXHOSTNAMELEN
	.comm	_IF_NAMESIZE,4,2                ; @IF_NAMESIZE
.subsections_via_symbols
