	.file	"extr_asic3.c_ds1wm_enable.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ds1wm_enable, @function
ds1wm_enable:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR [rdi]
	call	dev_get_drvdata@PLT
	mov	rdx, QWORD PTR ASIC3_CLOCK_EX0[rip]
	mov	rbp, rax
	mov	rax, QWORD PTR [rax]
	mov	rdi, rbp
	lea	rsi, [rax+rdx*4]
	call	asic3_clk_enable@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR ASIC3_CLOCK_EX1[rip]
	mov	rdi, rbp
	lea	rsi, [rax+rdx*4]
	call	asic3_clk_enable@PLT
	mov	rdx, QWORD PTR ASIC3_CLOCK_OWM[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	lea	rsi, [rax+rdx*4]
	call	asic3_clk_enable@PLT
	mov	edi, 1
	call	msleep@PLT
	mov	esi, DWORD PTR RESET[rip]
	mov	edi, DWORD PTR EXTCF[rip]
	mov	r12d, DWORD PTR ASIC3_EXTCF_OWM_RESET[rip]
	call	ASIC3_OFFSET@PLT
	mov	ecx, 1
	mov	rdi, rbp
	mov	edx, r12d
	mov	esi, eax
	call	asic3_set_register@PLT
	mov	edi, 1
	call	msleep@PLT
	mov	esi, DWORD PTR RESET[rip]
	mov	edi, DWORD PTR EXTCF[rip]
	mov	r12d, DWORD PTR ASIC3_EXTCF_OWM_RESET[rip]
	call	ASIC3_OFFSET@PLT
	xor	ecx, ecx
	mov	rdi, rbp
	mov	edx, r12d
	mov	esi, eax
	call	asic3_set_register@PLT
	mov	edi, 1
	call	msleep@PLT
	mov	esi, DWORD PTR SELECT[rip]
	mov	edi, DWORD PTR EXTCF[rip]
	mov	r12d, DWORD PTR ASIC3_EXTCF_OWM_EN[rip]
	call	ASIC3_OFFSET@PLT
	mov	rdi, rbp
	mov	ecx, 1
	mov	edx, r12d
	mov	esi, eax
	call	asic3_set_register@PLT
	mov	edi, 1
	call	msleep@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	ds1wm_enable, .-ds1wm_enable
	.comm	SELECT,4,4
	.comm	RESET,4,4
	.comm	EXTCF,4,4
	.comm	ASIC3_EXTCF_OWM_RESET,4,4
	.comm	ASIC3_EXTCF_OWM_EN,4,4
	.comm	ASIC3_CLOCK_OWM,8,8
	.comm	ASIC3_CLOCK_EX1,8,8
	.comm	ASIC3_CLOCK_EX0,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_asic3.c_ds1wm_enable.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ds1wm_enable, %function
ds1wm_enable:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r0, [r0]
	bl	dev_get_drvdata
	mov	r4, r0
	ldr	r2, .L4
	ldr	r3, [r0]
	ldr	r1, [r2]
	ldr	r5, .L4+4
	add	r1, r3, r1, lsl #2
	bl	asic3_clk_enable
	ldr	r2, .L4+8
	ldr	r3, [r4]
	ldr	r1, [r2]
	mov	r0, r4
	add	r1, r3, r1, lsl #2
	bl	asic3_clk_enable
	ldr	r2, .L4+12
	ldr	r3, [r4]
	ldr	r1, [r2]
	ldr	r7, .L4+16
	add	r1, r3, r1, lsl #2
	mov	r0, r4
	bl	asic3_clk_enable
	mov	r0, #1
	bl	msleep
	ldr	r1, [r7]
	ldr	r0, [r5]
	bl	ASIC3_OFFSET
	ldr	r6, .L4+20
	mov	r1, r0
	ldr	r2, [r6]
	mov	r3, #1
	mov	r0, r4
	bl	asic3_set_register
	mov	r0, #1
	bl	msleep
	ldr	r1, [r7]
	ldr	r0, [r5]
	bl	ASIC3_OFFSET
	ldr	r2, [r6]
	mov	r1, r0
	mov	r3, #0
	mov	r0, r4
	bl	asic3_set_register
	mov	r0, #1
	bl	msleep
	ldr	r3, .L4+24
	ldr	r0, [r5]
	ldr	r1, [r3]
	bl	ASIC3_OFFSET
	ldr	r3, .L4+28
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	mov	r3, #1
	bl	asic3_set_register
	mov	r0, #1
	bl	msleep
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	ASIC3_CLOCK_EX0
	.word	EXTCF
	.word	ASIC3_CLOCK_EX1
	.word	ASIC3_CLOCK_OWM
	.word	RESET
	.word	ASIC3_EXTCF_OWM_RESET
	.word	SELECT
	.word	ASIC3_EXTCF_OWM_EN
	.size	ds1wm_enable, .-ds1wm_enable
	.comm	SELECT,4,4
	.comm	RESET,4,4
	.comm	EXTCF,4,4
	.comm	ASIC3_EXTCF_OWM_RESET,4,4
	.comm	ASIC3_EXTCF_OWM_EN,4,4
	.comm	ASIC3_CLOCK_OWM,4,4
	.comm	ASIC3_CLOCK_EX1,4,4
	.comm	ASIC3_CLOCK_EX0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
