	.file	"extr_stv0900_sw.c_stv0900_get_lock_timeout.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	stv0900_get_lock_timeout, @function
stv0900_get_lock_timeout:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	ecx, 130
	je	.L13
	cmp	edx, 1000000
	jg	.L6
	mov	DWORD PTR [rdi], 3000
	mov	DWORD PTR [rsi], 1700
.L7:
	cmp	ecx, 128
	jne	.L1
	mov	edx, DWORD PTR [rdi]
	mov	eax, edx
	shr	eax, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR [rdi], eax
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	edx, 2000000
	jle	.L14
	cmp	edx, 5000000
	jg	.L9
	mov	DWORD PTR [rdi], 1000
	mov	DWORD PTR [rsi], 550
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	edx, 1500000
	jle	.L15
	cmp	edx, 5000000
	jg	.L5
	mov	DWORD PTR [rdi], 1000
	mov	DWORD PTR [rsi], 300
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	mov	DWORD PTR [rdi], 1500
	mov	DWORD PTR [rsi], 400
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	DWORD PTR [rdi], 2500
	mov	DWORD PTR [rsi], 1100
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	mov	DWORD PTR [rdi], 700
	mov	DWORD PTR [rsi], 100
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	cmp	edx, 10000000
	jle	.L16
	cmp	edx, 20000000
	jg	.L11
	mov	DWORD PTR [rdi], 400
	mov	DWORD PTR [rsi], 130
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	DWORD PTR [rdi], 700
	mov	DWORD PTR [rsi], 250
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L11:
	mov	DWORD PTR [rdi], 300
	mov	DWORD PTR [rsi], 100
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	stv0900_get_lock_timeout, .-stv0900_get_lock_timeout
	.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_stv0900_sw.c_stv0900_get_lock_timeout.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	stv0900_get_lock_timeout, %function
stv0900_get_lock_timeout:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	cmp	r3, #130
	beq	.L13
	ldr	ip, .L15
	cmp	r2, ip
	bgt	.L6
	ldr	ip, .L15+4
	ldr	r2, .L15+8
	str	ip, [r0]
	str	r2, [r1]
.L7:
	cmp	r3, #128
	ldreq	r3, [r0]
	addeq	r3, r3, r3, lsr #31
	asreq	r3, r3, #1
	streq	r3, [r0]
	bx	lr
.L6:
	ldr	ip, .L15+12
	cmp	r2, ip
	ble	.L14
	ldr	ip, .L15+16
	cmp	r2, ip
	bgt	.L9
	mov	ip, #1000
	ldr	r2, .L15+20
	str	ip, [r0]
	str	r2, [r1]
	b	.L7
.L13:
	ldr	r3, .L15+24
	cmp	r2, r3
	bgt	.L3
	mov	r3, #400
	ldr	r2, .L15+28
	str	r2, [r0]
	str	r3, [r1]
	bx	lr
.L3:
	ldr	r3, .L15+16
	cmp	r2, r3
	movle	r2, #1000
	movle	r3, #300
	movgt	r2, #700
	movgt	r3, #100
	str	r2, [r0]
	str	r3, [r1]
	bx	lr
.L14:
	ldr	ip, .L15+32
	ldr	r2, .L15+36
	str	ip, [r0]
	str	r2, [r1]
	b	.L7
.L9:
	ldr	ip, .L15+40
	cmp	r2, ip
	bgt	.L10
	mov	ip, #700
	mov	r2, #250
	str	ip, [r0]
	str	r2, [r1]
	b	.L7
.L10:
	ldr	ip, .L15+44
	cmp	r2, ip
	movle	ip, #400
	movle	r2, #130
	movgt	ip, #300
	movgt	r2, #100
	str	ip, [r0]
	str	r2, [r1]
	b	.L7
.L16:
	.align	2
.L15:
	.word	1000000
	.word	3000
	.word	1700
	.word	2000000
	.word	5000000
	.word	550
	.word	1500000
	.word	1500
	.word	2500
	.word	1100
	.word	10000000
	.word	20000000
	.size	stv0900_get_lock_timeout, .-stv0900_get_lock_timeout
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
