	.file	"extr_ti-bandgap.c_ti_bandgap_read_update_interval.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ti_bandgap_read_update_interval
	.type	ti_bandgap_read_update_interval, @function
ti_bandgap_read_update_interval:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	ti_bandgap_validate@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR COUNTER[rip]
	mov	rdi, rbp
	call	TI_BANDGAP_HAS@PLT
	test	rax, rax
	jne	.L3
	mov	esi, DWORD PTR COUNTER_DELAY[rip]
	mov	rdi, rbp
	call	TI_BANDGAP_HAS@PLT
	test	rax, rax
	je	.L8
.L3:
	mov	esi, DWORD PTR COUNTER[rip]
	mov	rdi, rbp
	call	TI_BANDGAP_HAS@PLT
	mov	rdx, r14
	mov	esi, r13d
	mov	rdi, rbp
	test	rax, rax
	jne	.L9
.L2:
	endbr64
	call	ti_bandgap_read_counter_delay@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOTSUPP[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	call	ti_bandgap_read_counter@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ti_bandgap_read_update_interval, .-ti_bandgap_read_update_interval
	.comm	ENOTSUPP,4,4
	.comm	COUNTER_DELAY,4,4
	.comm	COUNTER,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_ti-bandgap.c_ti_bandgap_read_update_interval.c"
	.text
	.align	2
	.global	ti_bandgap_read_update_interval
	.syntax unified
	.arm
	.fpu softvfp
	.type	ti_bandgap_read_update_interval, %function
ti_bandgap_read_update_interval:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	mov	r5, r0
	mov	r6, r1
	bl	ti_bandgap_validate
	subs	r4, r0, #0
	beq	.L7
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r8, .L10
	mov	r0, r5
	ldr	r1, [r8]
	bl	TI_BANDGAP_HAS
	cmp	r0, #0
	bne	.L3
	ldr	r3, .L10+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	TI_BANDGAP_HAS
	cmp	r0, #0
	beq	.L8
.L3:
	ldr	r1, [r8]
	mov	r0, r5
	bl	TI_BANDGAP_HAS
	subs	r8, r0, #0
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bne	.L9
.L2:
	mov	r4, r8
	bl	ti_bandgap_read_counter_delay
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, .L10+8
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L1
.L9:
	bl	ti_bandgap_read_counter
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	.align	2
.L10:
	.word	COUNTER
	.word	COUNTER_DELAY
	.word	ENOTSUPP
	.size	ti_bandgap_read_update_interval, .-ti_bandgap_read_update_interval
	.comm	ENOTSUPP,4,4
	.comm	COUNTER_DELAY,4,4
	.comm	COUNTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
