	.file	"extr_loslib.c_os_date.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%c"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"time result cannot be represented in this installation"
	.section	.rodata.str1.1
.LC2:
	.string	"*t"
	.text
	.p2align 4
	.type	os_date, @function
os_date:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rdx, .LC0[rip]
	mov	esi, 1
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	rcx, 40[rsp]
	call	luaL_optlstring@PLT
	xor	edi, edi
	mov	rbx, rax
	call	time@PLT
	mov	esi, DWORD PTR l_checktime[rip]
	mov	rdi, r12
	mov	edx, 2
	mov	ecx, eax
	call	luaL_opt@PLT
	mov	r14, QWORD PTR 40[rsp]
	lea	rsi, 32[rsp]
	lea	rdi, 28[rsp]
	mov	DWORD PTR 28[rsp], eax
	cmp	BYTE PTR [rbx], 33
	je	.L18
	call	l_localtime@PLT
	mov	rbp, rbx
	mov	r13, rax
	test	r13, r13
	je	.L19
.L4:
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	strcmp@PLT
	test	rax, rax
	je	.L20
	lea	r15, 36[rsp]
	mov	rdi, r12
	mov	BYTE PTR 52[rsp], 37
	add	rbx, r14
	mov	rsi, r15
	lea	r14, 52[rsp]
	call	luaL_buffinit@PLT
.L16:
	cmp	rbp, rbx
	jnb	.L21
.L7:
	movsx	esi, BYTE PTR 0[rbp]
	add	rbp, 1
	cmp	sil, 37
	je	.L8
	mov	rdi, r15
	call	luaL_addchar@PLT
	cmp	rbp, rbx
	jb	.L7
.L21:
	mov	rdi, r15
	call	luaL_pushresult@PLT
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	edx, 9
	xor	esi, esi
	mov	rdi, r12
	call	lua_createtable@PLT
	mov	rsi, r13
	mov	rdi, r12
	call	setallfields@PLT
	mov	eax, 1
.L1:
	mov	rbx, QWORD PTR 56[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L22
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR SIZETIMEFMT[rip]
	mov	rdi, r15
	call	luaL_prepbuffsize@PLT
	mov	rdx, rbx
	lea	rcx, 53[rsp]
	mov	rsi, rbp
	sub	rdx, rbp
	mov	rdi, r12
	mov	QWORD PTR 8[rsp], rax
	call	checkoption@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, r13
	mov	rdx, r14
	mov	esi, DWORD PTR SIZETIMEFMT[rip]
	mov	rbp, rax
	mov	rdi, r8
	call	strftime@PLT
	mov	rdi, r15
	mov	rsi, rax
	call	luaL_addsize@PLT
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L18:
	call	l_gmtime@PLT
	lea	rbp, 1[rbx]
	mov	r13, rax
	test	r13, r13
	jne	.L4
.L19:
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	luaL_error@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	os_date, .-os_date
	.comm	l_checktime,4,4
	.comm	SIZETIMEFMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_loslib.c_os_date.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%c\000"
	.align	2
.LC1:
	.ascii	"time result cannot be represented in this installat"
	.ascii	"ion\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	os_date, %function
os_date:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	ip, .L22
	sub	sp, sp, #28
	mov	r1, #1
	ldr	r2, .L22+4
	mov	r3, sp
	ldr	ip, [ip]
	str	ip, [sp, #20]
	mov	ip,#0
	mov	r6, r0
	bl	luaL_optlstring
	ldr	r3, .L22+8
	mov	r5, r0
	mov	r0, #0
	ldr	r4, [r3]
	bl	time
	mov	r1, r4
	mov	r3, r0
	mov	r2, #2
	mov	r0, r6
	bl	luaL_opt
	str	r0, [sp, #4]
	ldrb	r3, [r5]	@ zero_extendqisi2
	ldr	r8, [sp]
	cmp	r3, #33
	add	r1, sp, #8
	add	r0, sp, #4
	beq	.L17
	bl	l_localtime
	mov	r4, r5
	mov	r7, r0
.L3:
	cmp	r7, #0
	beq	.L18
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L19
.L7:
	mov	r3, #37
	mov	r0, r6
	add	r5, r5, r8
	add	r1, sp, #12
	strb	r3, [sp, #16]
	bl	luaL_buffinit
	cmp	r4, r5
	bcs	.L11
	ldr	r9, .L22+12
	b	.L8
.L20:
	add	r0, sp, #12
	bl	luaL_addchar
	cmp	r4, r5
	bcs	.L11
.L8:
	ldrb	r1, [r4], #1	@ zero_extendqisi2
	cmp	r1, #37
	bne	.L20
	ldr	r1, [r9]
	add	r0, sp, #12
	bl	luaL_prepbuffsize
	mov	r1, r4
	sub	r2, r5, r4
	mov	r8, r0
	add	r3, sp, #17
	mov	r0, r6
	bl	checkoption
	mov	r3, r7
	mov	r4, r0
	ldr	r1, [r9]
	add	r2, sp, #16
	mov	r0, r8
	bl	strftime
	mov	r1, r0
	add	r0, sp, #12
	bl	luaL_addsize
	cmp	r4, r5
	bcc	.L8
.L11:
	add	r0, sp, #12
	bl	luaL_pushresult
	mov	r0, #1
	b	.L1
.L19:
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #116
	bne	.L7
	ldrb	r1, [r4, #2]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L7
	mov	r2, #9
	mov	r0, r6
	bl	lua_createtable
	mov	r1, r7
	mov	r0, r6
	bl	setallfields
	mov	r0, #1
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	bl	l_gmtime
	add	r4, r5, #1
	mov	r7, r0
	b	.L3
.L18:
	mov	r0, r6
	ldr	r1, .L22+16
	bl	luaL_error
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC2
	.word	.LC0
	.word	l_checktime
	.word	SIZETIMEFMT
	.word	.LC1
	.size	os_date, .-os_date
	.comm	l_checktime,4,4
	.comm	SIZETIMEFMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
