	.file	"extr_configurator.c_on_config_hosts.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"the mapping cannot be empty"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"key (representing the hostname) must be a string"
	.align 8
.LC2:
	.string	"invalid key (must be either `host` or `host:port`)"
	.align 8
.LC3:
	.string	"wildcard (*) can only be used at the start of the hostname"
	.section	.rodata.str1.1
.LC4:
	.string	"duplicate host entry"
.LC5:
	.string	"paths"
	.section	.rodata.str1.8
	.align 8
.LC6:
	.string	"mandatory configuration directive `paths` is missing"
	.text
	.p2align 4
	.type	on_config_hosts, @function
on_config_hosts:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 8[rsp], rdi
	mov	QWORD PTR [rsp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 16[rdx], 0
	je	.L20
	xor	ebx, ebx
	lea	r15, 28[rsp]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 8[rbp]
	call	strlen@PLT
	mov	edi, DWORD PTR 8[rbp]
	lea	rdx, 32[rsp]
	mov	rcx, r15
	mov	esi, eax
	call	h2o_url_parse_hostport@PLT
	test	rax, rax
	je	.L21
	mov	eax, DWORD PTR 32[rsp]
	xor	edi, edi
	test	eax, eax
	setne	dil
	call	assert@PLT
	mov	rdi, QWORD PTR 40[rsp]
	mov	edx, DWORD PTR 32[rsp]
	cmp	BYTE PTR [rdi], 42
	jne	.L8
	cmp	edx, 1
	je	.L8
	cmp	BYTE PTR 1[rdi], 46
	jne	.L9
.L8:
	sub	edx, 1
	add	rdi, 1
	mov	esi, 42
	call	memchr@PLT
	test	rax, rax
	jne	.L9
	mov	rdi, QWORD PTR [rsp]
	xor	esi, esi
	call	create_context@PLT
	mov	ecx, DWORD PTR 28[rsp]
	mov	esi, DWORD PTR 32[rsp]
	mov	edi, DWORD PTR 16[rax]
	mov	rdx, QWORD PTR 40[rsp]
	mov	r14, rax
	call	h2o_config_register_host@PLT
	mov	QWORD PTR [r14], rax
	test	rax, rax
	je	.L22
	mov	QWORD PTR 8[r14], rax
	mov	edx, DWORD PTR H2O_CONFIGURATOR_FLAG_HOST[rip]
	xor	ecx, ecx
	mov	rdi, r14
	mov	rsi, r12
	call	h2o_configurator_apply_commands@PLT
	mov	rdi, r14
	mov	ebp, eax
	call	destroy_context@PLT
	test	ebp, ebp
	jne	.L5
	lea	rsi, .LC5[rip]
	mov	rdi, r12
	call	yoml_get@PLT
	test	rax, rax
	je	.L23
	add	rbx, 1
	cmp	QWORD PTR 16[r13], rbx
	je	.L1
.L2:
	mov	rax, rbx
	sal	rax, 4
	add	rax, QWORD PTR 24[r13]
	mov	rbp, QWORD PTR 8[rax]
	mov	r12, QWORD PTR [rax]
	mov	rax, QWORD PTR YOML_TYPE_SCALAR[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L4
	mov	rdi, QWORD PTR 8[rsp]
	lea	rdx, .LC1[rip]
	mov	rsi, rbp
	call	h2o_configurator_errprintf@PLT
.L5:
	mov	ebp, -1
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, ebp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	lea	rdx, .LC3[rip]
	mov	ebp, -1
	call	h2o_configurator_errprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	lea	rdx, .LC2[rip]
	mov	ebp, -1
	call	h2o_configurator_errprintf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbp
	lea	rdx, .LC4[rip]
	mov	ebp, -1
	call	h2o_configurator_errprintf@PLT
	mov	rdi, r14
	call	destroy_context@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	lea	rdx, .LC6[rip]
	mov	rsi, r12
	xor	edi, edi
	mov	ebp, -1
	call	h2o_configurator_errprintf@PLT
	jmp	.L1
.L20:
	lea	rdx, .LC0[rip]
	mov	rsi, r13
	mov	ebp, -1
	call	h2o_configurator_errprintf@PLT
	jmp	.L1
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	on_config_hosts, .-on_config_hosts
	.comm	YOML_TYPE_SCALAR,8,8
	.comm	H2O_CONFIGURATOR_FLAG_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_configurator.c_on_config_hosts.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"the mapping cannot be empty\000"
	.align	2
.LC1:
	.ascii	"key (representing the hostname) must be a string\000"
	.align	2
.LC2:
	.ascii	"invalid key (must be either `host` or `host:port`)\000"
	.align	2
.LC3:
	.ascii	"wildcard (*) can only be used at the start of the h"
	.ascii	"ostname\000"
	.align	2
.LC4:
	.ascii	"duplicate host entry\000"
	.align	2
.LC5:
	.ascii	"paths\000"
	.align	2
.LC6:
	.ascii	"mandatory configuration directive `paths` is missin"
	.ascii	"g\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	on_config_hosts, %function
on_config_hosts:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r2, #8]
	sub	sp, sp, #28
	cmp	r3, #0
	ldr	r3, .L28
	mov	r9, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	str	r0, [sp, #4]
	beq	.L23
	mov	r10, r1
	mov	r6, #0
	ldr	fp, .L28+4
	b	.L2
.L4:
	ldr	r5, [r7, #4]
	add	r4, sp, #12
	mov	r0, r5
	bl	strlen
	mov	r2, r4
	mov	r1, r0
	add	r3, sp, #8
	mov	r0, r5
	bl	h2o_url_parse_hostport
	cmp	r0, #0
	beq	.L24
	ldr	r0, [sp, #12]
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	ldr	r0, [sp, #16]
	ldr	r2, [sp, #12]
	ldrb	r3, [r0]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L8
	cmp	r2, #1
	beq	.L8
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L9
.L8:
	mov	r1, #42
	sub	r2, r2, #1
	add	r0, r0, #1
	bl	memchr
	subs	r5, r0, #0
	bne	.L9
	mov	r1, r5
	mov	r0, r10
	bl	create_context
	ldm	r4, {r1, r2}
	ldr	r3, [sp, #8]
	mov	r4, r0
	ldr	r0, [r0, #8]
	bl	h2o_config_register_host
	cmp	r0, #0
	str	r0, [r4]
	beq	.L25
	ldr	r2, .L28+8
	mov	r3, r5
	mov	r1, r8
	ldr	r2, [r2]
	str	r0, [r4, #4]
	mov	r0, r4
	bl	h2o_configurator_apply_commands
	mov	r5, r0
	mov	r0, r4
	bl	destroy_context
	cmp	r5, #0
	bne	.L5
	mov	r0, r8
	ldr	r1, .L28+12
	bl	yoml_get
	cmp	r0, #0
	beq	.L26
	ldr	r3, [r9, #8]
	add	r6, r6, #1
	cmp	r3, r6
	beq	.L1
.L2:
	ldr	r3, [r9, #12]
	ldr	r2, [fp]
	add	r1, r3, r6, lsl #3
	ldr	r7, [r1, #4]
	ldr	r8, [r3, r6, lsl #3]
	ldr	r3, [r7]
	cmp	r3, r2
	beq	.L4
	mov	r1, r7
	ldr	r0, [sp, #4]
	ldr	r2, .L28+16
	bl	h2o_configurator_errprintf
.L5:
	mvn	r5, #0
.L1:
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r1, r7
	ldr	r0, [sp, #4]
	ldr	r2, .L28+20
	bl	h2o_configurator_errprintf
	mvn	r5, #0
	b	.L1
.L24:
	mov	r1, r7
	ldr	r0, [sp, #4]
	ldr	r2, .L28+24
	bl	h2o_configurator_errprintf
	mvn	r5, #0
	b	.L1
.L25:
	mov	r1, r7
	ldr	r2, .L28+28
	ldr	r0, [sp, #4]
	bl	h2o_configurator_errprintf
	mov	r0, r4
	bl	destroy_context
	mvn	r5, #0
	b	.L1
.L26:
	mov	r1, r8
	ldr	r2, .L28+32
	bl	h2o_configurator_errprintf
	mvn	r5, #0
	b	.L1
.L23:
	mov	r1, r2
	ldr	r2, .L28+36
	bl	h2o_configurator_errprintf
	mvn	r5, #0
	b	.L1
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC7
	.word	YOML_TYPE_SCALAR
	.word	H2O_CONFIGURATOR_FLAG_HOST
	.word	.LC5
	.word	.LC1
	.word	.LC3
	.word	.LC2
	.word	.LC4
	.word	.LC6
	.word	.LC0
	.size	on_config_hosts, .-on_config_hosts
	.comm	YOML_TYPE_SCALAR,4,4
	.comm	H2O_CONFIGURATOR_FLAG_HOST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
