	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function register_errordoc
_register_errordoc:                     ## @register_errordoc
	.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	%rdi, %r15
	movq	(%rdi), %rbx
	leaq	L_.str(%rip), %rax
	leaq	-88(%rbp), %r8
	leaq	-48(%rbp), %r9
	movq	%rdx, %rsi
	movq	%rax, %rdx
	xorl	%ecx, %ecx
	callq	_h2o_configurator_parse_mapping
	movl	$-1, %r14d
	testq	%rax, %rax
	jne	LBB0_22
## %bb.1:
	movq	-48(%rbp), %rax
	movq	(%rax), %rsi
	movl	(%rsi), %eax
	cmpl	$129, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_7
## %bb.4:
	movq	16(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.8:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %rax
	movq	%rax, -48(%rbp)
	jmp	LBB0_9
LBB0_2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ecx
LBB0_9:
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	leal	(,%rcx,4), %edi
	callq	_alloca
	movq	%rax, %r13
	xorl	%r12d, %r12d
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_10 Depth=1
	incq	%r12
	cmpq	-72(%rbp), %r12                 ## 8-byte Folded Reload
	movq	%r14, %rdx
	je	LBB0_20
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_17 Depth 2
	movq	-48(%rbp), %rax
	movq	(%rax,%r12,8), %rsi
	leaq	(,%r12,4), %rbx
	addq	%r13, %rbx
	movq	%r15, %rdi
	movq	%rdx, %r14
	movq	%rbx, %rcx
	callq	_h2o_configurator_scanf
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	(%rbx), %ecx
	leal	-400(%rcx), %eax
	cmpl	$199, %eax
	ja	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	testq	%r12, %r12
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=1
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	%ecx, (%r13,%rax,4)
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_17 Depth=2
	incq	%rax
	cmpq	%rax, %r12
	jne	LBB0_17
	jmp	LBB0_19
LBB0_18:
	movq	-48(%rbp), %rax
	movq	(%rax,%r12,8), %rsi
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
	movl	$-1, %r14d
	jmp	LBB0_22
LBB0_7:
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_6
LBB0_5:
	leaq	L_.str.1(%rip), %rdx
LBB0_6:
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
LBB0_22:
	movl	%r14d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movl	$-1, %r14d
	jmp	LBB0_22
LBB0_15:
	movq	-48(%rbp), %rax
	movq	(%rax,%r12,8), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_h2o_configurator_errprintf
	movl	$-1, %r14d
	jmp	LBB0_22
LBB0_20:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	leaq	8(%rbx), %rdi
	movq	-88(%rbp), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	callq	_h2o_strdup
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rbx, %r12
	movq	(%rbx), %rsi
	movq	(%rsi), %rdx
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	incq	%rdx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_h2o_vector_reserve
	movq	(%r12), %rsi
	movq	(%rsi), %rax
	movq	8(%rsi), %rcx
	leaq	1(%rax), %rdx
	movq	%rdx, (%rsi)
	movl	(%r13,%rbx,4), %edi
	movl	%edi, (%rcx,%rax,8)
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%edi, 4(%rcx,%rax,8)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_21
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"url:s,status:*"

L_.str.1:                               ## @.str.1
	.asciz	"status cannot be an empty sequence"

L_.str.2:                               ## @.str.2
	.asciz	"status must be a 3-digit scalar or a sequence of 3-digit scalars"

L_.str.3:                               ## @.str.3
	.asciz	"%d"

L_.str.4:                               ## @.str.4
	.asciz	"status must be within range of 400 to 599"

L_.str.5:                               ## @.str.5
	.asciz	"status %d appears multiple times"

	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.no_dead_strip	_register_errordoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function register_errordoc
_register_errordoc:                     ; @register_errordoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x1, x2
	mov	x19, x0
	ldr	x23, [x0]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x4, sp, #24
	add	x5, sp, #16
	mov	x3, #0
	bl	_h2o_configurator_parse_mapping
	cbnz	x0, LBB0_19
; %bb.1:
	ldr	x8, [sp, #16]
	ldr	x1, [x8]
	ldr	w8, [x1]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_15
; %bb.3:
	ldr	x24, [x1, #16]
	cbz	x24, LBB0_16
; %bb.4:
	ldr	x8, [x1, #24]
	str	x8, [sp, #16]
	b	LBB0_6
LBB0_5:
	mov	w24, #1
LBB0_6:
	lsl	w0, w24, #2
	bl	_alloca
	mov	x20, x0
	mov	x25, #0
Lloh2:
	adrp	x21, l_.str.3@PAGE
Lloh3:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x25, x25, #1
	cmp	x25, x24
	b.eq	LBB0_21
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	ldr	x8, [sp, #16]
	ldr	x1, [x8, x25, lsl #3]
	add	x22, x20, x25, lsl #2
	mov	x0, x19
	mov	x2, x21
	mov	x3, x22
	bl	_h2o_configurator_scanf
	cbnz	x0, LBB0_19
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22]
	sub	w9, w8, #400
	cmp	w9, #199
	b.hi	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	cbz	x25, LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, #0
LBB0_12:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w10, [x20, x9, lsl #2]
	cmp	w10, w8
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	add	x9, x9, #1
	cmp	x25, x9
	b.ne	LBB0_12
	b	LBB0_7
LBB0_14:
	ldr	x9, [sp, #16]
	ldr	x1, [x9, x25, lsl #3]
	str	x8, [sp]
Lloh4:
	adrp	x2, l_.str.5@PAGE
Lloh5:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_18
LBB0_15:
Lloh6:
	adrp	x2, l_.str.2@PAGE
Lloh7:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_18
LBB0_16:
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_18
LBB0_17:
	ldr	x8, [sp, #16]
	ldr	x1, [x8, x25, lsl #3]
Lloh10:
	adrp	x2, l_.str.4@PAGE
Lloh11:
	add	x2, x2, l_.str.4@PAGEOFF
LBB0_18:
	mov	x0, x19
	bl	_h2o_configurator_errprintf
LBB0_19:
	mov	w0, #-1
LBB0_20:
	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
	add	sp, sp, #112
	ret
LBB0_21:
	add	x19, x23, #8
	ldr	x8, [sp, #24]
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
Lloh12:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_h2o_strdup
	mov	x21, x0
	ldr	x1, [x23]
	ldr	x8, [x1]
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	add	x2, x8, #1
	mov	x0, x19
	bl	_h2o_vector_reserve
	mov	w0, #0
	ldr	x1, [x23]
	ldp	x10, x9, [x1]
	add	x8, x10, #1
	str	x8, [x1]
	ldr	w11, [x20], #4
	add	x9, x9, x10, lsl #3
	stp	w11, w21, [x9]
	subs	x24, x24, #1
	b.ne	LBB0_22
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"url:s,status:*"

l_.str.1:                               ; @.str.1
	.asciz	"status cannot be an empty sequence"

l_.str.2:                               ; @.str.2
	.asciz	"status must be a 3-digit scalar or a sequence of 3-digit scalars"

l_.str.3:                               ; @.str.3
	.asciz	"%d"

l_.str.4:                               ; @.str.4
	.asciz	"status must be within range of 400 to 599"

l_.str.5:                               ; @.str.5
	.asciz	"status %d appears multiple times"

	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.no_dead_strip	_register_errordoc
.subsections_via_symbols
