	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_hostconf
_find_hostconf:                         ## @find_hostconf
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$65535, %esi                    ## imm = 0xFFFF
	jg	LBB0_13
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %r12
	movq	%rsi, %rdi
	shrq	$32, %rdi
	leaq	-48(%rbp), %rdx
	leaq	-36(%rbp), %rcx
                                        ## kill: def $edi killed $edi killed $rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_h2o_url_parse_hostport
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	cmpl	$65535, -36(%rbp)               ## imm = 0xFFFF
	jne	LBB0_4
## %bb.3:
	movl	%r14d, -36(%rbp)
LBB0_4:
	movl	-48(%rbp), %edi
	callq	_alloca
	movq	%rax, %r15
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movl	-48(%rbp), %esi
	movq	%r15, %rdi
	callq	_h2o_strtolower
	movq	(%r12), %rbx
	addq	$8, %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	-48(%rbp), %rcx
	movl	%edx, %esi
	movq	%r15, %rdx
	callq	_h2o_memis
	testq	%rax, %rax
	jne	LBB0_14
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r12), %rbx
	addq	$8, %r12
	testq	%rbx, %rbx
	je	LBB0_13
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	movl	-36(%rbp), %eax
	cmpl	%eax, %ecx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	%r14d, %eax
	jne	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rbx), %rdi
	cmpb	$42, (%rdi)
	movslq	16(%rbx), %rdx
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	decq	%rdx
	movslq	-48(%rbp), %rsi
	cmpl	%esi, %edx
	jae	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	addq	%r15, %rsi
	subq	%rdx, %rsi
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_12
	jmp	LBB0_14
LBB0_13:
	xorl	%ebx, %ebx
LBB0_14:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_hostconf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_hostconf
_find_hostconf:                         ; @find_hostconf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cmp	w1, #16, lsl #12                ; =65536
	b.ge	LBB0_12
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	lsr	x0, x1, #32
	add	x2, sp, #8
	add	x3, sp, #4
                                        ; kill: def $w0 killed $w0 killed $x0
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_h2o_url_parse_hostport
	cbz	x0, LBB0_12
; %bb.2:
	ldr	w8, [sp, #4]
	mov	w23, #65535
	cmp	w8, w23
	b.ne	LBB0_4
; %bb.3:
	str	w19, [sp, #4]
LBB0_4:
	ldr	w0, [sp, #8]
	bl	_alloca
	mov	x21, x0
	ldp	w2, w1, [sp, #8]
	bl	_memcpy
	ldr	w1, [sp, #8]
	mov	x0, x21
	bl	_h2o_strtolower
	ldr	x22, [x20], #8
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x3, [sp, #8]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x21
	bl	_h2o_memis
	cbnz	x0, LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x22, [x20], #8
	cbz	x22, LBB0_13
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x22]
	ldr	w9, [sp, #4]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, w23
	ccmp	w9, w19, #0, eq
	b.ne	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x22, #8]
	ldrb	w8, [x0]
	ldrsw	x1, [x22, #16]
	cmp	w8, #42
	b.ne	LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	x2, x1, #1
	ldrsw	x8, [sp, #8]
	cmp	w2, w8
	b.hs	LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x0, x0, #1
	add	x8, x21, x8
	sub	x1, x8, x2
	bl	_memcmp
	cbnz	x0, LBB0_6
	b	LBB0_13
LBB0_12:
	mov	x22, #0
LBB0_13:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_hostconf
.subsections_via_symbols
