	.file	"extr_dme1737.c_set_temp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown function %d.\n"
	.text
	.p2align 4
	.type	set_temp, @function
set_temp:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	dev_get_drvdata@PLT
	mov	rdi, r13
	mov	rbp, rax
	call	to_sensor_dev_attr_2@PLT
	mov	rdi, rbx
	xor	esi, esi
	mov	edx, 10
	mov	r13d, DWORD PTR 4[rax]
	mov	r15d, DWORD PTR [rax]
	call	simple_strtol@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	mutex_lock@PLT
	cmp	r13d, 129
	je	.L2
	cmp	r13d, 130
	je	.L3
	cmp	r13d, 128
	je	.L10
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	dev_dbg@PLT
.L6:
	mov	rdi, rbp
	call	mutex_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbp]
	movsx	r12, r15d
	mov	rdi, rbx
	lea	r13, [rax+r12*8]
	call	TEMP_TO_REG@PLT
	mov	edi, r15d
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	r12, QWORD PTR [rax+r12*8]
	call	DME1737_REG_TEMP_MIN@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	rdx, r12
	call	dme1737_write@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 8[rbp]
	movsx	r12, r15d
	mov	rdi, rbx
	lea	r13, [rax+r12*8]
	call	TEMP_TO_REG@PLT
	mov	edi, r15d
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	r12, QWORD PTR [rax+r12*8]
	call	DME1737_REG_TEMP_OFFSET@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	rdx, r12
	call	dme1737_write@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[rbp]
	movsx	r12, r15d
	mov	rdi, rbx
	lea	r13, [rax+r12*8]
	call	TEMP_TO_REG@PLT
	mov	edi, r15d
	mov	QWORD PTR 0[r13], rax
	mov	rax, QWORD PTR 16[rbp]
	mov	r12, QWORD PTR [rax+r12*8]
	call	DME1737_REG_TEMP_MAX@PLT
	mov	rdi, rbp
	mov	esi, eax
	mov	rdx, r12
	call	dme1737_write@PLT
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	set_temp, .-set_temp
	.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_dme1737.c_set_temp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown function %d.\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_temp, %function
set_temp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r7, r1
	mov	r5, r2
	mov	r6, r3
	mov	r8, r0
	bl	dev_get_drvdata
	mov	r4, r0
	mov	r0, r7
	bl	to_sensor_dev_attr_2
	mov	ip, r0
	mov	r2, #10
	mov	r0, r5
	mov	r1, #0
	ldr	r5, [ip, #4]
	ldr	r9, [ip]
	bl	simple_strtol
	mov	r7, r0
	mov	r0, r4
	bl	mutex_lock
	cmp	r5, #129
	beq	.L2
	cmp	r5, #130
	beq	.L3
	cmp	r5, #128
	beq	.L10
	mov	r2, r5
	mov	r0, r8
	ldr	r1, .L11
	bl	dev_dbg
.L6:
	mov	r0, r4
	bl	mutex_unlock
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, r7
	ldr	r5, [r4, #12]
	bl	TEMP_TO_REG
	str	r0, [r5, r9, lsl #2]
	mov	r0, r9
	bl	DME1737_REG_TEMP_MIN
	ldr	r3, [r4, #12]
	mov	r1, r0
	ldr	r2, [r3, r9, lsl #2]
	mov	r0, r4
	bl	dme1737_write
	b	.L6
.L10:
	mov	r0, r7
	ldr	r5, [r4, #4]
	bl	TEMP_TO_REG
	str	r0, [r5, r9, lsl #2]
	mov	r0, r9
	bl	DME1737_REG_TEMP_OFFSET
	ldr	r3, [r4, #4]
	mov	r1, r0
	ldr	r2, [r3, r9, lsl #2]
	mov	r0, r4
	bl	dme1737_write
	b	.L6
.L3:
	mov	r0, r7
	ldr	r5, [r4, #8]
	bl	TEMP_TO_REG
	str	r0, [r5, r9, lsl #2]
	mov	r0, r9
	bl	DME1737_REG_TEMP_MAX
	ldr	r3, [r4, #8]
	mov	r1, r0
	ldr	r2, [r3, r9, lsl #2]
	mov	r0, r4
	bl	dme1737_write
	b	.L6
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	set_temp, .-set_temp
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
