	.file	"extr_tsc.c_pit_expect_msb.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pit_expect_msb, @function
pit_expect_msb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movzx	r12d, dil
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
	add	ebx, 1
	mov	r13, rbp
	call	get_cycles@PLT
	mov	rbp, rax
	cmp	ebx, 50000
	je	.L8
.L3:
	mov	edi, r12d
	call	pit_verify_msb@PLT
	test	eax, eax
	jne	.L9
	xor	r12d, r12d
	cmp	ebx, 5
	setg	r12b
.L4:
	xor	eax, eax
	call	get_cycles@PLT
	sub	rax, r13
	mov	QWORD PTR [r15], rax
	mov	eax, r12d
	mov	QWORD PTR [r14], rbp
	add	rsp, 8
	.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	r12d, 1
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	pit_expect_msb, .-pit_expect_msb
	.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_tsc.c_pit_expect_msb.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pit_expect_msb, %function
pit_expect_msb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r10, #0
	mov	r6, r0
	mov	r8, r1
	mov	r9, r2
	mov	r5, r10
	mov	r4, r10
	ldr	r7, .L10
	b	.L3
.L9:
	add	r4, r4, #1
	bl	get_cycles
	cmp	r4, r7
	mov	r10, r5
	beq	.L8
	mov	r5, r0
.L3:
	mov	r0, r6
	bl	pit_verify_msb
	cmp	r0, #0
	bne	.L9
	cmp	r4, #5
	movle	r4, #0
	movgt	r4, #1
.L4:
	bl	get_cycles
	sub	r10, r0, r10
	str	r10, [r9]
	mov	r0, r4
	str	r5, [r8]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
	mov	r4, #1
	mov	r5, r0
	b	.L4
.L11:
	.align	2
.L10:
	.word	50000
	.size	pit_expect_msb, .-pit_expect_msb
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
