	.file	"extr_led.c_led_set.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	led_set
	.type	led_set, @function
led_set:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR PORTB[rip]
	mov	eax, DWORD PTR PORTD[rip]
	mov	r8d, DWORD PTR USB_LED_CAPS_LOCK[rip]
	mov	esi, DWORD PTR DDRB[rip]
	and	ecx, -2
	and	eax, -33
	mov	edx, DWORD PTR DDRD[rip]
	bt	edi, r8d
	jnc	.L2
	or	esi, 1
	or	edx, 32
	mov	DWORD PTR PORTB[rip], ecx
	mov	DWORD PTR DDRB[rip], esi
	mov	DWORD PTR DDRD[rip], edx
	mov	DWORD PTR PORTD[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	and	esi, -2
	and	edx, -33
	mov	DWORD PTR PORTB[rip], ecx
	mov	DWORD PTR DDRB[rip], esi
	mov	DWORD PTR DDRD[rip], edx
	mov	DWORD PTR PORTD[rip], eax
	ret
	.cfi_endproc
.LFE0:
	.size	led_set, .-led_set
	.comm	USB_LED_CAPS_LOCK,4,4
	.comm	PORTD,4,4
	.comm	PORTB,4,4
	.comm	DDRD,4,4
	.comm	DDRB,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_led_set.c"
	.text
	.align	2
	.global	led_set
	.syntax unified
	.arm
	.fpu softvfp
	.type	led_set, %function
led_set:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L6
	push	{r4, r5, lr}
	ldr	r3, [r3]
	ldr	lr, .L6+4
	ldr	ip, .L6+8
	ldr	r5, .L6+12
	ldr	r4, .L6+16
	asr	r0, r0, r3
	tst	r0, #1
	ldr	r1, [r4]
	ldr	r0, [r5]
	ldr	r2, [lr]
	ldr	r3, [ip]
	bic	r2, r2, #1
	bic	r3, r3, #32
	orrne	r0, r0, #1
	orrne	r1, r1, #32
	biceq	r0, r0, #1
	biceq	r1, r1, #32
	str	r0, [r5]
	str	r1, [r4]
	str	r2, [lr]
	str	r3, [ip]
	pop	{r4, r5, pc}
.L7:
	.align	2
.L6:
	.word	USB_LED_CAPS_LOCK
	.word	PORTB
	.word	PORTD
	.word	DDRB
	.word	DDRD
	.size	led_set, .-led_set
	.comm	USB_LED_CAPS_LOCK,4,4
	.comm	PORTD,4,4
	.comm	PORTB,4,4
	.comm	DDRD,4,4
	.comm	DDRB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
