	.file	"extr_thinkpad_acpi.c_led_exit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	led_exit, @function
led_exit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR TPACPI_LED_NUMLEDS[rip]
	mov	r8, QWORD PTR tpacpi_leds[rip]
	test	eax, eax
	je	.L7
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	xor	ebx, ebx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	add	ebx, 1
	cmp	DWORD PTR TPACPI_LED_NUMLEDS[rip], ebx
	jbe	.L11
.L4:
	mov	eax, ebx
	lea	rdi, [r8+rax*8]
	cmp	QWORD PTR [rdi], 0
	je	.L3
	call	led_classdev_unregister@PLT
	add	ebx, 1
	cmp	DWORD PTR TPACPI_LED_NUMLEDS[rip], ebx
	mov	r8, QWORD PTR tpacpi_leds[rip]
	ja	.L4
.L11:
	mov	rdi, r8
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdi, r8
	jmp	kfree@PLT
	.cfi_endproc
.LFE0:
	.size	led_exit, .-led_exit
	.comm	tpacpi_leds,8,8
	.comm	TPACPI_LED_NUMLEDS,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_thinkpad_acpi.c_led_exit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	led_exit, %function
led_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L14
	ldr	r6, .L14+4
	ldr	r2, [r5]
	ldr	r3, [r6]
	cmp	r2, #0
	beq	.L2
	mov	r4, #0
	b	.L4
.L3:
	ldr	r2, [r5]
	cmp	r2, r4
	bls	.L2
.L4:
	ldr	r2, [r3, r4, lsl #2]
	add	r0, r3, r4, lsl #2
	cmp	r2, #0
	add	r4, r4, #1
	beq	.L3
	bl	led_classdev_unregister
	ldr	r2, [r5]
	ldr	r3, [r6]
	cmp	r2, r4
	bhi	.L4
.L2:
	pop	{r4, r5, r6, lr}
	mov	r0, r3
	b	kfree
.L15:
	.align	2
.L14:
	.word	TPACPI_LED_NUMLEDS
	.word	tpacpi_leds
	.size	led_exit, .-led_exit
	.comm	tpacpi_leds,4,4
	.comm	TPACPI_LED_NUMLEDS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
