	.file	"extr_si_dpm.c_btc_apply_voltage_dependency_rules.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	btc_apply_voltage_dependency_rules, @function
btc_apply_voltage_dependency_rules:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L1
	mov	r8, QWORD PTR [rdi]
	test	r8, r8
	je	.L1
	mov	rax, QWORD PTR 8[rdi]
	xor	edi, edi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	rdi, 1
	add	rax, 16
	cmp	rdi, r8
	je	.L13
.L4:
	cmp	QWORD PTR [rax], rsi
	jb	.L3
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR [rcx], rax
	jge	.L1
	cmp	rax, rdx
	cmovle	rdx, rax
	mov	QWORD PTR [rcx], rdx
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	cmp	QWORD PTR [rcx], rdx
	cmovge	rdx, QWORD PTR [rcx]
	mov	QWORD PTR [rcx], rdx
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	btc_apply_voltage_dependency_rules, .-btc_apply_voltage_dependency_rules
	.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_si_dpm.c_btc_apply_voltage_dependency_rules.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	btc_apply_voltage_dependency_rules, %function
btc_apply_voltage_dependency_rules:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #0
	bxeq	lr
	push	{r4, r5, lr}
	ldr	r4, [r0]
	cmp	r4, #0
	popeq	{r4, r5, pc}
	ldr	r5, [r0, #4]
	mov	r0, #0
	mov	ip, r5
	b	.L4
.L3:
	cmp	r0, r4
	add	ip, ip, #8
	beq	.L17
.L4:
	ldr	lr, [r5, r0, lsl #3]
	add	r0, r0, #1
	cmp	lr, r1
	bcc	.L3
	ldr	r1, [ip, #4]
	ldr	r0, [r3]
	cmp	r0, r1
	popge	{r4, r5, pc}
	cmp	r1, r2
	movlt	r2, r1
	str	r2, [r3]
	pop	{r4, r5, pc}
.L17:
	ldr	r1, [r3]
	cmp	r1, r2
	movge	r2, r1
	str	r2, [r3]
	pop	{r4, r5, pc}
	.size	btc_apply_voltage_dependency_rules, .-btc_apply_voltage_dependency_rules
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
