	.file	"extr_rt2x00leds.c_rt2x00leds_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s-%s::radio"
.LC1:
	.string	"%s-%s::assoc"
.LC2:
	.string	"%s-%s::quality"
	.text
	.p2align 4
	.globl	rt2x00leds_register
	.type	rt2x00leds_register, @function
rt2x00leds_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 64
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 56[rdi]
	mov	edi, DWORD PTR [rax]
	call	wiphy_name@PLT
	mov	rbx, rax
	mov	eax, DWORD PTR LED_INITIALIZED[rip]
	test	DWORD PTR 0[rbp], eax
	jne	.L19
	test	DWORD PTR 40[rbp], eax
	jne	.L20
.L4:
	test	DWORD PTR 16[rbp], eax
	jne	.L5
.L8:
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L1
	mov	QWORD PTR [rsp], 70
	lea	rdx, 8[rsp]
	mov	rsi, rsp
	lea	rdi, 8[rbp]
	mov	QWORD PTR 8[rsp], 30
	call	rax
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 64
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L19:
	.cfi_restore_state
	mov	rax, QWORD PTR 32[rbp]
	lea	r12, 16[rsp]
	mov	esi, 36
	mov	r8, rbx
	lea	rdx, .LC0[rip]
	mov	rdi, r12
	mov	rcx, QWORD PTR [rax]
	call	snprintf@PLT
	mov	rdx, r12
	mov	rsi, rbp
	mov	rdi, rbp
	call	rt2x00leds_register_led@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR LED_INITIALIZED[rip]
	test	DWORD PTR 40[rbp], eax
	je	.L4
.L20:
	mov	rax, QWORD PTR 32[rbp]
	lea	r12, 16[rsp]
	mov	esi, 36
	mov	r8, rbx
	lea	rdx, .LC1[rip]
	mov	rdi, r12
	mov	rcx, QWORD PTR [rax]
	call	snprintf@PLT
	lea	rsi, 40[rbp]
	mov	rdx, r12
	mov	rdi, rbp
	call	rt2x00leds_register_led@PLT
	test	eax, eax
	jne	.L3
	mov	eax, DWORD PTR LED_INITIALIZED[rip]
	test	DWORD PTR 16[rbp], eax
	je	.L8
.L5:
	mov	rax, QWORD PTR 32[rbp]
	lea	r12, 16[rsp]
	mov	esi, 36
	mov	r8, rbx
	lea	rdx, .LC2[rip]
	mov	rdi, r12
	mov	rcx, QWORD PTR [rax]
	call	snprintf@PLT
	lea	rsi, 16[rbp]
	mov	rdx, r12
	mov	rdi, rbp
	call	rt2x00leds_register_led@PLT
	test	eax, eax
	je	.L8
.L3:
	mov	rdi, rbp
	call	rt2x00leds_unregister@PLT
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rt2x00leds_register, .-rt2x00leds_register
	.comm	LED_INITIALIZED,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_rt2x00leds.c_rt2x00leds_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s-%s::radio\000"
	.align	2
.LC1:
	.ascii	"%s-%s::assoc\000"
	.align	2
.LC2:
	.ascii	"%s-%s::quality\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rt2x00leds_register
	.syntax unified
	.arm
	.fpu softvfp
	.type	rt2x00leds_register, %function
rt2x00leds_register:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r0, #28]
	mov	r4, r0
	ldr	r2, .L22
	ldr	r0, [r3]
	sub	sp, sp, #56
	ldr	r2, [r2]
	str	r2, [sp, #52]
	mov	r2,#0
	bl	wiphy_name
	ldr	r6, .L22+4
	ldr	r2, [r4]
	ldr	r3, [r6]
	mov	r5, r0
	tst	r3, r2
	bne	.L19
	ldr	r2, [r4, #20]
	tst	r3, r2
	bne	.L20
.L4:
	ldr	r2, [r4, #8]
	tst	r3, r2
	bne	.L5
.L8:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L1
	mov	r1, #70
	mov	r2, #30
	str	r1, [sp, #8]
	str	r2, [sp, #12]
	add	r0, r4, #4
	add	r2, sp, #12
	add	r1, sp, #8
	blx	r3
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #56
	@ sp needed
	pop	{r4, r5, r6, pc}
.L19:
	ldr	r3, [r4, #16]
	mov	r1, #36
	ldr	r3, [r3]
	ldr	r2, .L22+8
	add	r0, sp, #16
	str	r5, [sp]
	bl	snprintf
	mov	r1, r4
	mov	r0, r4
	add	r2, sp, #16
	bl	rt2x00leds_register_led
	cmp	r0, #0
	bne	.L3
	ldr	r3, [r6]
	ldr	r2, [r4, #20]
	tst	r3, r2
	beq	.L4
.L20:
	ldr	r3, [r4, #16]
	mov	r1, #36
	ldr	r3, [r3]
	ldr	r2, .L22+12
	add	r0, sp, #16
	str	r5, [sp]
	bl	snprintf
	mov	r0, r4
	add	r2, sp, #16
	add	r1, r4, #20
	bl	rt2x00leds_register_led
	cmp	r0, #0
	bne	.L3
	ldr	r3, [r6]
	ldr	r2, [r4, #8]
	tst	r3, r2
	beq	.L8
.L5:
	ldr	r3, [r4, #16]
	mov	r1, #36
	ldr	r3, [r3]
	ldr	r2, .L22+16
	add	r0, sp, #16
	str	r5, [sp]
	bl	snprintf
	mov	r0, r4
	add	r2, sp, #16
	add	r1, r4, #8
	bl	rt2x00leds_register_led
	cmp	r0, #0
	beq	.L8
.L3:
	mov	r0, r4
	bl	rt2x00leds_unregister
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC3
	.word	LED_INITIALIZED
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	rt2x00leds_register, .-rt2x00leds_register
	.comm	LED_INITIALIZED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
