	.file	"extr_windfarm_pm91.c_wf_smu_new_control.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cpu-rear-fan-0"
.LC1:
	.string	"cpu-rear-fan-1"
.LC2:
	.string	"cpu-front-fan-0"
.LC3:
	.string	"cpufreq-clamp"
.LC4:
	.string	"drive-bay-fan"
.LC5:
	.string	"slots-fan"
	.text
	.p2align 4
	.type	wf_smu_new_control, @function
wf_smu_new_control:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR wf_smu_all_controls_ok[rip]
	test	eax, eax
	jne	.L25
	cmp	QWORD PTR fan_cpu_main[rip], 0
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	je	.L30
.L5:
	cmp	QWORD PTR fan_cpu_second[rip], 0
	je	.L31
.L8:
	cmp	QWORD PTR fan_cpu_third[rip], 0
	je	.L32
.L11:
	cmp	QWORD PTR cpufreq_clamp[rip], 0
	je	.L33
.L14:
	cmp	QWORD PTR fan_hd[rip], 0
	je	.L34
.L17:
	cmp	QWORD PTR fan_slots[rip], 0
	je	.L35
.L20:
	cmp	QWORD PTR fan_cpu_main[rip], 0
	je	.L1
	cmp	QWORD PTR fan_cpu_second[rip], 0
	je	.L36
.L23:
	cmp	QWORD PTR fan_hd[rip], 0
	je	.L1
	cmp	QWORD PTR fan_slots[rip], 0
	je	.L1
	cmp	QWORD PTR cpufreq_clamp[rip], 0
	je	.L1
	mov	DWORD PTR wf_smu_all_controls_ok[rip], 1
.L1:
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore 3
	ret
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	cmp	QWORD PTR fan_cpu_third[rip], 0
	jne	.L23
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L8
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L8
	mov	QWORD PTR fan_cpu_second[rip], rbx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L32:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L11
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L11
	mov	QWORD PTR fan_cpu_third[rip], rbx
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L30:
	mov	edi, DWORD PTR [rdi]
	lea	rsi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L5
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L5
	mov	QWORD PTR fan_cpu_main[rip], rbx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC5[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L20
	mov	QWORD PTR fan_slots[rip], rbx
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L33:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L14
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L14
	mov	QWORD PTR cpufreq_clamp[rip], rbx
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L34:
	mov	edi, DWORD PTR [rbx]
	lea	rsi, .LC4[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	rdi, rbx
	call	wf_get_control@PLT
	test	rax, rax
	jne	.L17
	mov	QWORD PTR fan_hd[rip], rbx
	jmp	.L17
	.cfi_endproc
.LFE0:
	.size	wf_smu_new_control, .-wf_smu_new_control
	.comm	wf_smu_all_controls_ok,4,4
	.comm	fan_slots,8,8
	.comm	fan_hd,8,8
	.comm	fan_cpu_third,8,8
	.comm	fan_cpu_second,8,8
	.comm	fan_cpu_main,8,8
	.comm	cpufreq_clamp,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_windfarm_pm91.c_wf_smu_new_control.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cpu-rear-fan-0\000"
	.align	2
.LC1:
	.ascii	"cpu-rear-fan-1\000"
	.align	2
.LC2:
	.ascii	"cpu-front-fan-0\000"
	.align	2
.LC3:
	.ascii	"cpufreq-clamp\000"
	.align	2
.LC4:
	.ascii	"drive-bay-fan\000"
	.align	2
.LC5:
	.ascii	"slots-fan\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	wf_smu_new_control, %function
wf_smu_new_control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, .L48
	ldr	r3, [r5]
	cmp	r3, #0
	popne	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r6, .L48+4
	mov	r4, r0
	ldr	r3, [r6]
	cmp	r3, #0
	beq	.L41
.L5:
	ldr	r7, .L48+8
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L42
.L8:
	ldr	fp, .L48+12
	ldr	r3, [fp]
	cmp	r3, #0
	beq	.L43
.L11:
	ldr	r10, .L48+16
	ldr	r3, [r10]
	cmp	r3, #0
	beq	.L44
.L14:
	ldr	r8, .L48+20
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L45
.L17:
	ldr	r9, .L48+24
	ldr	r3, [r9]
	cmp	r3, #0
	beq	.L46
.L20:
	ldr	r3, [r6]
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L47
.L23:
	ldr	r3, [r8]
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [r9]
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [r10]
	cmp	r3, #0
	movne	r3, #1
	strne	r3, [r5]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L47:
	ldr	r3, [fp]
	cmp	r3, #0
	bne	.L23
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L41:
	ldr	r1, .L48+28
	ldr	r0, [r0]
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [r6]
	b	.L5
.L42:
	ldr	r1, .L48+32
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	bne	.L8
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [r7]
	b	.L8
.L43:
	ldr	r1, .L48+36
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	bne	.L11
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [fp]
	b	.L11
.L44:
	ldr	r1, .L48+40
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	bne	.L14
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [r10]
	b	.L14
.L45:
	ldr	r1, .L48+44
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	bne	.L17
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [r8]
	b	.L17
.L46:
	ldr	r1, .L48+48
	ldr	r0, [r4]
	bl	strcmp
	cmp	r0, #0
	bne	.L20
	mov	r0, r4
	bl	wf_get_control
	cmp	r0, #0
	streq	r4, [r9]
	b	.L20
.L49:
	.align	2
.L48:
	.word	wf_smu_all_controls_ok
	.word	fan_cpu_main
	.word	fan_cpu_second
	.word	fan_cpu_third
	.word	cpufreq_clamp
	.word	fan_hd
	.word	fan_slots
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	wf_smu_new_control, .-wf_smu_new_control
	.comm	wf_smu_all_controls_ok,4,4
	.comm	fan_slots,4,4
	.comm	fan_hd,4,4
	.comm	fan_cpu_third,4,4
	.comm	fan_cpu_second,4,4
	.comm	fan_cpu_main,4,4
	.comm	cpufreq_clamp,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
