	.file	"extr_led.c_rtl92de_led_control.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ledaction %d,\n"
	.text
	.p2align 4
	.globl	rtl92de_led_control
	.type	rtl92de_led_control, @function
rtl92de_led_control:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, esi
	call	rtl_priv@PLT
	mov	rdi, r12
	mov	r13, rax
	call	rtl_priv@PLT
	mov	rdi, rax
	call	rtl_psc@PLT
	mov	rdx, QWORD PTR RF_CHANGE_BY_PS[rip]
	cmp	QWORD PTR [rax], rdx
	jle	.L2
	cmp	DWORD PTR LED_CTL_TX[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_RX[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_SITE_SURVEY[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_LINK[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_NO_LINK[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_START_TO_LINK[rip], ebp
	je	.L1
	cmp	DWORD PTR LED_CTL_POWER_ON[rip], ebp
	je	.L1
.L2:
	mov	esi, DWORD PTR COMP_LED[rip]
	mov	edx, DWORD PTR DBG_LOUD[rip]
	mov	rdi, r13
	mov	r8d, ebp
	lea	rcx, .LC0[rip]
	call	RT_TRACE@PLT
	mov	esi, ebp
	mov	rdi, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	_rtl92ce_sw_led_control@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtl92de_led_control, .-rtl92de_led_control
	.comm	RF_CHANGE_BY_PS,8,8
	.comm	LED_CTL_TX,4,4
	.comm	LED_CTL_START_TO_LINK,4,4
	.comm	LED_CTL_SITE_SURVEY,4,4
	.comm	LED_CTL_RX,4,4
	.comm	LED_CTL_POWER_ON,4,4
	.comm	LED_CTL_NO_LINK,4,4
	.comm	LED_CTL_LINK,4,4
	.comm	DBG_LOUD,4,4
	.comm	COMP_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_led.c_rtl92de_led_control.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ledaction %d,\012\000"
	.text
	.align	2
	.global	rtl92de_led_control
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl92de_led_control, %function
rtl92de_led_control:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #8
	mov	r4, r1
	mov	r5, r0
	bl	rtl_priv
	mov	r6, r0
	mov	r0, r5
	bl	rtl_priv
	bl	rtl_psc
	ldr	r3, .L6
	ldr	r2, [r0]
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L2
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+8
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+12
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+16
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+20
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+24
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
	ldr	r3, .L6+28
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L1
.L2:
	ldr	r3, .L6+32
	ldr	r2, .L6+36
	str	r4, [sp]
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r2, [r2]
	ldr	r3, .L6+40
	bl	RT_TRACE
	mov	r1, r4
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	_rtl92ce_sw_led_control
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	RF_CHANGE_BY_PS
	.word	LED_CTL_TX
	.word	LED_CTL_RX
	.word	LED_CTL_SITE_SURVEY
	.word	LED_CTL_LINK
	.word	LED_CTL_NO_LINK
	.word	LED_CTL_START_TO_LINK
	.word	LED_CTL_POWER_ON
	.word	COMP_LED
	.word	DBG_LOUD
	.word	.LC0
	.size	rtl92de_led_control, .-rtl92de_led_control
	.comm	RF_CHANGE_BY_PS,4,4
	.comm	LED_CTL_TX,4,4
	.comm	LED_CTL_START_TO_LINK,4,4
	.comm	LED_CTL_SITE_SURVEY,4,4
	.comm	LED_CTL_RX,4,4
	.comm	LED_CTL_POWER_ON,4,4
	.comm	LED_CTL_NO_LINK,4,4
	.comm	LED_CTL_LINK,4,4
	.comm	DBG_LOUD,4,4
	.comm	COMP_LED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
