	.file	"extr_led.c_rtl92se_sw_led_on.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"LedAddr:%X ledpin=%d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"switch case %#x not processed\n"
	.text
	.p2align 4
	.globl	rtl92se_sw_led_on
	.type	rtl92se_sw_led_on, @function
rtl92se_sw_led_on:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	rtl_priv@PLT
	mov	r9d, DWORD PTR [rbx]
	mov	r8d, DWORD PTR LEDCFG[rip]
	lea	rcx, .LC0[rip]
	mov	edx, DWORD PTR DBG_LOUD[rip]
	mov	esi, DWORD PTR COMP_LED[rip]
	mov	rdi, rax
	mov	rbp, rax
	call	RT_TRACE@PLT
	mov	esi, DWORD PTR LEDCFG[rip]
	mov	rdi, rbp
	call	rtl_read_byte@PLT
	mov	esi, DWORD PTR [rbx]
	cmp	esi, 129
	je	.L2
	cmp	esi, 130
	je	.L3
	cmp	esi, 128
	je	.L12
	lea	rdi, .LC1[rip]
	call	pr_err@PLT
.L3:
	mov	DWORD PTR 4[rbx], 1
	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
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	and	eax, 240
	mov	esi, DWORD PTR LEDCFG[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	rtl_write_byte@PLT
	mov	DWORD PTR 4[rbx], 1
	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
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	and	eax, 15
	mov	esi, DWORD PTR LEDCFG[rip]
	mov	rdi, rbp
	mov	edx, eax
	call	rtl_write_byte@PLT
	mov	DWORD PTR 4[rbx], 1
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	rtl92se_sw_led_on, .-rtl92se_sw_led_on
	.comm	LEDCFG,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_rtl92se_sw_led_on.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"LedAddr:%X ledpin=%d\012\000"
	.align	2
.LC1:
	.ascii	"switch case %#x not processed\012\000"
	.text
	.align	2
	.global	rtl92se_sw_led_on
	.syntax unified
	.arm
	.fpu softvfp
	.type	rtl92se_sw_led_on, %function
rtl92se_sw_led_on:
	@ 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
	bl	rtl_priv
	mov	r5, r0
	ldr	r6, .L13
	ldr	ip, [r4]
	ldr	r1, [r6]
	ldr	r3, .L13+4
	stm	sp, {r1, ip}
	ldr	r2, .L13+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r3, .L13+12
	bl	RT_TRACE
	ldr	r1, [r6]
	mov	r0, r5
	bl	rtl_read_byte
	ldr	r1, [r4]
	cmp	r1, #129
	beq	.L2
	cmp	r1, #130
	beq	.L3
	cmp	r1, #128
	beq	.L12
	ldr	r0, .L13+16
	bl	pr_err
.L3:
	mov	r3, #1
	str	r3, [r4, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	and	r2, r0, #240
	ldr	r1, [r6]
	mov	r0, r5
	bl	rtl_write_byte
	mov	r3, #1
	str	r3, [r4, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L12:
	and	r2, r0, #15
	ldr	r1, [r6]
	mov	r0, r5
	bl	rtl_write_byte
	mov	r3, #1
	str	r3, [r4, #4]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	LEDCFG
	.word	COMP_LED
	.word	DBG_LOUD
	.word	.LC0
	.word	.LC1
	.size	rtl92se_sw_led_on, .-rtl92se_sw_led_on
	.comm	LEDCFG,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
