	.file	"extr_ot200_bl.c_ot200_backlight_remove.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ot200_backlight_remove, @function
ot200_backlight_remove:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR MFGPT_REG_COUNTER[rip]
	mov	edi, DWORD PTR pwm_timer[rip]
	xor	edx, edx
	call	cs5535_mfgpt_write@PLT
	mov	rdx, QWORD PTR MFGPT_SETUP_CNTEN[rip]
	mov	esi, DWORD PTR MFGPT_REG_SETUP[rip]
	mov	edi, DWORD PTR pwm_timer[rip]
	call	cs5535_mfgpt_write@PLT
	mov	rax, QWORD PTR dim_table[rip]
	mov	esi, DWORD PTR MFGPT_REG_CMP1[rip]
	mov	edi, DWORD PTR pwm_timer[rip]
	mov	rdx, QWORD PTR MAX_COMP2[rip]
	sub	rdx, QWORD PTR 800[rax]
	call	cs5535_mfgpt_write@PLT
	mov	edi, DWORD PTR pwm_timer[rip]
	call	cs5535_mfgpt_free_timer@PLT
	xor	eax, eax
	add	rsp, 8
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ot200_backlight_remove, .-ot200_backlight_remove
	.comm	pwm_timer,4,4
	.comm	dim_table,8,8
	.comm	MFGPT_SETUP_CNTEN,8,8
	.comm	MFGPT_REG_SETUP,4,4
	.comm	MFGPT_REG_COUNTER,4,4
	.comm	MFGPT_REG_CMP1,4,4
	.comm	MAX_COMP2,8,8
	.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_ot200_bl.c_ot200_backlight_remove.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ot200_backlight_remove, %function
ot200_backlight_remove:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	ldr	r3, .L4
	ldr	r4, .L4+4
	ldr	r1, [r3]
	mov	r2, #0
	ldr	r0, [r4]
	bl	cs5535_mfgpt_write
	ldr	r3, .L4+8
	ldr	r2, .L4+12
	ldr	r1, [r3]
	ldr	r0, [r4]
	ldr	r2, [r2]
	bl	cs5535_mfgpt_write
	ldr	r3, .L4+16
	ldr	r2, .L4+20
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r2, [r3, #400]
	ldr	r3, .L4+24
	sub	r2, r1, r2
	ldr	r0, [r4]
	ldr	r1, [r3]
	bl	cs5535_mfgpt_write
	ldr	r0, [r4]
	bl	cs5535_mfgpt_free_timer
	mov	r0, #0
	pop	{r4, pc}
.L5:
	.align	2
.L4:
	.word	MFGPT_REG_COUNTER
	.word	pwm_timer
	.word	MFGPT_REG_SETUP
	.word	MFGPT_SETUP_CNTEN
	.word	dim_table
	.word	MAX_COMP2
	.word	MFGPT_REG_CMP1
	.size	ot200_backlight_remove, .-ot200_backlight_remove
	.comm	pwm_timer,4,4
	.comm	dim_table,4,4
	.comm	MFGPT_SETUP_CNTEN,4,4
	.comm	MFGPT_REG_SETUP,4,4
	.comm	MFGPT_REG_COUNTER,4,4
	.comm	MFGPT_REG_CMP1,4,4
	.comm	MAX_COMP2,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
