	.file	"extr_ipw2200.c_store_led.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"enter\n"
.LC1:
	.string	"Disabling LED control.\n"
.LC2:
	.string	"Enabling LED control.\n"
.LC3:
	.string	"exit\n"
	.text
	.p2align 4
	.type	store_led, @function
store_led:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdx
	call	dev_get_drvdata@PLT
	lea	rdi, .LC0[rip]
	mov	rbp, rax
	call	IPW_DEBUG_INFO@PLT
	test	r12, r12
	je	.L2
	cmp	BYTE PTR [rbx], 0
	je	.L10
	lea	rdi, .LC2[rip]
	call	IPW_DEBUG_LED@PLT
	mov	eax, DWORD PTR CFG_NO_LED[rip]
	mov	rdi, rbp
	not	eax
	and	DWORD PTR 0[rbp], eax
	call	ipw_led_init@PLT
.L4:
	lea	rdi, .LC3[rip]
	call	IPW_DEBUG_INFO@PLT
.L2:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC1[rip]
	call	IPW_DEBUG_LED@PLT
	mov	eax, DWORD PTR CFG_NO_LED[rip]
	or	DWORD PTR 0[rbp], eax
	mov	rdi, rbp
	call	ipw_led_shutdown@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	store_led, .-store_led
	.comm	CFG_NO_LED,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_ipw2200.c_store_led.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"enter\012\000"
	.align	2
.LC1:
	.ascii	"Disabling LED control.\012\000"
	.align	2
.LC2:
	.ascii	"Enabling LED control.\012\000"
	.align	2
.LC3:
	.ascii	"exit\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	store_led, %function
store_led:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r3
	mov	r6, r2
	bl	dev_get_drvdata
	mov	r5, r0
	ldr	r0, .L11
	bl	IPW_DEBUG_INFO
	cmp	r4, #0
	beq	.L2
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L11+4
	bl	IPW_DEBUG_LED
	ldr	r2, .L11+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r0, r5
	bic	r3, r3, r2
	str	r3, [r5]
	bl	ipw_led_init
.L4:
	ldr	r0, .L11+12
	bl	IPW_DEBUG_INFO
.L2:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r0, .L11+16
	bl	IPW_DEBUG_LED
	ldr	r2, .L11+8
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r0, r5
	orr	r3, r3, r2
	str	r3, [r5]
	bl	ipw_led_shutdown
	b	.L4
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC2
	.word	CFG_NO_LED
	.word	.LC3
	.word	.LC1
	.size	store_led, .-store_led
	.comm	CFG_NO_LED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
