	.file	"extr_msp3400-kthreads.c_msp34xxg_set_sources.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	msp34xxg_set_sources, @function
msp34xxg_set_sources:
.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
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	i2c_get_clientdata@PLT
	mov	edi, eax
	call	to_state@PLT
	mov	esi, 8
	mov	rdi, rbp
	mov	ebx, DWORD PTR [rax]
	mov	r12, rax
	mov	r13d, ebx
	sar	r13d, 4
	and	r13d, 15
	mov	edx, r13d
	call	msp34xxg_set_source@PLT
	mov	edx, r13d
	mov	esi, 12
	mov	rdi, rbp
	call	msp34xxg_set_source@PLT
	mov	edx, ebx
	mov	esi, 9
	mov	rdi, rbp
	sar	edx, 8
	and	edx, 15
	call	msp34xxg_set_source@PLT
	mov	edx, ebx
	mov	esi, 10
	mov	rdi, rbp
	sar	edx, 12
	and	edx, 15
	call	msp34xxg_set_source@PLT
	cmp	QWORD PTR 8[r12], 0
	jne	.L5
.L2:
	sar	ebx, 20
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	mov	esi, 11
	mov	edx, ebx
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	and	edx, 15
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	msp34xxg_set_source@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edx, ebx
	mov	esi, 65
	mov	rdi, rbp
	sar	edx, 16
	and	edx, 15
	call	msp34xxg_set_source@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	msp34xxg_set_sources, .-msp34xxg_set_sources
	.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_msp3400-kthreads.c_msp34xxg_set_sources.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	msp34xxg_set_sources, %function
msp34xxg_set_sources:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	bl	i2c_get_clientdata
	bl	to_state
	mov	r6, r0
	ldr	r5, [r0]
	mov	r1, #8
	asr	r7, r5, #4
	and	r7, r7, #15
	mov	r2, r7
	mov	r0, r4
	bl	msp34xxg_set_source
	mov	r2, r7
	mov	r1, #12
	mov	r0, r4
	bl	msp34xxg_set_source
	asr	r2, r5, #8
	mov	r1, #9
	and	r2, r2, #15
	mov	r0, r4
	bl	msp34xxg_set_source
	asr	r2, r5, #12
	mov	r0, r4
	mov	r1, #10
	and	r2, r2, #15
	bl	msp34xxg_set_source
	ldr	r3, [r6, #4]
	cmp	r3, #0
	bne	.L8
.L2:
	asr	r2, r5, #20
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	mov	r1, #11
	and	r2, r2, #15
	b	msp34xxg_set_source
.L8:
	asr	r2, r5, #16
	mov	r1, #65
	mov	r0, r4
	and	r2, r2, #15
	bl	msp34xxg_set_source
	b	.L2
	.size	msp34xxg_set_sources, .-msp34xxg_set_sources
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
