	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config_hosts
_on_config_hosts:                       ## @on_config_hosts
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	cmpq	$0, 16(%rdx)
	je	LBB0_13
## %bb.1:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	xorl	%edx, %edx
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%r15), %r12
	movq	(%r12), %rcx
	movq	_YOML_TYPE_SCALAR@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	jne	LBB0_15
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	-8(%rax,%r15), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	8(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movl	%ebx, %edi
	movl	%eax, %esi
	leaq	-72(%rbp), %rdx
	leaq	-52(%rbp), %rcx
	callq	_h2o_url_parse_hostport
	testq	%rax, %rax
	je	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	cmpl	$0, -72(%rbp)
	setne	%dil
	callq	_assert
	movq	-64(%rbp), %rdi
	cmpb	$42, (%rdi)
	movl	-72(%rbp), %edx
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, %edx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$46, 1(%rdi)
	jne	LBB0_14
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdi
	decl	%edx
	movl	$42, %esi
	callq	_memchr
	testq	%rax, %rax
	jne	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_create_context
	movq	%rax, %r13
	movl	16(%rax), %edi
	movl	-52(%rbp), %ecx
	movl	-72(%rbp), %esi
	movq	-64(%rbp), %rdx
	callq	_h2o_config_register_host
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_18
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, 8(%r13)
	movq	_H2O_CONFIGURATOR_FLAG_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_h2o_configurator_apply_commands
	movl	%eax, %r12d
	movq	%r13, %rdi
	callq	_destroy_context
	testl	%r12d, %r12d
	jne	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_yoml_get
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	incq	%rdx
	addq	$16, %r15
	cmpq	16(%r14), %rdx
	jne	LBB0_2
## %bb.12:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_13:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
	jmp	LBB0_20
LBB0_14:
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_17
LBB0_15:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.2(%rip), %rdx
LBB0_17:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	jmp	LBB0_20
LBB0_18:
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_h2o_configurator_errprintf
	movq	%r13, %rdi
	callq	_destroy_context
	jmp	LBB0_21
LBB0_19:
	leaq	L_.str.6(%rip), %rdx
	xorl	%edi, %edi
	movq	%rbx, %rsi
LBB0_20:
	callq	_h2o_configurator_errprintf
LBB0_21:
	movl	$-1, %eax
LBB0_22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"the mapping cannot be empty"

	.comm	_YOML_TYPE_SCALAR,8,3           ## @YOML_TYPE_SCALAR
L_.str.1:                               ## @.str.1
	.asciz	"key (representing the hostname) must be a string"

L_.str.2:                               ## @.str.2
	.asciz	"invalid key (must be either `host` or `host:port`)"

L_.str.3:                               ## @.str.3
	.asciz	"wildcard (*) can only be used at the start of the hostname"

L_.str.4:                               ## @.str.4
	.asciz	"duplicate host entry"

	.comm	_H2O_CONFIGURATOR_FLAG_HOST,4,2 ## @H2O_CONFIGURATOR_FLAG_HOST
L_.str.5:                               ## @.str.5
	.asciz	"paths"

L_.str.6:                               ## @.str.6
	.asciz	"mandatory configuration directive `paths` is missing"

	.no_dead_strip	_on_config_hosts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config_hosts
_on_config_hosts:                       ; @on_config_hosts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x20, x2
	ldr	x8, [x2, #16]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x21, x1
	str	x0, [sp]                        ; 8-byte Folded Spill
	mov	x26, #0
	mov	x27, #0
Lloh0:
	adrp	x28, _YOML_TYPE_SCALAR@GOTPAGE
Lloh1:
	ldr	x28, [x28, _YOML_TYPE_SCALAR@GOTPAGEOFF]
Lloh2:
	adrp	x19, _H2O_CONFIGURATOR_FLAG_HOST@GOTPAGE
Lloh3:
	ldr	x19, [x19, _H2O_CONFIGURATOR_FLAG_HOST@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str.5@PAGE
Lloh5:
	add	x22, x22, l_.str.5@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	add	x8, x8, x26
	ldr	x24, [x8, #8]
	ldr	x9, [x24]
	ldr	x10, [x28]
	cmp	x9, x10
	b.ne	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x23, [x8]
	ldr	w25, [x24, #8]
	mov	x0, x25
	bl	_strlen
	mov	x1, x0
	add	x2, sp, #16
	add	x3, sp, #12
	mov	x0, x25
	bl	_h2o_url_parse_hostport
	cbz	x0, LBB0_15
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #16]
	cmp	w8, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [sp, #24]
	ldrb	w10, [x8]
	ldr	w9, [sp, #16]
	cmp	w10, #42
	ccmp	w9, #1, #4, eq
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w10, [x8, #1]
	cmp	w10, #46
	b.ne	LBB0_13
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x8, #1
	sub	w2, w9, #1
	mov	w1, #42
	bl	_memchr
	cbnz	x0, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x21
	mov	w1, #0
	bl	_create_context
	mov	x25, x0
	ldr	w0, [x0, #16]
	ldr	w3, [sp, #12]
	ldp	x1, x2, [sp, #16]
	bl	_h2o_config_register_host
	str	x0, [x25]
	cbz	x0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	str	x0, [x25, #8]
	ldr	w2, [x19]
	mov	x0, x25
	mov	x1, x23
	mov	x3, #0
	bl	_h2o_configurator_apply_commands
	mov	x24, x0
	mov	x0, x25
	bl	_destroy_context
	cbnz	w24, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	mov	x1, x22
	bl	_yoml_get
	cbz	x0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	add	x27, x27, #1
	ldr	x8, [x20, #16]
	add	x26, x26, #16
	cmp	x27, x8
	b.ne	LBB0_2
; %bb.11:
	mov	w0, #0
	b	LBB0_21
LBB0_12:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
	b	LBB0_19
LBB0_13:
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_16:
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x24
	b	LBB0_19
LBB0_17:
Lloh14:
	adrp	x2, l_.str.4@PAGE
Lloh15:
	add	x2, x2, l_.str.4@PAGEOFF
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x24
	bl	_h2o_configurator_errprintf
	mov	x0, x25
	bl	_destroy_context
	b	LBB0_20
LBB0_18:
Lloh16:
	adrp	x2, l_.str.6@PAGE
Lloh17:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x1, x23
LBB0_19:
	bl	_h2o_configurator_errprintf
LBB0_20:
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"the mapping cannot be empty"

	.comm	_YOML_TYPE_SCALAR,8,3           ; @YOML_TYPE_SCALAR
l_.str.1:                               ; @.str.1
	.asciz	"key (representing the hostname) must be a string"

l_.str.2:                               ; @.str.2
	.asciz	"invalid key (must be either `host` or `host:port`)"

l_.str.3:                               ; @.str.3
	.asciz	"wildcard (*) can only be used at the start of the hostname"

l_.str.4:                               ; @.str.4
	.asciz	"duplicate host entry"

	.comm	_H2O_CONFIGURATOR_FLAG_HOST,4,2 ; @H2O_CONFIGURATOR_FLAG_HOST
l_.str.5:                               ; @.str.5
	.asciz	"paths"

l_.str.6:                               ; @.str.6
	.asciz	"mandatory configuration directive `paths` is missing"

	.no_dead_strip	_on_config_hosts
.subsections_via_symbols
