	.file	"extr_mz_zip.c_mz_zip_time_t_to_tm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mz_zip_time_t_to_tm
	.type	mz_zip_time_t_to_tm, @function
mz_zip_time_t_to_tm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	DWORD PTR 12[rsp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR MZ_PARAM_ERROR[rip]
	test	rsi, rsi
	je	.L1
	lea	r12, 20[rsp]
	mov	rbp, rsi
	lea	rdi, 12[rsp]
	mov	rsi, r12
	call	localtime_r@PLT
	mov	edx, 4
	test	rax, rax
	je	.L8
	mov	rsi, r12
	mov	rdi, rbp
	call	memcpy@PLT
	mov	eax, DWORD PTR MZ_OK[rip]
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, rbp
	call	memset@PLT
	mov	eax, DWORD PTR MZ_INTERNAL_ERROR[rip]
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mz_zip_time_t_to_tm, .-mz_zip_time_t_to_tm
	.comm	MZ_PARAM_ERROR,4,4
	.comm	MZ_OK,4,4
	.comm	MZ_INTERNAL_ERROR,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_mz_zip.c_mz_zip_time_t_to_tm.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mz_zip_time_t_to_tm
	.syntax unified
	.arm
	.fpu softvfp
	.type	mz_zip_time_t_to_tm, %function
mz_zip_time_t_to_tm:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L11
	sub	sp, sp, #16
	str	r0, [sp, #4]
	subs	r4, r1, #0
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	beq	.L8
	add	r1, sp, #8
	add	r0, sp, #4
	bl	localtime_r
	cmp	r0, #0
	beq	.L9
	mov	r0, r4
	mov	r2, #4
	add	r1, sp, #8
	bl	memcpy
	ldr	r3, .L11+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #16
	@ sp needed
	pop	{r4, pc}
.L8:
	ldr	r3, .L11+8
	ldr	r0, [r3]
	b	.L1
.L9:
	ldr	r3, .L11+12
	strb	r0, [r4]
	strb	r0, [r4, #1]
	strb	r0, [r4, #2]
	strb	r0, [r4, #3]
	ldr	r0, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	MZ_OK
	.word	MZ_PARAM_ERROR
	.word	MZ_INTERNAL_ERROR
	.size	mz_zip_time_t_to_tm, .-mz_zip_time_t_to_tm
	.comm	MZ_PARAM_ERROR,4,4
	.comm	MZ_OK,4,4
	.comm	MZ_INTERNAL_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
