	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_time2str_log               ## -- Begin function h2o_time2str_log
	.p2align	4, 0x90
_h2o_time2str_log:                      ## @h2o_time2str_log
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	%esi, -28(%rbp)
	leaq	-28(%rbp), %rdi
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_localtime_r
	movl	-28(%rbp), %edi
	movq	%rbx, %rsi
	callq	_calc_gmt_offset
	movl	%eax, %ecx
	shrl	$31, %ecx
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	leal	(%rcx,%rcx), %r10d
	addl	$43, %r10d
	movslq	-52(%rbp), %rax
	leaq	l_.str.1(%rip), %rcx
	leaq	(%rcx,%rax,4), %rcx
	movl	$1900, %r8d                     ## imm = 0x76C
	addl	-48(%rbp), %r8d
	movl	-56(%rbp), %edx
	movl	-44(%rbp), %r9d
	movl	-40(%rbp), %r11d
	movl	-36(%rbp), %r15d
	movl	$2290649225, %eax               ## imm = 0x88888889
	imulq	%rbx, %rax
	shrq	$37, %rax
	imull	$60, %eax, %esi
	subl	%esi, %ebx
	subq	$8, %rsp
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	pushq	%rbx
	pushq	%rax
	pushq	%r10
	pushq	%r15
	pushq	%r11
	callq	_sprintf
	addq	$48, %rsp
	movq	_H2O_TIMESTR_LOG_LEN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	sete	%dil
	callq	_assert
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%02d/%s/%d:%02d:%02d:%02d %c%02d%02d"

	.section	__TEXT,__const
l_.str.1:                               ## @.str.1
	.asciz	"Jan\000Feb\000Mar\000Apr\000May\000Jun\000Jul\000Aug\000Sep\000Oct\000Nov\000Dec\000"

	.comm	_H2O_TIMESTR_LOG_LEN,4,2        ## @H2O_TIMESTR_LOG_LEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_h2o_time2str_log               ; -- Begin function h2o_time2str_log
	.p2align	2
_h2o_time2str_log:                      ; @h2o_time2str_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	stur	w1, [x29, #-20]
	sub	x0, x29, #20
	add	x1, sp, #16
	bl	_localtime_r
	ldur	w0, [x29, #-20]
	add	x1, sp, #16
	bl	_calc_gmt_offset
	mov	w8, #45
	mov	w9, #43
	cmp	w0, #0
	csel	w8, w9, w8, ge
	cneg	w9, w0, mi
Lloh0:
	adrp	x10, l_.str.1@PAGE
Lloh1:
	add	x10, x10, l_.str.1@PAGEOFF
	ldp	w2, w11, [sp, #16]
                                        ; kill: def $w11 killed $w11 def $x11
	sxtw	x11, w11
	add	x3, x10, x11, lsl #2
	ldp	w10, w5, [sp, #24]
	add	w4, w10, #1900
	ldp	w6, w7, [sp, #32]
	mov	w10, #34953
	movk	w10, #34952, lsl #16
	umull	x10, w9, w10
	lsr	x10, x10, #37
	mov	w11, #60
	msub	w9, w10, w11, w9
	stp	w8, w10, [sp]
	str	w9, [sp, #8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_sprintf
Lloh4:
	adrp	x8, _H2O_TIMESTR_LOG_LEN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _H2O_TIMESTR_LOG_LEN@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmp	w0, w8
	cset	w0, eq
	bl	_assert
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%02d/%s/%d:%02d:%02d:%02d %c%02d%02d"

	.section	__TEXT,__const
l_.str.1:                               ; @.str.1
	.asciz	"Jan\000Feb\000Mar\000Apr\000May\000Jun\000Jul\000Aug\000Sep\000Oct\000Nov\000Dec\000"

	.comm	_H2O_TIMESTR_LOG_LEN,4,2        ; @H2O_TIMESTR_LOG_LEN
.subsections_via_symbols
