	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_config
_on_config:                             ## @on_config
	.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	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, -80(%rbp)
	movq	(%rdi), %rcx
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	_H2O_LOGCONF_ESCAPE_APACHE@GOTPCREL(%rip), %r13
	movl	(%r13), %r14d
	movl	(%rdx), %eax
	cmpl	$129, %eax
	je	LBB0_6
## %bb.1:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.2:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	-80(%rbp), %rax
	movq	%rax, -72(%rbp)
LBB0_3:
	xorl	%r12d, %r12d
	cmpl	$0, (%r15)
	jne	LBB0_16
## %bb.4:
	movq	-72(%rbp), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rdi
	movq	-64(%rbp), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_12
## %bb.5:
	movq	(%rax), %rax
	movq	8(%rax), %rsi
	jmp	LBB0_13
LBB0_6:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rax
	movq	%rax, (%rsp)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	leaq	-72(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_h2o_configurator_parse_mapping
	movl	$-1, %r12d
	testl	%eax, %eax
	jne	LBB0_16
## %bb.7:
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.8:
	movq	(%rax), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	callq	_h2o_configurator_get_one_of
	cmpl	$1, %eax
	je	LBB0_17
## %bb.9:
	testl	%eax, %eax
	jne	LBB0_16
## %bb.10:
	movl	(%r13), %r14d
	jmp	LBB0_3
LBB0_11:
	leaq	L_.str.2(%rip), %rax
	movq	%rbx, %rdi
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_h2o_configurator_errprintf
LBB0_15:
	movl	$-1, %r12d
	jmp	LBB0_16
LBB0_12:
	xorl	%esi, %esi
LBB0_13:
	movl	%r14d, %edx
	callq	_h2o_access_log_open_handle
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%rax, %rbx
	movq	(%r15), %rsi
	movq	(%rsi), %rdx
	incq	%rdx
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_h2o_vector_reserve
	movq	(%r15), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	leaq	1(%rcx), %rsi
	movq	%rsi, (%rax)
	movq	%rbx, (%rdx,%rcx,8)
LBB0_16:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	_H2O_LOGCONF_ESCAPE_JSON@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_LOGCONF_ESCAPE_APACHE,4,2  ## @H2O_LOGCONF_ESCAPE_APACHE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"path:s"

L_.str.1:                               ## @.str.1
	.asciz	"format:s,escape:*"

L_.str.2:                               ## @.str.2
	.asciz	"node must be a scalar or a mapping"

L_.str.3:                               ## @.str.3
	.asciz	"apache,json"

	.comm	_H2O_LOGCONF_ESCAPE_JSON,4,2    ## @H2O_LOGCONF_ESCAPE_JSON
	.no_dead_strip	_on_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_config
_on_config:                             ; @on_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x1
	mov	x21, x0
	str	x2, [sp, #24]
	ldr	x22, [x0]
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x23, _H2O_LOGCONF_ESCAPE_APACHE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _H2O_LOGCONF_ESCAPE_APACHE@GOTPAGEOFF]
	ldr	w20, [x23]
	ldr	w8, [x2]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.2:
	add	x8, sp, #24
	str	x8, [sp, #16]
LBB0_3:
	ldr	w8, [x19]
	cbz	w8, LBB0_13
; %bb.4:
	mov	w0, #0
	b	LBB0_12
LBB0_5:
Lloh2:
	adrp	x8, l_.str@PAGE
Lloh3:
	add	x8, x8, l_.str@PAGEOFF
Lloh4:
	adrp	x3, l_.str.1@PAGE
Lloh5:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x4, sp, #16
	add	x5, sp, #8
	mov	x6, sp
	mov	x0, x21
	mov	x1, x2
	mov	x2, x8
	bl	_h2o_configurator_parse_mapping
	cbnz	w0, LBB0_11
; %bb.6:
	ldr	x8, [sp]
	cbz	x8, LBB0_3
; %bb.7:
	ldr	x1, [x8]
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_h2o_configurator_get_one_of
	cmp	w0, #1
	b.eq	LBB0_18
; %bb.8:
	cbnz	w0, LBB0_11
; %bb.9:
	ldr	w20, [x23]
	b	LBB0_3
LBB0_10:
Lloh8:
	adrp	x8, l_.str.2@PAGE
Lloh9:
	add	x8, x8, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	x1, x2
	mov	x2, x8
	bl	_h2o_configurator_errprintf
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	ldr	x8, [sp, #16]
	ldr	x8, [x8]
	ldr	x0, [x8, #8]
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_15
; %bb.14:
	ldr	x8, [x8]
	ldr	x1, [x8, #8]
	b	LBB0_16
LBB0_15:
	mov	x1, #0
LBB0_16:
	mov	x2, x20
	bl	_h2o_access_log_open_handle
	cbz	x0, LBB0_11
; %bb.17:
	mov	x19, x0
	ldr	x1, [x22]
	ldr	x8, [x1]
	add	x2, x8, #1
	mov	x0, #0
	bl	_h2o_vector_reserve
	mov	w0, #0
	ldr	x8, [x22]
	ldp	x10, x9, [x8]
	add	x11, x10, #1
	str	x11, [x8]
	str	x19, [x9, x10, lsl #3]
	b	LBB0_12
LBB0_18:
Lloh10:
	adrp	x8, _H2O_LOGCONF_ESCAPE_JSON@GOTPAGE
Lloh11:
	ldr	x8, [x8, _H2O_LOGCONF_ESCAPE_JSON@GOTPAGEOFF]
Lloh12:
	ldr	w20, [x8]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_LOGCONF_ESCAPE_APACHE,4,2  ; @H2O_LOGCONF_ESCAPE_APACHE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"path:s"

l_.str.1:                               ; @.str.1
	.asciz	"format:s,escape:*"

l_.str.2:                               ; @.str.2
	.asciz	"node must be a scalar or a mapping"

l_.str.3:                               ; @.str.3
	.asciz	"apache,json"

	.comm	_H2O_LOGCONF_ESCAPE_JSON,4,2    ; @H2O_LOGCONF_ESCAPE_JSON
	.no_dead_strip	_on_config
.subsections_via_symbols
