	.file	"extr_pcl812.c_pcl812_reset.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pcl812_reset, @function
pcl812_reset:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rsi, QWORD PTR PCL812_MUX[rip]
	mov	rbx, rdi
	add	rsi, QWORD PTR [rdi]
	xor	edi, edi
	call	outb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	rsi, QWORD PTR PCL812_GAIN[rip]
	add	rsi, QWORD PTR [rbx]
	mov	edi, DWORD PTR [rax]
	call	outb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	QWORD PTR 4[rax], -1
	mov	rax, QWORD PTR this_board[rip]
	mov	eax, DWORD PTR [rax]
	add	eax, -128
	cmp	eax, 8
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L6-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L5-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rsi, QWORD PTR PCL812_DA2_LO[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
	mov	rsi, QWORD PTR PCL812_DA2_HI[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
.L3:
	mov	rsi, QWORD PTR PCL812_DA1_LO[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
	mov	rsi, QWORD PTR PCL812_DA1_HI[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
	xor	ecx, ecx
	xor	edx, edx
	mov	esi, -1
	mov	rdi, rbx
	call	start_pacer@PLT
	mov	rsi, QWORD PTR PCL812_DO_HI[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
	mov	rsi, QWORD PTR PCL812_DO_LO[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
	mov	rax, QWORD PTR devpriv[rip]
	mov	rsi, QWORD PTR PCL812_MODE[rip]
	add	rsi, QWORD PTR [rbx]
	mov	edi, DWORD PTR 12[rax]
	call	outb@PLT
	mov	rsi, QWORD PTR PCL812_CLRINT[rip]
	xor	edi, edi
	add	rsi, QWORD PTR [rbx]
	call	outb@PLT
.L2:
	mov	edi, 5
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	udelay@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, 5
	call	udelay@PLT
	mov	edi, 5
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	udelay@PLT
	.cfi_endproc
.LFE0:
	.size	pcl812_reset, .-pcl812_reset
	.comm	this_board,8,8
	.comm	devpriv,8,8
	.comm	PCL812_MUX,8,8
	.comm	PCL812_MODE,8,8
	.comm	PCL812_GAIN,8,8
	.comm	PCL812_DO_LO,8,8
	.comm	PCL812_DO_HI,8,8
	.comm	PCL812_DA2_LO,8,8
	.comm	PCL812_DA2_HI,8,8
	.comm	PCL812_DA1_LO,8,8
	.comm	PCL812_DA1_HI,8,8
	.comm	PCL812_CLRINT,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_pcl812.c_pcl812_reset.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pcl812_reset, %function
pcl812_reset:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L9
	ldr	r1, [r0]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	ldr	r5, .L9+4
	ldr	r3, .L9+8
	ldr	r1, [r4]
	ldr	r2, [r3]
	ldr	r3, [r5]
	add	r1, r1, r2
	ldr	r0, [r3]
	bl	outb
	mvn	r1, #0
	ldr	r3, .L9+12
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r1, [r2, #4]
	ldr	r3, [r3]
	str	r1, [r2, #8]
	sub	r3, r3, #128
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L6
	.word	.L6
	.word	.L5
	.word	.L5
	.word	.L6
	.word	.L5
	.word	.L6
	.word	.L5
	.word	.L3
.L5:
	ldr	r3, .L9+16
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	ldr	r3, .L9+20
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
.L3:
	ldr	r3, .L9+24
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	ldr	r3, .L9+28
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	mov	r3, #0
	mvn	r1, #0
	mov	r2, r3
	mov	r0, r4
	bl	start_pacer
	ldr	r3, .L9+32
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	ldr	r3, .L9+36
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
	ldr	r3, .L9+40
	ldr	r2, [r5]
	ldr	r3, [r3]
	ldr	r1, [r4]
	ldr	r0, [r2, #12]
	add	r1, r1, r3
	bl	outb
	ldr	r3, .L9+44
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, #0
	add	r1, r1, r3
	bl	outb
.L2:
	pop	{r4, r5, r6, lr}
	mov	r0, #5
	b	udelay
.L6:
	mov	r0, #5
	bl	udelay
	pop	{r4, r5, r6, lr}
	mov	r0, #5
	b	udelay
.L10:
	.align	2
.L9:
	.word	PCL812_MUX
	.word	devpriv
	.word	PCL812_GAIN
	.word	this_board
	.word	PCL812_DA2_LO
	.word	PCL812_DA2_HI
	.word	PCL812_DA1_LO
	.word	PCL812_DA1_HI
	.word	PCL812_DO_HI
	.word	PCL812_DO_LO
	.word	PCL812_MODE
	.word	PCL812_CLRINT
	.size	pcl812_reset, .-pcl812_reset
	.comm	this_board,4,4
	.comm	devpriv,4,4
	.comm	PCL812_MUX,4,4
	.comm	PCL812_MODE,4,4
	.comm	PCL812_GAIN,4,4
	.comm	PCL812_DO_LO,4,4
	.comm	PCL812_DO_HI,4,4
	.comm	PCL812_DA2_LO,4,4
	.comm	PCL812_DA2_HI,4,4
	.comm	PCL812_DA1_LO,4,4
	.comm	PCL812_DA1_HI,4,4
	.comm	PCL812_CLRINT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
