	.file	"extr_huawei-wmi.c_huawei_wmi_leds_setup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"SPIN"
.LC1:
	.string	"WPIN"
.LC2:
	.string	"platform::micmute"
.LC3:
	.string	"audio-micmute"
	.text
	.p2align 4
	.type	huawei_wmi_leds_setup, @function
huawei_wmi_leds_setup:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	dev_get_drvdata@PLT
	mov	rbx, rax
	xor	eax, eax
	call	ec_get_handle@PLT
	mov	DWORD PTR 56[rbx], eax
	test	eax, eax
	jne	.L12
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, eax
	lea	rsi, .LC0[rip]
	call	acpi_has_method@PLT
	test	rax, rax
	je	.L4
	lea	rax, .LC0[rip]
	mov	QWORD PTR [rbx], rax
.L5:
	lea	rax, .LC2[rip]
	mov	DWORD PTR 16[rbx], 1
	mov	edi, DWORD PTR LED_AUDIO_MICMUTE[rip]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR huawei_wmi_micmute_led_set[rip]
	mov	DWORD PTR 52[rbx], eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR 24[rbx], rax
	call	ledtrig_audio_get@PLT
	mov	QWORD PTR 40[rbx], rbp
	lea	rsi, 8[rbx]
	mov	rdi, rbp
	mov	DWORD PTR 48[rbx], eax
	mov	eax, DWORD PTR LED_CORE_SUSPENDRESUME[rip]
	mov	DWORD PTR 32[rbx], eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	devm_led_classdev_register@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 56[rbx]
	lea	rsi, .LC1[rip]
	call	acpi_has_method@PLT
	test	rax, rax
	je	.L3
	lea	rax, .LC1[rip]
	mov	QWORD PTR [rbx], rax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	huawei_wmi_leds_setup, .-huawei_wmi_leds_setup
	.comm	huawei_wmi_micmute_led_set,4,4
	.comm	LED_CORE_SUSPENDRESUME,4,4
	.comm	LED_AUDIO_MICMUTE,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_huawei-wmi.c_huawei_wmi_leds_setup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SPIN\000"
	.align	2
.LC1:
	.ascii	"WPIN\000"
	.align	2
.LC2:
	.ascii	"platform::micmute\000"
	.align	2
.LC3:
	.ascii	"audio-micmute\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	huawei_wmi_leds_setup, %function
huawei_wmi_leds_setup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	bl	dev_get_drvdata
	mov	r4, r0
	bl	ec_get_handle
	cmp	r0, #0
	str	r0, [r4, #32]
	bne	.L13
.L3:
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r6, .L14
	mov	r1, r6
	bl	acpi_has_method
	cmp	r0, #0
	beq	.L4
.L11:
	mov	r0, #1
	ldr	r3, .L14+4
	ldr	r1, .L14+8
	ldr	r3, [r3]
	ldr	r2, .L14+12
	str	r3, [r4, #28]
	ldr	r3, .L14+16
	str	r0, [r4, #8]
	str	r1, [r4, #4]
	ldr	r0, [r3]
	str	r6, [r4]
	str	r2, [r4, #12]
	bl	ledtrig_audio_get
	ldr	r3, .L14+20
	str	r0, [r4, #24]
	ldr	r3, [r3]
	mov	r0, r5
	str	r5, [r4, #20]
	str	r3, [r4, #16]
	add	r1, r4, #4
	pop	{r4, r5, r6, lr}
	b	devm_led_classdev_register
.L4:
	ldr	r6, .L14+24
	ldr	r0, [r4, #32]
	mov	r1, r6
	bl	acpi_has_method
	cmp	r0, #0
	bne	.L11
	b	.L3
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	huawei_wmi_micmute_led_set
	.word	.LC2
	.word	.LC3
	.word	LED_AUDIO_MICMUTE
	.word	LED_CORE_SUSPENDRESUME
	.word	.LC1
	.size	huawei_wmi_leds_setup, .-huawei_wmi_leds_setup
	.comm	huawei_wmi_micmute_led_set,4,4
	.comm	LED_CORE_SUSPENDRESUME,4,4
	.comm	LED_AUDIO_MICMUTE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
