	.file	"extr_tmrHw.c_tmrHw_getCountRate.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tmrHw_getCountRate
	.type	tmrHw_getCountRate, @function
tmrHw_getCountRate:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR pTmrHw[rip]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	mov	eax, DWORD PTR [rax+rdi*4]
	and	eax, DWORD PTR tmrHw_CONTROL_PRESCALE_MASK[rip]
	add	eax, -128
	cmp	eax, 2
	ja	.L2
	lea	rdx, CSWTCH.5[rip]
	mov	esi, DWORD PTR [rdx+rax*4]
.L3:
	cmp	rbx, 1
	jbe	.L7
	mov	edi, DWORD PTR tmrHw_HIGH_RESOLUTION_CLOCK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	tmrHw_divide@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR tmrHw_LOW_RESOLUTION_CLOCK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	tmrHw_divide@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	xor	edi, edi
	call	tmrHw_ASSERT@PLT
	xor	esi, esi
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	tmrHw_getCountRate, .-tmrHw_getCountRate
	.section	.rodata
	.align 8
	.type	CSWTCH.5, @object
	.size	CSWTCH.5, 12
CSWTCH.5:
	.long	256
	.long	16
	.long	1
	.comm	tmrHw_LOW_RESOLUTION_CLOCK,4,4
	.comm	tmrHw_HIGH_RESOLUTION_CLOCK,4,4
	.comm	tmrHw_CONTROL_PRESCALE_MASK,4,4
	.comm	pTmrHw,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_tmrHw.c_tmrHw_getCountRate.c"
	.text
	.align	2
	.global	tmrHw_getCountRate
	.syntax unified
	.arm
	.fpu softvfp
	.type	tmrHw_getCountRate, %function
tmrHw_getCountRate:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L8
	ldr	r2, .L8+4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r3, [r3, r0, lsl #2]
	push	{r4, lr}
	and	r3, r3, r2
	sub	r3, r3, #128
	cmp	r3, #2
	mov	r4, r0
	bhi	.L2
	ldr	r2, .L8+8
	ldr	r1, [r2, r3, lsl #2]
.L3:
	cmp	r4, #1
	bls	.L7
	pop	{r4, lr}
	ldr	r3, .L8+12
	ldr	r0, [r3]
	b	tmrHw_divide
.L7:
	ldr	r3, .L8+16
	pop	{r4, lr}
	ldr	r0, [r3]
	b	tmrHw_divide
.L2:
	mov	r0, #0
	bl	tmrHw_ASSERT
	mov	r1, #0
	b	.L3
.L9:
	.align	2
.L8:
	.word	pTmrHw
	.word	tmrHw_CONTROL_PRESCALE_MASK
	.word	.LANCHOR0
	.word	tmrHw_HIGH_RESOLUTION_CLOCK
	.word	tmrHw_LOW_RESOLUTION_CLOCK
	.size	tmrHw_getCountRate, .-tmrHw_getCountRate
	.comm	tmrHw_LOW_RESOLUTION_CLOCK,4,4
	.comm	tmrHw_HIGH_RESOLUTION_CLOCK,4,4
	.comm	tmrHw_CONTROL_PRESCALE_MASK,4,4
	.comm	pTmrHw,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.5, %object
	.size	CSWTCH.5, 12
CSWTCH.5:
	.word	256
	.word	16
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
