	.file	"extr_settings.c_set_date_num_format.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%Y%m%d"
.LC1:
	.string	"Yy"
.LC2:
	.string	"%%Y"
.LC3:
	.string	"hbmB"
.LC4:
	.string	"%%m"
.LC5:
	.string	"de"
.LC6:
	.string	"%%d"
	.text
	.p2align 4
	.type	set_date_num_format, @function
set_date_num_format:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	set_format_date@PLT
	mov	rbp, rax
	mov	eax, 1
	test	rbp, rbp
	je	.L1
	mov	rdi, rbp
	call	is_date_abbreviated@PLT
	mov	rdi, rbp
	test	rax, rax
	jne	.L19
	call	strlen@PLT
	mov	esi, 1
	xor	r12d, r12d
	lea	ebx, 1[rax]
	mov	edi, ebx
	call	xcalloc@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	mov	r13, rax
	call	strpbrk@PLT
	test	rax, rax
	jne	.L20
.L4:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	strpbrk@PLT
	test	rax, rax
	jne	.L21
.L5:
	lea	rsi, .LC5[rip]
	mov	rdi, rbp
	call	strpbrk@PLT
	test	rax, rax
	jne	.L22
.L6:
	mov	rdi, rbp
	mov	QWORD PTR conf[rip], r13
	call	free@PLT
	xor	eax, eax
	test	r12d, r12d
	sete	al
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	call	free@PLT
	lea	rdi, .LC0[rip]
	call	xstrdup@PLT
	mov	QWORD PTR conf[rip], rax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	lea	rdx, .LC2[rip]
	mov	esi, ebx
	mov	rdi, r13
	call	snprintf@PLT
	mov	r12d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L22:
	sub	ebx, r12d
	movsx	rdi, r12d
	lea	rdx, .LC6[rip]
	mov	esi, ebx
	add	rdi, r13
	call	snprintf@PLT
	add	r12d, eax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L21:
	movsx	rdi, r12d
	mov	esi, ebx
	lea	rdx, .LC4[rip]
	sub	esi, r12d
	add	rdi, r13
	call	snprintf@PLT
	add	r12d, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	set_date_num_format, .-set_date_num_format
	.comm	conf,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_settings.c_set_date_num_format.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%Y%m%d\000"
	.align	2
.LC1:
	.ascii	"Yy\000"
	.align	2
.LC2:
	.ascii	"%%Y\000"
	.align	2
.LC3:
	.ascii	"hbmB\000"
	.align	2
.LC4:
	.ascii	"%%m\000"
	.align	2
.LC5:
	.ascii	"de\000"
	.align	2
.LC6:
	.ascii	"%%d\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_date_num_format, %function
set_date_num_format:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	bl	set_format_date
	subs	r5, r0, #0
	beq	.L7
	bl	is_date_abbreviated
	cmp	r0, #0
	mov	r0, r5
	bne	.L19
	bl	strlen
	add	r7, r0, #1
	mov	r1, #1
	mov	r0, r7
	bl	xcalloc
	ldr	r1, .L23
	mov	r6, r0
	mov	r0, r5
	bl	strpbrk
	subs	r4, r0, #0
	bne	.L20
.L4:
	mov	r0, r5
	ldr	r1, .L23+4
	bl	strpbrk
	cmp	r0, #0
	bne	.L21
.L5:
	mov	r0, r5
	ldr	r1, .L23+8
	bl	strpbrk
	cmp	r0, #0
	bne	.L22
.L6:
	ldr	r3, .L23+12
	mov	r0, r5
	str	r6, [r3]
	bl	free
	clz	r0, r4
	lsr	r0, r0, #5
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	bl	free
	ldr	r0, .L23+16
	bl	xstrdup
	mov	r2, r0
	ldr	r3, .L23+12
	mov	r0, #0
	str	r2, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r1, r7
	mov	r0, r6
	ldr	r2, .L23+20
	bl	snprintf
	mov	r4, r0
	b	.L4
.L22:
	sub	r1, r7, r4
	add	r0, r6, r4
	ldr	r2, .L23+24
	bl	snprintf
	add	r4, r4, r0
	b	.L6
.L21:
	sub	r1, r7, r4
	add	r0, r6, r4
	ldr	r2, .L23+28
	bl	snprintf
	add	r4, r4, r0
	b	.L5
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	.LC3
	.word	.LC5
	.word	conf
	.word	.LC0
	.word	.LC2
	.word	.LC6
	.word	.LC4
	.size	set_date_num_format, .-set_date_num_format
	.comm	conf,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
