	.file	"extr_usbled.c_change_color.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"out of memory\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"blue = %d, red = %d, green = %d, color = %.2x\n"
	.section	.rodata.str1.1
.LC2:
	.string	"retval = %d\n"
	.text
	.p2align 4
	.type	change_color, @function
change_color:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	edi, 8
	call	kmalloc@PLT
	test	rax, rax
	je	.L20
	mov	rdx, QWORD PTR 24[rbx]
	mov	r12, rax
	mov	r9d, 7
	test	rdx, rdx
	je	.L3
	movzx	r9d, BYTE PTR BLUE[rip]
	not	r9d
	and	r9d, 7
.L3:
	mov	rcx, QWORD PTR 16[rbx]
	test	rcx, rcx
	je	.L4
	movzx	eax, BYTE PTR RED[rip]
	not	eax
	and	r9d, eax
.L4:
	mov	r8, QWORD PTR 8[rbx]
	test	r8, r8
	jne	.L21
.L5:
	mov	rdi, QWORD PTR [rbx]
	movzx	ebp, r9b
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	r9d, ebp
	call	dev_dbg@PLT
	mov	rdi, QWORD PTR [rbx]
	xor	esi, esi
	call	usb_sndctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rdi, QWORD PTR [rbx]
	mov	r9d, ebp
	push	2000
	.cfi_def_cfa_offset 48
	mov	esi, eax
	mov	r8d, 522
	mov	ecx, 200
	push	8
	.cfi_def_cfa_offset 56
	mov	edx, 18
	push	r12
	.cfi_def_cfa_offset 64
	call	usb_control_msg@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 32
	test	eax, eax
	jne	.L22
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L21:
	.cfi_restore_state
	movzx	eax, BYTE PTR GREEN[rip]
	not	eax
	and	r9d, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, QWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC2[rip]
	xor	eax, eax
	call	dev_dbg@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	kfree@PLT
	.p2align 4,,10
	.p2align 3
.L20:
	.cfi_restore_state
	mov	rdi, QWORD PTR [rbx]
	lea	rsi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	dev_err@PLT
	.cfi_endproc
.LFE0:
	.size	change_color, .-change_color
	.comm	RED,1,1
	.comm	GREEN,1,1
	.comm	GFP_KERNEL,4,4
	.comm	BLUE,1,1
	.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_usbled.c_change_color.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"out of memory\012\000"
	.align	2
.LC1:
	.ascii	"blue = %d, red = %d, green = %d, color = %.2x\012\000"
	.align	2
.LC2:
	.ascii	"retval = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	change_color, %function
change_color:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L21
	mov	r4, r0
	ldr	r1, [r3]
	mov	r0, #8
	sub	sp, sp, #28
	bl	kmalloc
	subs	r6, r0, #0
	beq	.L19
	ldr	r2, [r4, #12]
	cmp	r2, #0
	ldrne	r3, .L21+4
	moveq	r5, #7
	ldrbne	r5, [r3]	@ zero_extendqisi2
	ldr	r3, [r4, #8]
	mvnne	r5, r5
	andne	r5, r5, #7
	cmp	r3, #0
	ldrne	r1, .L21+8
	ldrbne	r1, [r1]	@ zero_extendqisi2
	bicne	r5, r5, r1
	ldr	r1, [r4, #4]
	cmp	r1, #0
	ldrne	r0, .L21+12
	ldrbne	r0, [r0]	@ zero_extendqisi2
	bicne	r5, r5, r0
	stm	sp, {r1, r5}
	ldr	r1, .L21+16
	ldr	r0, [r4]
	bl	dev_dbg
	ldr	r7, [r4]
	mov	r1, #0
	mov	r0, r7
	bl	usb_sndctrlpipe
	mov	ip, #2000
	mov	r2, #8
	ldr	r3, .L21+20
	mov	r1, r0
	str	r2, [sp, #12]
	str	r3, [sp]
	mov	r2, #18
	mov	r0, r7
	mov	r3, #200
	stmib	sp, {r5, r6}
	str	ip, [sp, #16]
	bl	usb_control_msg
	subs	r2, r0, #0
	bne	.L20
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	kfree
.L20:
	ldr	r0, [r4]
	ldr	r1, .L21+24
	bl	dev_dbg
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	kfree
.L19:
	ldr	r0, [r4]
	ldr	r1, .L21+28
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	dev_err
.L22:
	.align	2
.L21:
	.word	GFP_KERNEL
	.word	BLUE
	.word	RED
	.word	GREEN
	.word	.LC1
	.word	522
	.word	.LC2
	.word	.LC0
	.size	change_color, .-change_color
	.comm	RED,1,1
	.comm	GREEN,1,1
	.comm	GFP_KERNEL,4,4
	.comm	BLUE,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
