	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config_custom_handler
_on_config_custom_handler:              ## @on_config_custom_handler
	.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
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	(%rdx), %rax
	movq	_YOML_TYPE_MAPPING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_yoml_get
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	$128, %rax
	je	LBB0_8
## %bb.5:
	cmpq	$129, %rax
	jne	LBB0_24
## %bb.6:
	movl	$16, %edi
	callq	_alloca
	movq	%rax, %r13
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_normalize_ext
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_22
## %bb.7:
	movq	%r13, %rax
	addq	$8, %rax
	jmp	LBB0_14
LBB0_1:
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_20
LBB0_3:
	leaq	L_.str.2(%rip), %rdx
LBB0_20:
	movq	%r14, %rdi
	movq	%r12, %rsi
LBB0_21:
	callq	_h2o_configurator_errprintf
LBB0_22:
	movl	$-1, %ebx
LBB0_23:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %eax
	leal	8(,%rax,8), %edi
	callq	_alloca
	movq	%rax, %r13
	cmpq	$0, 8(%rbx)
	je	LBB0_9
## %bb.10:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rax
	movq	(%rax,%r15,8), %rsi
	movq	%r14, %rdi
	callq	_normalize_ext
	movq	%rax, (%r13,%r15,8)
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	cmpq	8(%rbx), %r15
	jne	LBB0_11
	jmp	LBB0_13
LBB0_24:
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_21
LBB0_9:
	xorl	%r15d, %r15d
LBB0_13:
	leaq	(,%r15,8), %rax
	addq	%r13, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_14:
	movq	$0, (%rax)
	movq	%r15, %rdi
	callq	_clone_mimemap_if_clean
	movq	(%r15), %rax
	movl	(%rax), %edi
	movl	16(%r15), %edx
	movq	%r13, %rsi
	callq	_h2o_mimemap_define_dynamic
	movq	%rax, %r13
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_create_context
	movq	%rax, %r15
	movq	%r13, 8(%rax)
	movq	$0, (%rax)
	movq	_H2O_CONFIGURATOR_FLAG_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	_on_config_custom_handler.ignore_commands(%rip), %rcx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_h2o_configurator_apply_commands
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_destroy_context
	testl	%ebx, %ebx
	jne	LBB0_23
## %bb.15:
	movl	(%r13), %eax
	cmpl	$1, %eax
	je	LBB0_16
## %bb.17:
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_20
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_23
LBB0_19:
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @on_config_custom_handler.ignore_commands
_on_config_custom_handler.ignore_commands:
	.quad	L_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"extension"

	.comm	_YOML_TYPE_MAPPING,8,3          ## @YOML_TYPE_MAPPING
L_.str.1:                               ## @.str.1
	.asciz	"argument must be a MAPPING"

L_.str.2:                               ## @.str.2
	.asciz	"mandatory key `extension` is missing"

L_.str.3:                               ## @.str.3
	.asciz	"`extensions` must be a scalar or sequence of scalar"

	.comm	_H2O_CONFIGURATOR_FLAG_EXTENSION,4,2 ## @H2O_CONFIGURATOR_FLAG_EXTENSION
L_.str.4:                               ## @.str.4
	.asciz	"no handler declared for given extension"

L_.str.5:                               ## @.str.5
	.asciz	"cannot assign more than one handler for given extension"

	.no_dead_strip	_on_config_custom_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config_custom_handler
_on_config_custom_handler:              ; @on_config_custom_handler
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x0
	ldr	x8, [x2]
Lloh0:
	adrp	x9, _YOML_TYPE_MAPPING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _YOML_TYPE_MAPPING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.1:
	mov	x21, x1
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_yoml_get
	cbz	x0, LBB0_7
; %bb.2:
	mov	x23, x0
	ldr	x8, [x0]
	cmp	x8, #128
	b.eq	LBB0_12
; %bb.3:
	cmp	x8, #129
	b.ne	LBB0_16
; %bb.4:
	mov	w0, #16
	bl	_alloca
	mov	x22, x0
	mov	x0, x20
	mov	x1, x23
	bl	_normalize_ext
	str	x0, [x22]
	cbz	x0, LBB0_10
; %bb.5:
	add	x8, x22, #8
	b	LBB0_19
LBB0_6:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x2, l_.str.2@PAGE
Lloh8:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_8:
	mov	x0, x20
	mov	x1, x19
LBB0_9:
	bl	_h2o_configurator_errprintf
LBB0_10:
	mov	w21, #-1
LBB0_11:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldr	w8, [x23, #8]
	lsl	w8, w8, #3
	add	w0, w8, #8
	bl	_alloca
	mov	x22, x0
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_17
; %bb.13:
	mov	x24, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	lsl	x25, x24, #3
	ldr	x1, [x8, x25]
	mov	x0, x20
	bl	_normalize_ext
	str	x0, [x22, x25]
	cbz	x0, LBB0_10
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x24, x24, #1
	ldr	x8, [x23, #8]
	cmp	x24, x8
	b.ne	LBB0_14
	b	LBB0_18
LBB0_16:
Lloh9:
	adrp	x2, l_.str.3@PAGE
Lloh10:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	x1, x23
	b	LBB0_9
LBB0_17:
	mov	x24, #0
LBB0_18:
	add	x8, x22, x24, lsl #3
LBB0_19:
	str	xzr, [x8]
	mov	x0, x21
	bl	_clone_mimemap_if_clean
	ldr	x8, [x21]
	ldr	w0, [x8]
	ldr	w2, [x21, #16]
	mov	x1, x22
	bl	_h2o_mimemap_define_dynamic
	mov	x22, x0
	mov	x0, x21
	mov	w1, #1
	bl	_create_context
	mov	x23, x0
	stp	xzr, x22, [x0]
Lloh11:
	adrp	x8, _H2O_CONFIGURATOR_FLAG_EXTENSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _H2O_CONFIGURATOR_FLAG_EXTENSION@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x3, _on_config_custom_handler.ignore_commands@PAGE
Lloh15:
	add	x3, x3, _on_config_custom_handler.ignore_commands@PAGEOFF
	mov	x1, x19
	bl	_h2o_configurator_apply_commands
	mov	x21, x0
	mov	x0, x23
	bl	_destroy_context
	cbnz	w21, LBB0_11
; %bb.20:
	ldr	w8, [x22]
	cmp	w8, #1
	b.eq	LBB0_23
; %bb.21:
	cbnz	w8, LBB0_24
; %bb.22:
Lloh16:
	adrp	x2, l_.str.4@PAGE
Lloh17:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_23:
	mov	w21, #0
	b	LBB0_11
LBB0_24:
Lloh18:
	adrp	x2, l_.str.5@PAGE
Lloh19:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	3                               ; @on_config_custom_handler.ignore_commands
_on_config_custom_handler.ignore_commands:
	.quad	l_.str
	.quad	0

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"extension"

	.comm	_YOML_TYPE_MAPPING,8,3          ; @YOML_TYPE_MAPPING
l_.str.1:                               ; @.str.1
	.asciz	"argument must be a MAPPING"

l_.str.2:                               ; @.str.2
	.asciz	"mandatory key `extension` is missing"

l_.str.3:                               ; @.str.3
	.asciz	"`extensions` must be a scalar or sequence of scalar"

	.comm	_H2O_CONFIGURATOR_FLAG_EXTENSION,4,2 ; @H2O_CONFIGURATOR_FLAG_EXTENSION
l_.str.4:                               ; @.str.4
	.asciz	"no handler declared for given extension"

l_.str.5:                               ; @.str.5
	.asciz	"cannot assign more than one handler for given extension"

	.no_dead_strip	_on_config_custom_handler
.subsections_via_symbols
