	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_access_log_open_handle     ## -- Begin function h2o_access_log_open_handle
	.p2align	4, 0x90
_h2o_access_log_open_handle:            ## @h2o_access_log_open_handle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$272, %rsp                      ## imm = 0x110
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	testq	%rsi, %rsi
	leaq	L_.str(%rip), %rdi
	cmovneq	%rsi, %rdi
	leaq	-288(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdx
	callq	_h2o_logconf_compile
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_h2o_access_log_open_log
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.2:
	movl	%eax, %r14d
	movq	_on_dispose_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	movl	$16, %esi
	callq	_h2o_mem_alloc_shared
	movq	%rbx, 8(%rax)
	movl	%r14d, (%rax)
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	leaq	-288(%rbp), %rsi
	callq	_h2o_error_printf
	jmp	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_h2o_logconf_dispose
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$272, %rsp                      ## imm = 0x110
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""

L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.comm	_on_dispose_handle,4,2          ## @on_dispose_handle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_access_log_open_handle     ; -- Begin function h2o_access_log_open_handle
	.p2align	2
_h2o_access_log_open_handle:            ; @h2o_access_log_open_handle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #320
	.cfi_def_cfa_offset 320
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #288]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #304]            ; 16-byte Folded Spill
	add	x29, sp, #304
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w27, -40
	.cfi_offset w28, -48
	mov	x8, x2
	mov	x20, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-40]
Lloh3:
	adrp	x9, l_.str@PAGE
Lloh4:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x1, #0
	csel	x0, x9, x1, eq
	add	x2, sp, #8
	mov	x1, x8
	bl	_h2o_logconf_compile
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_h2o_access_log_open_log
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	mov	x20, x0
Lloh5:
	adrp	x8, _on_dispose_handle@GOTPAGE
Lloh6:
	ldr	x8, [x8, _on_dispose_handle@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, #0
	mov	w1, #16
	bl	_h2o_mem_alloc_shared
	str	x19, [x0, #8]
	str	w20, [x0]
	b	LBB0_6
LBB0_3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #8
	bl	_h2o_error_printf
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_h2o_logconf_dispose
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh10:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh11:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #304]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #320
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""

l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.comm	_on_dispose_handle,4,2          ; @on_dispose_handle
.subsections_via_symbols
