	.file	"extr_parse_date.c_timelib_parse_zone.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"UTC"
	.text
	.p2align 4
	.globl	timelib_parse_zone
	.type	timelib_parse_zone, @function
timelib_parse_zone:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, r8
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, r9
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rdi, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	DWORD PTR [rcx], 0
	movzx	edx, BYTE PTR [rdi]
	mov	eax, edx
	and	eax, -9
	cmp	al, 32
	je	.L20
	cmp	dl, 9
	jne	.L2
.L20:
	lea	rax, 1[rdi]
	.p2align 4,,10
	.p2align 3
.L27:
	mov	QWORD PTR [rbx], rax
	movzx	edx, BYTE PTR [rax]
	mov	rdi, rax
	add	rax, 1
	mov	ecx, edx
	and	ecx, -9
	cmp	cl, 32
	je	.L27
	cmp	dl, 9
	je	.L27
.L2:
	cmp	dl, 71
	je	.L5
.L7:
	mov	rdi, QWORD PTR [rbx]
.L6:
	movzx	eax, BYTE PTR [rdi]
	cmp	al, 43
	je	.L32
	cmp	al, 45
	je	.L33
	mov	DWORD PTR 0[r13], 1
	lea	rcx, 8[rsp]
	lea	rdx, 16[rsp]
	mov	rdi, rbx
	mov	DWORD PTR 8[rsp], 0
	call	timelib_lookup_abbr@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	r15d, eax
	test	esi, esi
	jne	.L11
.L14:
	mov	rdi, QWORD PTR 16[rsp]
	lea	rdx, 12[rsp]
	mov	rsi, r14
	call	r12
	test	rax, rax
	je	.L15
	mov	QWORD PTR 16[r13], rax
	mov	rax, QWORD PTR TIMELIB_ZONETYPE_ID[rip]
	add	DWORD PTR 8[rsp], 1
	mov	QWORD PTR 8[r13], rax
.L15:
	mov	rdi, QWORD PTR 16[rsp]
	call	timelib_free@PLT
	mov	edx, DWORD PTR 8[rsp]
	xor	eax, eax
	test	edx, edx
	sete	al
	mov	DWORD PTR 0[rbp], eax
.L9:
	mov	rdx, QWORD PTR [rbx]
	cmp	BYTE PTR [rdx], 41
	lea	rax, 1[rdx]
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	QWORD PTR [rbx], rax
	add	rax, 1
	cmp	BYTE PTR -1[rax], 41
	je	.L16
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L34
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r15d
	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
.L5:
	.cfi_restore_state
	cmp	BYTE PTR 1[rdi], 77
	jne	.L7
	cmp	BYTE PTR 2[rdi], 84
	jne	.L7
	movzx	eax, BYTE PTR 3[rdi]
	sub	eax, 43
	test	al, -3
	jne	.L7
	add	rdi, 3
	mov	QWORD PTR [rbx], rdi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L33:
	add	rdi, 1
	mov	QWORD PTR [rbx], rdi
	mov	rax, QWORD PTR TIMELIB_ZONETYPE_OFFSET[rip]
	mov	rdi, rbx
	mov	DWORD PTR 0[r13], 1
	mov	QWORD PTR 8[r13], rax
	mov	DWORD PTR 0[rbp], 0
	mov	QWORD PTR 24[r13], 0
	call	timelib_parse_tz_cor@PLT
	neg	eax
	mov	r15d, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L32:
	add	rdi, 1
	mov	QWORD PTR [rbx], rdi
	mov	rax, QWORD PTR TIMELIB_ZONETYPE_OFFSET[rip]
	mov	rdi, rbx
	mov	DWORD PTR 0[r13], 1
	mov	QWORD PTR 8[r13], rax
	mov	DWORD PTR 0[rbp], 0
	mov	QWORD PTR 24[r13], 0
	call	timelib_parse_tz_cor@PLT
	mov	r15d, eax
	jmp	.L9
.L11:
	mov	rax, QWORD PTR TIMELIB_ZONETYPE_ABBR[rip]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, r13
	mov	QWORD PTR 8[r13], rax
	call	timelib_time_tz_abbr_update@PLT
	mov	ecx, DWORD PTR 8[rsp]
	test	ecx, ecx
	je	.L14
	mov	rsi, QWORD PTR 16[rsp]
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L14
	jmp	.L15
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	timelib_parse_zone, .-timelib_parse_zone
	.comm	TIMELIB_ZONETYPE_OFFSET,8,8
	.comm	TIMELIB_ZONETYPE_ID,8,8
	.comm	TIMELIB_ZONETYPE_ABBR,8,8
	.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_parse_date.c_timelib_parse_zone.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"UTC\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	timelib_parse_zone
	.syntax unified
	.arm
	.fpu softvfp
	.type	timelib_parse_zone, %function
timelib_parse_zone:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r3
	mov	r3, #0
	ldr	ip, [r0]
	mov	r4, r0
	ldr	r0, .L34
	sub	sp, sp, #16
	ldr	r0, [r0]
	str	r0, [sp, #12]
	mov	r0,#0
	str	r3, [r6]
	ldrb	lr, [ip]	@ zero_extendqisi2
	mov	r5, r2
	and	r3, lr, #247
	cmp	lr, #9
	cmpne	r3, #32
	ldr	r8, [sp, #48]
	ldr	r7, [sp, #52]
	bne	.L2
.L3:
	add	ip, ip, #1
	str	ip, [r4]
	ldrb	lr, [ip]	@ zero_extendqisi2
	and	r3, lr, #247
	cmp	lr, #9
	cmpne	r3, #32
	beq	.L3
.L2:
	cmp	lr, #71
	beq	.L4
.L6:
	ldr	ip, [r4]
.L5:
	ldrb	r3, [ip]	@ zero_extendqisi2
	cmp	r3, #43
	beq	.L31
	cmp	r3, #45
	beq	.L32
	mov	r3, #1
	mov	ip, #0
	str	r3, [r5]
	mov	r0, r4
	mov	r3, sp
	add	r2, sp, #4
	str	ip, [sp]
	bl	timelib_lookup_abbr
	ldr	r3, [sp]
	mov	r9, r0
	cmp	r3, #0
	bne	.L10
	ldr	r10, [sp, #4]
.L11:
	mov	r1, r8
	mov	r0, r10
	add	r2, sp, #8
	blx	r7
	cmp	r0, #0
	beq	.L14
	ldr	r2, .L34+4
	ldr	r3, [sp]
	ldr	r2, [r2]
	add	r3, r3, #1
	str	r0, [r5, #8]
	str	r2, [r5, #4]
	str	r3, [sp]
.L14:
	ldr	r10, [sp, #4]
.L13:
	mov	r0, r10
	bl	timelib_free
	ldr	r3, [sp]
	clz	r3, r3
	lsr	r3, r3, #5
	str	r3, [r6]
.L8:
	ldr	r3, [r4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #41
	bne	.L1
.L15:
	add	r3, r3, #1
	str	r3, [r4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #41
	beq	.L15
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, r9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	ldr	r3, .L34+8
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, [sp, #4]
	str	r3, [r5, #4]
	bl	timelib_time_tz_abbr_update
	ldm	sp, {r3, r10}
	cmp	r3, #0
	beq	.L11
	mov	r1, r10
	ldr	r0, .L34+12
	bl	strcmp
	cmp	r0, #0
	bne	.L13
	b	.L11
.L4:
	ldrb	r3, [ip, #1]	@ zero_extendqisi2
	cmp	r3, #77
	bne	.L6
	ldrb	r3, [ip, #2]	@ zero_extendqisi2
	cmp	r3, #84
	bne	.L6
	ldrb	r3, [ip, #3]	@ zero_extendqisi2
	sub	r3, r3, #43
	tst	r3, #253
	bne	.L6
	add	ip, ip, #3
	str	ip, [r4]
	b	.L5
.L32:
	mov	r1, #1
	mov	r3, #0
	add	ip, ip, r1
	ldr	r2, .L34+16
	str	ip, [r4]
	ldr	r2, [r2]
	str	r1, [r5]
	str	r2, [r5, #4]
	mov	r0, r4
	str	r3, [r6]
	str	r3, [r5, #12]
	bl	timelib_parse_tz_cor
	rsb	r9, r0, #0
	b	.L8
.L31:
	mov	r1, #1
	mov	r3, #0
	add	ip, ip, r1
	ldr	r2, .L34+16
	str	ip, [r4]
	ldr	r2, [r2]
	str	r1, [r5]
	str	r2, [r5, #4]
	mov	r0, r4
	str	r3, [r6]
	str	r3, [r5, #12]
	bl	timelib_parse_tz_cor
	mov	r9, r0
	b	.L8
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC1
	.word	TIMELIB_ZONETYPE_ID
	.word	TIMELIB_ZONETYPE_ABBR
	.word	.LC0
	.word	TIMELIB_ZONETYPE_OFFSET
	.size	timelib_parse_zone, .-timelib_parse_zone
	.comm	TIMELIB_ZONETYPE_OFFSET,4,4
	.comm	TIMELIB_ZONETYPE_ID,4,4
	.comm	TIMELIB_ZONETYPE_ABBR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
