	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_parse_hostport         ## -- Begin function h2o_url_parse_hostport
	.p2align	4, 0x90
_h2o_url_parse_hostport:                ## @h2o_url_parse_hostport
	.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
	movl	$65535, (%rcx)                  ## imm = 0xFFFF
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.1:
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %rdx
	movq	%rdi, %r12
	leaq	(%rdi,%rsi), %r13
	movb	(%rdi), %al
	cmpb	$91, %al
	jne	LBB0_6
## %bb.2:
	incq	%r12
	decl	%edx
	movq	%r12, %rdi
	movl	$93, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	movl	%ebx, %esi
	subl	%r12d, %esi
	movq	%r12, %rdi
	callq	_h2o_iovec_init
	movq	%rax, (%r15)
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_5
LBB0_6:
	decq	%rdx
	xorl	%ebx, %ebx
	cmpb	$47, %al
	je	LBB0_10
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	$58, %al
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	%rbx, %rdx
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movzbl	1(%r12,%rbx), %eax
	incq	%rbx
	cmpb	$47, %al
	jne	LBB0_7
LBB0_10:
	addq	%r12, %rbx
	jmp	LBB0_13
LBB0_12:
	movq	%r13, %rbx
LBB0_13:
	movl	%ebx, %esi
	subl	%r12d, %esi
	movq	%r12, %rdi
	callq	_h2o_iovec_init
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_5
LBB0_14:
	cmpq	%r13, %rbx
	je	LBB0_18
## %bb.15:
	cmpb	$58, (%rbx)
	jne	LBB0_20
## %bb.16:
	movq	%rbx, %r15
	incq	%r15
	movl	%r13d, %edx
	subl	%r15d, %edx
	movq	%r15, %rdi
	movl	$47, %esi
	callq	_memchr
	movq	%rax, %rbx
	testq	%rax, %rax
	cmoveq	%r13, %rbx
	movl	%ebx, %esi
	subl	%r15d, %esi
	movq	%r15, %rdi
	callq	_h2o_strtosize
	cmpq	$65534, %rax                    ## imm = 0xFFFE
	jbe	LBB0_19
LBB0_5:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	%r13, %rbx
	jmp	LBB0_20
LBB0_19:
	movl	%eax, (%r14)
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_url_parse_hostport         ; -- Begin function h2o_url_parse_hostport
	.p2align	2
_h2o_url_parse_hostport:                ; @h2o_url_parse_hostport
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w8, #65535
	str	w8, [x3]
	cbz	x1, LBB0_14
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	add	x19, x0, x1
	ldrb	w10, [x0]
	cmp	w10, #91
	b.ne	LBB0_4
; %bb.2:
	add	x22, x0, #1
	sub	w2, w1, #1
	mov	x0, x22
	mov	w1, #93
	bl	_memchr
	cbz	x0, LBB0_14
; %bb.3:
	mov	x23, x0
	sub	w1, w23, w22
	mov	x0, x22
	bl	_h2o_iovec_init
	str	x0, [x21]
	add	x22, x23, #1
	cbnz	x0, LBB0_11
	b	LBB0_14
LBB0_4:
	mov	x8, #0
	sub	x9, x1, #1
	cmp	w10, #47
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w10, #58
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x9, x8
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x0, x8
	ldrb	w10, [x10, #1]
	add	x8, x8, #1
	cmp	w10, #47
	b.ne	LBB0_5
LBB0_8:
	add	x22, x0, x8
	b	LBB0_10
LBB0_9:
	mov	x22, x19
LBB0_10:
	sub	w1, w22, w0
	bl	_h2o_iovec_init
	str	x0, [x21]
	cbz	x0, LBB0_14
LBB0_11:
	cmp	x22, x19
	b.eq	LBB0_15
; %bb.12:
	ldrb	w8, [x22]
	cmp	w8, #58
	b.ne	LBB0_16
; %bb.13:
	add	x21, x22, #1
	sub	w2, w19, w21
	mov	x0, x21
	mov	w1, #47
	bl	_memchr
	cmp	x0, #0
	csel	x19, x19, x0, eq
	sub	w1, w19, w21
	mov	x0, x21
	bl	_h2o_strtosize
	mov	w8, #65534
	cmp	x0, x8
	b.ls	LBB0_17
LBB0_14:
	mov	x19, #0
LBB0_15:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_16:
	mov	x19, x22
	b	LBB0_15
LBB0_17:
	str	w0, [x20]
	b	LBB0_15
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
