	.file	"extr_time.c_test_strtime.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Wrong return value\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Wrong length: returned %d, should be 8\n"
	.section	.rodata.str1.1
.LC2:
	.string	"%02d:%02d:%02d"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"Wrong format: count = %d, should be 3\n"
	.section	.rodata.str1.1
.LC4:
	.string	"err = %d\n"
.LC5:
	.string	"errno = %d\n"
.LC6:
	.string	"time[0] != '\\0'\n"
.LC7:
	.string	"err = %x\n"
	.text
	.p2align 4
	.type	test_strtime, @function
test_strtime:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 48
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	rbp, 16[rsp]
	mov	rdi, rbp
	call	_strtime@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	cmp	rbp, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rdi, rbp
	call	strlen@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	cmp	eax, 8
	mov	edx, eax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	lea	rcx, 8[rsp]
	mov	rdi, rbp
	lea	r8, 12[rsp]
	lea	rdx, 4[rsp]
	lea	rsi, .LC2[rip]
	call	sscanf@PLT
	xor	edi, edi
	lea	rsi, .LC3[rip]
	cmp	eax, 3
	mov	edx, eax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	esi, esi
	xor	edi, edi
	mov	DWORD PTR errno[rip], 0
	call	p_strtime_s@PLT
	xor	edi, edi
	cmp	DWORD PTR EINVAL[rip], eax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR errno[rip]
	xor	edi, edi
	cmp	DWORD PTR EINVAL[rip], edx
	sete	dil
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	xor	edi, edi
	mov	esi, 1
	call	p_strtime_s@PLT
	xor	edi, edi
	cmp	DWORD PTR EINVAL[rip], eax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR errno[rip]
	xor	edi, edi
	cmp	DWORD PTR EINVAL[rip], edx
	sete	dil
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	mov	esi, 8
	mov	rdi, rbp
	mov	BYTE PTR 16[rsp], 120
	call	p_strtime_s@PLT
	xor	edi, edi
	cmp	DWORD PTR ERANGE[rip], eax
	lea	rsi, .LC4[rip]
	sete	dil
	mov	edx, eax
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR errno[rip]
	xor	edi, edi
	cmp	DWORD PTR ERANGE[rip], edx
	sete	dil
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	xor	edi, edi
	cmp	BYTE PTR 16[rsp], 0
	lea	rsi, .LC6[rip]
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	esi, 9
	mov	rdi, rbp
	call	p_strtime_s@PLT
	xor	edi, edi
	lea	rsi, .LC7[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 48
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_strtime, .-test_strtime
	.comm	errno,4,4
	.comm	ERANGE,4,4
	.comm	EINVAL,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_time.c_test_strtime.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Wrong return value\012\000"
	.align	2
.LC1:
	.ascii	"Wrong length: returned %d, should be 8\012\000"
	.align	2
.LC2:
	.ascii	"%02d:%02d:%02d\000"
	.align	2
.LC3:
	.ascii	"Wrong format: count = %d, should be 3\012\000"
	.align	2
.LC4:
	.ascii	"err = %d\012\000"
	.align	2
.LC5:
	.ascii	"errno = %d\012\000"
	.align	2
.LC6:
	.ascii	"time[0] != '\\0'\012\000"
	.align	2
.LC7:
	.ascii	"err = %x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_strtime, %function
test_strtime:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #44
	ldr	r3, .L6
	add	r4, sp, #20
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	_strtime
	sub	r0, r4, r0
	clz	r0, r0
	ldr	r1, .L6+4
	lsr	r0, r0, #5
	bl	ok
	mov	r0, r4
	bl	strlen
	mov	r2, r0
	sub	r0, r0, #8
	clz	r0, r0
	ldr	r1, .L6+8
	lsr	r0, r0, #5
	bl	ok
	add	r3, sp, #16
	ldr	r1, .L6+12
	str	r3, [sp]
	add	r2, sp, #8
	add	r3, sp, #12
	mov	r0, r4
	bl	sscanf
	mov	r2, r0
	sub	r0, r0, #3
	clz	r0, r0
	mov	r7, #0
	ldr	r5, .L6+16
	ldr	r1, .L6+20
	lsr	r0, r0, #5
	bl	ok
	mov	r1, r7
	mov	r0, r7
	str	r7, [r5]
	bl	p_strtime_s
	mov	r2, r0
	ldr	r6, .L6+24
	ldr	r1, .L6+28
	ldr	r0, [r6]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [r5]
	ldr	r0, [r6]
	ldr	r1, .L6+32
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r1, #1
	mov	r0, r7
	bl	p_strtime_s
	mov	r2, r0
	ldr	r0, [r6]
	ldr	r1, .L6+28
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [r5]
	ldr	r0, [r6]
	ldr	r1, .L6+32
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r3, #120
	mov	r1, #8
	mov	r0, r4
	strb	r3, [sp, #20]
	bl	p_strtime_s
	mov	r2, r0
	ldr	r6, .L6+36
	ldr	r1, .L6+28
	ldr	r0, [r6]
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [r5]
	ldr	r0, [r6]
	ldr	r1, .L6+32
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldrb	r0, [sp, #20]	@ zero_extendqisi2
	ldr	r1, .L6+40
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	mov	r1, #9
	mov	r0, r4
	bl	p_strtime_s
	mov	r2, r0
	clz	r0, r0
	ldr	r1, .L6+44
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	errno
	.word	.LC3
	.word	EINVAL
	.word	.LC4
	.word	.LC5
	.word	ERANGE
	.word	.LC6
	.word	.LC7
	.size	test_strtime, .-test_strtime
	.comm	errno,4,4
	.comm	ERANGE,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
