	.file	"526396.c"
	.intel_syntax noprefix
	.text
	.type	kmalloc, @function
kmalloc:
.LFB0:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	__kmalloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	kmalloc, .-kmalloc
	.type	kzalloc, @function
kzalloc:
.LFB1:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	or	ah, -128
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, edx
	mov	edi, eax
	call	kmalloc
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	kzalloc, .-kzalloc
	.type	platform_get_drvdata, @function
platform_get_drvdata:
.LFB2:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 16
	mov	rdi, rax
	call	dev_get_drvdata@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	platform_get_drvdata, .-platform_get_drvdata
	.type	platform_set_drvdata, @function
platform_set_drvdata:
.LFB3:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	dev_set_drvdata@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	platform_set_drvdata, .-platform_set_drvdata
	.section	.rodata
.LC0:
	.string	"reading channel %d\n"
.LC1:
	.string	"<7>"
	.text
	.type	s3c_hwmon_read_ch, @function
s3c_hwmon_read_ch:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	mutex_lock_interruptible_nested@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L10
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L11
.L10:
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, edx
	lea	rdx, .LC0[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	dev_printk@PLT
	mov	edx, DWORD PTR -36[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	esi, edx
	mov	rdi, rax
	call	s3c_adc_read@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	mutex_unlock@PLT
	mov	eax, DWORD PTR -4[rbp]
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	s3c_hwmon_read_ch, .-s3c_hwmon_read_ch
	.type	s3c_hwmon_add_raw, @function
s3c_hwmon_add_raw:
.LFB5:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	s3c_hwmon_add_raw, .-s3c_hwmon_add_raw
	.type	s3c_hwmon_remove_raw, @function
s3c_hwmon_remove_raw:
.LFB6:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	s3c_hwmon_remove_raw, .-s3c_hwmon_remove_raw
	.section	.rodata
.LC2:
	.string	"%d\n"
	.text
	.type	s3c_hwmon_ch_show, @function
s3c_hwmon_ch_show:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -104[rbp], rdx
	mov	rax, QWORD PTR -96[rbp]
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, 8960
	mov	rdi, rax
	call	platform_get_drvdata
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	rax, QWORD PTR 280[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR 48[rax]
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	s3c_hwmon_read_ch
	mov	DWORD PTR -68[rbp], eax
	cmp	DWORD PTR -68[rbp], 0
	jns	.L17
	mov	eax, DWORD PTR -68[rbp]
	jmp	.L18
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -68[rbp]
	imul	eax, edx
	mov	DWORD PTR -68[rbp], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR -64[rbp]
	shr	eax
	mov	edx, eax
	mov	eax, DWORD PTR -68[rbp]
	add	eax, edx
	mov	edx, 0
	div	DWORD PTR -64[rbp]
	mov	DWORD PTR -68[rbp], eax
	mov	edx, DWORD PTR -68[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, edx
	lea	rdx, .LC2[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	s3c_hwmon_ch_show, .-s3c_hwmon_ch_show
	.section	.rodata
.LC3:
	.string	"%s\n"
	.text
	.type	s3c_hwmon_label_show, @function
s3c_hwmon_label_show:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR 280[rax]
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 48[rax]
	mov	rax, QWORD PTR -16[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 4096
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	s3c_hwmon_label_show, .-s3c_hwmon_label_show
	.section	.rodata
.LC4:
	.string	"in%d_input"
	.align 8
.LC5:
	.string	"failed to create input attribute\n"
.LC6:
	.string	"in%d_label"
	.align 8
.LC7:
	.string	"failed to create label attribute\n"
	.text
	.type	s3c_hwmon_create_attr, @function
s3c_hwmon_create_attr:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdi, 112[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	lea	rdx, .LC4[rip]
	mov	esi, 12
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 48[rax], edx
	call	ldv_sysfs
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 112[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 8[rax], 292
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, s3c_hwmon_ch_show[rip]
	mov	QWORD PTR 32[rax], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ldv_device_create_file_5
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L22
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
	mov	eax, DWORD PTR -12[rbp]
	jmp	.L23
.L22:
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -40[rbp]
	lea	rdi, 124[rax]
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	lea	rdx, .LC6[rip]
	mov	esi, 12
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 56
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -44[rbp]
	mov	DWORD PTR 48[rax], edx
	call	ldv_sysfs
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 124[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	WORD PTR 8[rax], 292
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, s3c_hwmon_label_show[rip]
	mov	QWORD PTR 32[rax], rdx
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	ldv_device_create_file_6
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -12[rbp], 0
	jns	.L24
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	device_remove_file@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
.L24:
	mov	eax, DWORD PTR -12[rbp]
.L23:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	s3c_hwmon_create_attr, .-s3c_hwmon_create_attr
	.type	s3c_hwmon_remove_attr, @function
s3c_hwmon_remove_attr:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	device_remove_file@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, 56[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	device_remove_file@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	s3c_hwmon_remove_attr, .-s3c_hwmon_remove_attr
	.section	.rodata
.LC8:
	.string	"no platform data supplied\n"
.LC9:
	.string	"no memory\n"
.LC10:
	.string	"&hwmon->lock"
.LC11:
	.string	"cannot register adc\n"
.LC12:
	.string	"error registering with hwmon\n"
	.align 8
.LC13:
	.string	"channel %d multiplier too large\n"
.LC14:
	.string	"channel %d divider zero\n"
.LC15:
	.string	"error creating channel %d\n"
	.text
	.type	s3c_hwmon_probe, @function
s3c_hwmon_probe:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR 296[rax]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -88[rbp], 0
	cmp	QWORD PTR -80[rbp], 0
	jne	.L28
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
	mov	eax, -22
	jmp	.L48
.L28:
	mov	esi, 208
	mov	edi, 800
	call	kzalloc
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L30
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
	mov	eax, -12
	jmp	.L48
.L30:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	platform_set_drvdata
	mov	rax, QWORD PTR -64[rbp]
	lea	rdx, -16[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	__mutex_init@PLT
	mov	rax, QWORD PTR -104[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	s3c_adc_register@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 168[rdx], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	rdi, rax
	call	IS_ERR
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L31
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	rdi, rax
	call	PTR_ERR
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L32
.L31:
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	mov	rdi, rax
	call	s3c_hwmon_add_raw
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	jne	.L52
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	mov	rdi, rax
	call	hwmon_device_register@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	QWORD PTR 176[rdx], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	rdi, rax
	call	IS_ERR
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L35
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	dev_err@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	rdi, rax
	call	PTR_ERR
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L36
.L35:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L37
.L56:
	nop
.L38:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -40[rbp], 0
	je	.L53
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 65535
	jbe	.L41
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	lea	rsi, .LC13[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	dev_warn@PLT
.L41:
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR 12[rax]
	test	eax, eax
	jne	.L42
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	lea	rsi, .LC14[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	dev_err@PLT
	jmp	.L40
.L42:
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 184[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	lea	rsi, [rcx+rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	rax, QWORD PTR [rax+rdx*8]
	mov	rdx, QWORD PTR -104[rbp]
	lea	rdi, 16[rdx]
	mov	edx, DWORD PTR -84[rbp]
	mov	ecx, edx
	mov	rdx, rsi
	mov	rsi, rax
	call	s3c_hwmon_create_attr
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], 0
	je	.L54
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, 16[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	lea	rsi, .LC15[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	dev_err@PLT
	sub	DWORD PTR -84[rbp], 1
	jmp	.L43
.L50:
.L44:
	mov	rax, QWORD PTR -64[rbp]
	lea	rcx, 184[rax]
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	mov	rsi, rdx
	mov	rdi, rax
	call	s3c_hwmon_remove_attr
	sub	DWORD PTR -84[rbp], 1
.L43:
	cmp	DWORD PTR -84[rbp], 0
	js	.L55
	jmp	.L50
.L53:
	nop
	jmp	.L40
.L54:
	nop
.L40:
	add	DWORD PTR -84[rbp], 1
.L37:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, 7
	jbe	.L56
	mov	eax, 0
	jmp	.L48
.L55:
	nop
.L46:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	rdi, rax
	call	hwmon_device_unregister@PLT
.L36:
	mov	rax, QWORD PTR -104[rbp]
	add	rax, 16
	mov	rdi, rax
	call	s3c_hwmon_remove_raw
	jmp	.L34
.L52:
	nop
.L34:
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	rdi, rax
	call	s3c_adc_release@PLT
.L32:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	kfree@PLT
	mov	eax, DWORD PTR -88[rbp]
.L48:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L49
	call	__stack_chk_fail@PLT
.L49:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	s3c_hwmon_probe, .-s3c_hwmon_probe
	.type	s3c_hwmon_remove, @function
s3c_hwmon_remove:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	platform_get_drvdata
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rdi, rax
	call	s3c_hwmon_remove_raw
	mov	DWORD PTR -20[rbp], 0
	jmp	.L58
.L63:
	nop
.L59:
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 184[rax]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 3
	lea	rdx, [rcx+rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	mov	rsi, rdx
	mov	rdi, rax
	call	s3c_hwmon_remove_attr
	add	DWORD PTR -20[rbp], 1
.L58:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	jbe	.L63
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 176[rax]
	mov	rdi, rax
	call	hwmon_device_unregister@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 168[rax]
	mov	rdi, rax
	call	s3c_adc_release@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	s3c_hwmon_remove, .-s3c_hwmon_remove
	.section	.rodata
.LC16:
	.string	"s3c-hwmon"
	.section	.data.rel,"aw"
	.align 32
	.type	s3c_hwmon_driver, @object
	.size	s3c_hwmon_driver, 160
s3c_hwmon_driver:
	.quad	s3c_hwmon_probe
	.quad	s3c_hwmon_remove
	.quad	0
	.quad	0
	.quad	0
	.quad	.LC16
	.quad	0
	.quad	__this_module
	.quad	0
	.byte	0
	.zero	7
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.quad	0
	.text
	.type	s3c_hwmon_init, @function
s3c_hwmon_init:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rdi, s3c_hwmon_driver[rip]
	call	platform_driver_register@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	s3c_hwmon_init, .-s3c_hwmon_init
	.type	s3c_hwmon_exit, @function
s3c_hwmon_exit:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, s3c_hwmon_driver[rip]
	call	platform_driver_unregister@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	s3c_hwmon_exit, .-s3c_hwmon_exit
	.globl	LDV_IN_INTERRUPT
	.bss
	.align 4
	.type	LDV_IN_INTERRUPT, @object
	.size	LDV_IN_INTERRUPT, 4
LDV_IN_INTERRUPT:
	.zero	4
	.text
	.globl	main
	.type	main, @function
main:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR LDV_IN_INTERRUPT[rip], 1
	call	ldv_initialize
	call	ldv_handler_precall@PLT
	call	s3c_hwmon_init
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L83
	jmp	.L71
.L87:
	nop
.L72:
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 0
	je	.L73
	cmp	DWORD PTR -16[rbp], 1
	je	.L74
	jmp	.L71
.L73:
	cmp	DWORD PTR -28[rbp], 0
	jne	.L84
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	s3c_hwmon_probe
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	ldv_check_return_value@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	ldv_check_return_value_probe@PLT
	cmp	DWORD PTR -12[rbp], 0
	jne	.L85
	add	DWORD PTR -28[rbp], 1
	jmp	.L84
.L74:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L86
	call	ldv_handler_precall@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	s3c_hwmon_remove
	mov	DWORD PTR -28[rbp], 0
	jmp	.L86
.L84:
	nop
	jmp	.L71
.L86:
	nop
.L79:
.L71:
	call	__VERIFIER_nondet_int@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L87
	cmp	DWORD PTR -28[rbp], 0
	jne	.L87
	jmp	.L78
.L85:
	nop
.L78:
	call	ldv_handler_precall@PLT
	call	s3c_hwmon_exit
	jmp	.L70
.L83:
	nop
.L70:
	call	ldv_check_final_state@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	main, .-main
	.type	PTR_ERR, @function
PTR_ERR:
.LFB16:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ldv_ptr_err
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	PTR_ERR, .-PTR_ERR
	.type	IS_ERR, @function
IS_ERR:
.LFB17:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ldv_is_err
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	IS_ERR, .-IS_ERR
	.globl	ldv_device_create_file_5
	.type	ldv_device_create_file_5, @function
ldv_device_create_file_5:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	ldv_device_create_file_5, .-ldv_device_create_file_5
	.globl	ldv_device_create_file_6
	.type	ldv_device_create_file_6, @function
ldv_device_create_file_6:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	ldv_device_create_file_6, .-ldv_device_create_file_6
	.type	ldv_error, @function
ldv_error:
.LFB20:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
.L97:
	mov	eax, 0
	call	__VERIFIER_error@PLT
	.cfi_endproc
.LFE20:
	.size	ldv_error, .-ldv_error
	.globl	ldv__builtin_expect
	.type	ldv__builtin_expect, @function
ldv__builtin_expect:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	ldv__builtin_expect, .-ldv__builtin_expect
	.globl	ldv_is_err
	.type	ldv_is_err, @function
ldv_is_err:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	cmp	rax, 2012
	seta	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	ldv_is_err, .-ldv_is_err
	.globl	ldv_err_ptr
	.type	ldv_err_ptr, @function
ldv_err_ptr:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, 2012
	sub	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	ldv_err_ptr, .-ldv_err_ptr
	.globl	ldv_ptr_err
	.type	ldv_ptr_err, @function
ldv_ptr_err:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rdx, QWORD PTR -8[rbp]
	mov	eax, 2012
	sub	rax, rdx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	ldv_ptr_err, .-ldv_ptr_err
	.globl	ldv_is_err_or_null
	.type	ldv_is_err_or_null, @function
ldv_is_err_or_null:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 24
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	jne	.L107
	mov	DWORD PTR -12[rbp], 1
	jmp	.L108
.L107:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	ldv_is_err
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L109
	mov	DWORD PTR -12[rbp], 1
	jmp	.L108
.L109:
	mov	DWORD PTR -12[rbp], 0
.L108:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	ldv_is_err_or_null, .-ldv_is_err_or_null
	.globl	ldv_count_1
	.bss
	.align 4
	.type	ldv_count_1, @object
	.size	ldv_count_1, 4
ldv_count_1:
	.zero	4
	.globl	ldv_count_2
	.align 4
	.type	ldv_count_2, @object
	.size	ldv_count_2, 4
ldv_count_2:
	.zero	4
	.text
	.globl	ldv_sysfs
	.type	ldv_sysfs, @function
ldv_sysfs:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR ldv_count_1[rip]
	add	eax, 1
	mov	DWORD PTR ldv_count_1[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	ldv_sysfs, .-ldv_sysfs
	.globl	ldv_call_dev_attr_of_sensor_device_attribute
	.bss
	.align 4
	.type	ldv_call_dev_attr_of_sensor_device_attribute, @object
	.size	ldv_call_dev_attr_of_sensor_device_attribute, 4
ldv_call_dev_attr_of_sensor_device_attribute:
	.zero	4
	.text
	.globl	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	.type	ldv_device_create_file_dev_attr_of_sensor_device_attribute, @function
ldv_device_create_file_dev_attr_of_sensor_device_attribute:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR ldv_call_dev_attr_of_sensor_device_attribute[rip]
	test	eax, eax
	jne	.L114
	mov	eax, DWORD PTR ldv_count_2[rip]
	add	eax, 1
	mov	DWORD PTR ldv_count_2[rip], eax
	mov	DWORD PTR ldv_call_dev_attr_of_sensor_device_attribute[rip], 1
	mov	edx, DWORD PTR ldv_count_1[rip]
	mov	eax, DWORD PTR ldv_count_2[rip]
	cmp	edx, eax
	jge	.L114
	call	ldv_error
.L114:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	ldv_device_create_file_dev_attr_of_sensor_device_attribute, .-ldv_device_create_file_dev_attr_of_sensor_device_attribute
	.globl	ldv_initialize
	.type	ldv_initialize, @function
ldv_initialize:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	ldv_initialize, .-ldv_initialize
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"526396.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kmalloc, %function
kmalloc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	__kmalloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kmalloc, .-kmalloc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kzalloc, %function
kzalloc:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	orr	r3, r3, #32768
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	kmalloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	kzalloc, .-kzalloc
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	platform_get_drvdata, %function
platform_get_drvdata:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	mov	r0, r3
	bl	dev_get_drvdata
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	platform_get_drvdata, .-platform_get_drvdata
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	platform_set_drvdata, %function
platform_set_drvdata:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #8
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	dev_set_drvdata
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	platform_set_drvdata, .-platform_set_drvdata
	.section	.rodata
	.align	2
.LC0:
	.ascii	"reading channel %d\012\000"
	.align	2
.LC1:
	.ascii	"<7>\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_read_ch, %function
s3c_hwmon_read_ch:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	mov	r1, #0
	mov	r0, r3
	bl	mutex_lock_interruptible_nested
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L10
	ldr	r3, [fp, #-8]
	b	.L11
.L10:
	ldr	r3, [fp, #-24]
	ldr	r2, .L12
	ldr	r1, [fp, #-16]
	ldr	r0, .L12+4
	bl	dev_printk
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #88]
	ldr	r2, [fp, #-24]
	mov	r1, r2
	mov	r0, r3
	bl	s3c_adc_read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	mutex_unlock
	ldr	r3, [fp, #-8]
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.size	s3c_hwmon_read_ch, .-s3c_hwmon_read_ch
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_add_raw, %function
s3c_hwmon_add_raw:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	s3c_hwmon_add_raw, .-s3c_hwmon_add_raw
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_remove_raw, %function
s3c_hwmon_remove_raw:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	s3c_hwmon_remove_raw, .-s3c_hwmon_remove_raw
	.global	__aeabi_uidiv
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_ch_show, %function
s3c_hwmon_ch_show:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-36]
	sub	r3, r3, #4992
	mov	r0, r3
	bl	platform_get_drvdata
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3, #148]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-40]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #28]
	mov	r2, r3
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-48]
	bl	s3c_hwmon_read_ch
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L19
	ldr	r3, [fp, #-16]
	b	.L20
.L19:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsr	r2, r3, #1
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	__aeabi_uidiv
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	ldr	r2, .L21
	mov	r1, #4096
	ldr	r0, [fp, #-56]
	bl	snprintf
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC2
	.size	s3c_hwmon_ch_show, .-s3c_hwmon_ch_show
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_label_show, %function
s3c_hwmon_label_show:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	ldr	r3, [r3, #148]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r2, .L25
	mov	r1, #4096
	ldr	r0, [fp, #-40]
	bl	snprintf
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.size	s3c_hwmon_label_show, .-s3c_hwmon_label_show
	.section	.rodata
	.align	2
.LC4:
	.ascii	"in%d_input\000"
	.align	2
.LC5:
	.ascii	"failed to create input attribute\012\000"
	.align	2
.LC6:
	.ascii	"in%d_label\000"
	.align	2
.LC7:
	.ascii	"failed to create label attribute\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_create_attr, %function
s3c_hwmon_create_attr:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r0, r3, #64
	ldr	r3, [fp, #-28]
	ldr	r2, .L31
	mov	r1, #12
	bl	snprintf
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #28]
	bl	ldv_sysfs
	ldr	r3, [fp, #-24]
	add	r2, r3, #64
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #292
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-8]
	ldr	r2, .L31+4
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	ldv_device_create_file_5
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L28
	ldr	r1, .L31+8
	ldr	r0, [fp, #-16]
	bl	dev_err
	ldr	r3, [fp, #-12]
	b	.L29
.L28:
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-24]
	add	r0, r3, #76
	ldr	r3, [fp, #-28]
	ldr	r2, .L31+12
	mov	r1, #12
	bl	snprintf
	ldr	r3, [fp, #-24]
	add	r3, r3, #32
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	str	r2, [r3, #28]
	bl	ldv_sysfs
	ldr	r3, [fp, #-24]
	add	r2, r3, #76
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #292
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, [fp, #-8]
	ldr	r2, .L31+16
	str	r2, [r3, #20]
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	ldv_device_create_file_6
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L30
	ldr	r3, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	device_remove_file
	ldr	r1, .L31+20
	ldr	r0, [fp, #-16]
	bl	dev_err
.L30:
	ldr	r3, [fp, #-12]
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC4
	.word	s3c_hwmon_ch_show
	.word	.LC5
	.word	.LC6
	.word	s3c_hwmon_label_show
	.word	.LC7
	.size	s3c_hwmon_create_attr, .-s3c_hwmon_create_attr
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_remove_attr, %function
s3c_hwmon_remove_attr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	device_remove_file
	ldr	r3, [fp, #-12]
	add	r3, r3, #32
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	device_remove_file
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	s3c_hwmon_remove_attr, .-s3c_hwmon_remove_attr
	.section	.rodata
	.align	2
.LC8:
	.ascii	"no platform data supplied\012\000"
	.align	2
.LC9:
	.ascii	"no memory\012\000"
	.align	2
.LC10:
	.ascii	"&hwmon->lock\000"
	.align	2
.LC11:
	.ascii	"cannot register adc\012\000"
	.align	2
.LC12:
	.ascii	"error registering with hwmon\012\000"
	.align	2
.LC13:
	.ascii	"channel %d multiplier too large\012\000"
	.align	2
.LC14:
	.ascii	"channel %d divider zero\012\000"
	.align	2
.LC15:
	.ascii	"error creating channel %d\012\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_probe, %function
s3c_hwmon_probe:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-64]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	ldr	r3, [r3, #156]
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L36
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r1, .L65+4
	mov	r0, r3
	bl	dev_err
	mvn	r3, #21
	b	.L56
.L36:
	mov	r1, #208
	mov	r0, #800
	bl	kzalloc
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	bne	.L38
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r1, .L65+8
	mov	r0, r3
	bl	dev_err
	mvn	r3, #11
	b	.L56
.L38:
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-64]
	bl	platform_set_drvdata
	ldr	r3, [fp, #-40]
	sub	r2, fp, #16
	ldr	r1, .L65+12
	mov	r0, r3
	bl	__mutex_init
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-64]
	bl	s3c_adc_register
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #88]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #88]
	mov	r0, r3
	bl	IS_ERR
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L39
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r1, .L65+16
	mov	r0, r3
	bl	dev_err
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #88]
	mov	r0, r3
	bl	PTR_ERR
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-56]
	b	.L40
.L39:
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	mov	r0, r3
	bl	s3c_hwmon_add_raw
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	bne	.L60
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	mov	r0, r3
	bl	hwmon_device_register
	mov	r2, r0
	ldr	r3, [fp, #-40]
	str	r2, [r3, #92]
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #92]
	mov	r0, r3
	bl	IS_ERR
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r1, .L65+20
	mov	r0, r3
	bl	dev_err
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #92]
	mov	r0, r3
	bl	PTR_ERR
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-56]
	b	.L44
.L43:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L45
.L64:
	nop
.L46:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L61
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #4]
	cmp	r3, #65536
	bcc	.L49
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r2, [fp, #-52]
	ldr	r1, .L65+24
	mov	r0, r3
	bl	dev_warn
.L49:
	ldr	r3, [fp, #-28]
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L50
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r2, [fp, #-52]
	ldr	r1, .L65+28
	mov	r0, r3
	bl	dev_err
	b	.L48
.L50:
	ldr	r3, [fp, #-64]
	add	r0, r3, #8
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-52]
	ldr	ip, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	add	r1, r3, #96
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r2, r1, r3
	ldr	r3, [fp, #-52]
	mov	r1, ip
	bl	s3c_hwmon_create_attr
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L62
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	ldr	r2, [fp, #-52]
	ldr	r1, .L65+32
	mov	r0, r3
	bl	dev_err
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	b	.L51
.L58:
.L52:
	ldr	r3, [fp, #-64]
	add	r0, r3, #8
	ldr	r3, [fp, #-40]
	add	r1, r3, #96
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r1, r3
	bl	s3c_hwmon_remove_attr
	ldr	r3, [fp, #-52]
	sub	r3, r3, #1
	str	r3, [fp, #-52]
.L51:
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	blt	.L63
	b	.L58
.L61:
	nop
	b	.L48
.L62:
	nop
.L48:
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L45:
	ldr	r3, [fp, #-52]
	cmp	r3, #7
	bls	.L64
	mov	r3, #0
	b	.L56
.L63:
	nop
.L54:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #92]
	mov	r0, r3
	bl	hwmon_device_unregister
.L44:
	ldr	r3, [fp, #-64]
	add	r3, r3, #8
	mov	r0, r3
	bl	s3c_hwmon_remove_raw
	b	.L42
.L60:
	nop
.L42:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #88]
	mov	r0, r3
	bl	s3c_adc_release
.L40:
	ldr	r0, [fp, #-40]
	bl	kfree
	ldr	r3, [fp, #-56]
.L56:
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC16
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	s3c_hwmon_probe, .-s3c_hwmon_probe
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_remove, %function
s3c_hwmon_remove:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r0, [fp, #-24]
	bl	platform_get_drvdata
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	mov	r0, r3
	bl	s3c_hwmon_remove_raw
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L68
.L73:
	nop
.L69:
	ldr	r3, [fp, #-24]
	add	r0, r3, #8
	ldr	r3, [fp, #-8]
	add	r1, r3, #96
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r1, r3
	bl	s3c_hwmon_remove_attr
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L68:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	bls	.L73
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #92]
	mov	r0, r3
	bl	hwmon_device_unregister
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #88]
	mov	r0, r3
	bl	s3c_adc_release
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	s3c_hwmon_remove, .-s3c_hwmon_remove
	.section	.rodata
	.align	2
.LC17:
	.ascii	"s3c-hwmon\000"
	.data
	.align	2
	.type	s3c_hwmon_driver, %object
	.size	s3c_hwmon_driver, 80
s3c_hwmon_driver:
	.word	s3c_hwmon_probe
	.word	s3c_hwmon_remove
	.word	0
	.word	0
	.word	0
	.word	.LC17
	.word	0
	.word	__this_module
	.word	0
	.byte	0
	.space	3
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.word	0
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_init, %function
s3c_hwmon_init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L76
	bl	platform_driver_register
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L77:
	.align	2
.L76:
	.word	s3c_hwmon_driver
	.size	s3c_hwmon_init, .-s3c_hwmon_init
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	s3c_hwmon_exit, %function
s3c_hwmon_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L80
	bl	platform_driver_unregister
	nop
	pop	{fp, pc}
.L81:
	.align	2
.L80:
	.word	s3c_hwmon_driver
	.size	s3c_hwmon_exit, .-s3c_hwmon_exit
	.comm	LDV_IN_INTERRUPT,4,4
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	mov	r3, #0
	str	r3, [fp, #-28]
	ldr	r3, .L101
	mov	r2, #1
	str	r2, [r3]
	bl	ldv_initialize
	bl	ldv_handler_precall
	bl	s3c_hwmon_init
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L98
	b	.L85
.L100:
	nop
.L86:
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L87
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L88
	b	.L97
.L87:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L85
	ldr	r0, [fp, #-12]
	bl	s3c_hwmon_probe
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	ldv_check_return_value
	ldr	r0, [fp, #-8]
	bl	ldv_check_return_value_probe
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L99
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	b	.L85
.L88:
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	bne	.L85
	bl	ldv_handler_precall
	ldr	r0, [fp, #-12]
	bl	s3c_hwmon_remove
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L85
.L97:
	nop
.L85:
.L94:
	bl	__VERIFIER_nondet_int
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L100
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L100
	b	.L92
.L99:
	nop
.L92:
	bl	ldv_handler_precall
	bl	s3c_hwmon_exit
	b	.L84
.L98:
	nop
.L84:
	bl	ldv_check_final_state
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	LDV_IN_INTERRUPT
	.size	main, .-main
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PTR_ERR, %function
PTR_ERR:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	ldv_ptr_err
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	PTR_ERR, .-PTR_ERR
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	IS_ERR, %function
IS_ERR:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	ldv_is_err
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	IS_ERR, .-IS_ERR
	.align	2
	.global	ldv_device_create_file_5
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_device_create_file_5, %function
ldv_device_create_file_5:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ldv_device_create_file_5, .-ldv_device_create_file_5
	.align	2
	.global	ldv_device_create_file_6
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_device_create_file_6, %function
ldv_device_create_file_6:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ldv_device_create_file_6, .-ldv_device_create_file_6
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_error, %function
ldv_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
.L112:
	bl	__VERIFIER_error
	.size	ldv_error, .-ldv_error
	.align	2
	.global	ldv__builtin_expect
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv__builtin_expect, %function
ldv__builtin_expect:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ldv__builtin_expect, .-ldv__builtin_expect
	.align	2
	.global	ldv_is_err
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_is_err, %function
ldv_is_err:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L117
	cmp	r3, r2
	movhi	r3, #1
	movls	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L118:
	.align	2
.L117:
	.word	2012
	.size	ldv_is_err, .-ldv_is_err
	.align	2
	.global	ldv_err_ptr
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_err_ptr, %function
ldv_err_ptr:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #2000
	add	r3, r3, #12
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ldv_err_ptr, .-ldv_err_ptr
	.align	2
	.global	ldv_ptr_err
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_ptr_err, %function
ldv_ptr_err:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	rsb	r3, r3, #2000
	add	r3, r3, #12
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ldv_ptr_err, .-ldv_ptr_err
	.align	2
	.global	ldv_is_err_or_null
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_is_err_or_null, %function
ldv_is_err_or_null:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L124
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L125
.L124:
	ldr	r0, [fp, #-16]
	bl	ldv_is_err
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L126
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L125
.L126:
	mov	r3, #0
	str	r3, [fp, #-12]
.L125:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	ldv_is_err_or_null, .-ldv_is_err_or_null
	.global	ldv_count_1
	.bss
	.align	2
	.type	ldv_count_1, %object
	.size	ldv_count_1, 4
ldv_count_1:
	.space	4
	.global	ldv_count_2
	.align	2
	.type	ldv_count_2, %object
	.size	ldv_count_2, 4
ldv_count_2:
	.space	4
	.text
	.align	2
	.global	ldv_sysfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_sysfs, %function
ldv_sysfs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L130
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L130
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L131:
	.align	2
.L130:
	.word	ldv_count_1
	.size	ldv_sysfs, .-ldv_sysfs
	.global	ldv_call_dev_attr_of_sensor_device_attribute
	.bss
	.align	2
	.type	ldv_call_dev_attr_of_sensor_device_attribute, %object
	.size	ldv_call_dev_attr_of_sensor_device_attribute, 4
ldv_call_dev_attr_of_sensor_device_attribute:
	.space	4
	.text
	.align	2
	.global	ldv_device_create_file_dev_attr_of_sensor_device_attribute
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_device_create_file_dev_attr_of_sensor_device_attribute, %function
ldv_device_create_file_dev_attr_of_sensor_device_attribute:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L135
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L133
	ldr	r3, .L135+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L135+4
	str	r3, [r2]
	ldr	r3, .L135
	mov	r2, #1
	str	r2, [r3]
	ldr	r3, .L135+8
	ldr	r2, [r3]
	ldr	r3, .L135+4
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L133
	bl	ldv_error
.L133:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L136:
	.align	2
.L135:
	.word	ldv_call_dev_attr_of_sensor_device_attribute
	.word	ldv_count_2
	.word	ldv_count_1
	.size	ldv_device_create_file_dev_attr_of_sensor_device_attribute, .-ldv_device_create_file_dev_attr_of_sensor_device_attribute
	.align	2
	.global	ldv_initialize
	.syntax unified
	.arm
	.fpu softvfp
	.type	ldv_initialize, %function
ldv_initialize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ldv_initialize, .-ldv_initialize
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
