	.file	"extr_cx24123.c_cx24123_diseqc_send_burst.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\n"
	.text
	.p2align 4
	.type	cx24123_diseqc_send_burst, @function
cx24123_diseqc_send_burst:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	call	dprintk@PLT
	mov	esi, 41
	mov	rdi, rbp
	call	cx24123_readreg@PLT
	mov	r12d, eax
	mov	ebx, eax
	and	r12d, 16
	jne	.L15
.L2:
	mov	rdi, rbp
	call	cx24123_wait_for_diseqc@PLT
	mov	esi, 42
	mov	rdi, rbp
	call	cx24123_readreg@PLT
	mov	esi, 42
	mov	rdi, rbp
	or	eax, 4
	mov	edx, eax
	call	cx24123_writereg@PLT
	mov	edi, 30
	call	msleep@PLT
	mov	esi, 41
	mov	rdi, rbp
	call	cx24123_readreg@PLT
	cmp	QWORD PTR SEC_MINI_A[rip], r13
	je	.L16
	cmp	QWORD PTR SEC_MINI_B[rip], r13
	je	.L17
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edx, eax
	mov	esi, 41
	mov	rdi, rbp
	and	edx, -81
	call	cx24123_writereg@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	and	eax, 144
	mov	esi, 41
	mov	rdi, rbp
	or	eax, 72
	mov	edx, eax
	call	cx24123_writereg@PLT
.L4:
	mov	rdi, rbp
	call	cx24123_wait_for_diseqc@PLT
	mov	esi, 42
	mov	rdi, rbp
	call	cx24123_readreg@PLT
	mov	esi, 42
	mov	rdi, rbp
	and	eax, 251
	mov	edx, eax
	call	cx24123_writereg@PLT
	test	r12d, r12d
	je	.L1
	and	ebx, -65
	mov	rdi, rbp
	mov	esi, 41
	xor	r12d, r12d
	mov	edx, ebx
	call	cx24123_writereg@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	and	eax, 144
	mov	esi, 41
	mov	rdi, rbp
	or	eax, 64
	mov	edx, eax
	call	cx24123_writereg@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	cx24123_diseqc_send_burst, .-cx24123_diseqc_send_burst
	.comm	SEC_MINI_B,8,8
	.comm	SEC_MINI_A,8,8
	.comm	EINVAL,4,4
	.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_cx24123.c_cx24123_diseqc_send_burst.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cx24123_diseqc_send_burst, %function
cx24123_diseqc_send_burst:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r0]
	ldr	r0, .L18
	mov	r6, r1
	bl	dprintk
	mov	r0, r4
	mov	r1, #41
	bl	cx24123_readreg
	ands	r7, r0, #16
	mov	r5, r0
	bne	.L15
.L2:
	mov	r0, r4
	bl	cx24123_wait_for_diseqc
	mov	r1, #42
	mov	r0, r4
	bl	cx24123_readreg
	mov	r1, #42
	orr	r2, r0, #4
	mov	r0, r4
	bl	cx24123_writereg
	mov	r0, #30
	bl	msleep
	mov	r1, #41
	mov	r0, r4
	bl	cx24123_readreg
	ldr	r3, .L18+4
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L16
	ldr	r3, .L18+8
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L17
	ldr	r3, .L18+12
	ldr	r7, [r3]
	rsb	r7, r7, #0
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L15:
	bic	r2, r0, #80
	mov	r1, #41
	mov	r0, r4
	bl	cx24123_writereg
	b	.L2
.L17:
	and	r0, r0, #144
	orr	r2, r0, #72
	mov	r1, #41
	mov	r0, r4
	bl	cx24123_writereg
.L4:
	mov	r0, r4
	bl	cx24123_wait_for_diseqc
	mov	r1, #42
	mov	r0, r4
	bl	cx24123_readreg
	mov	r1, #42
	and	r2, r0, #251
	mov	r0, r4
	bl	cx24123_writereg
	cmp	r7, #0
	beq	.L1
	mov	r7, #0
	mov	r0, r4
	mov	r1, #41
	bic	r2, r5, #64
	bl	cx24123_writereg
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L16:
	and	r0, r0, #144
	orr	r2, r0, #64
	mov	r1, #41
	mov	r0, r4
	bl	cx24123_writereg
	b	.L4
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	SEC_MINI_A
	.word	SEC_MINI_B
	.word	EINVAL
	.size	cx24123_diseqc_send_burst, .-cx24123_diseqc_send_burst
	.comm	SEC_MINI_B,4,4
	.comm	SEC_MINI_A,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
