	.file	"extr_dvb_tune.c_do_diseqc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	do_diseqc, @function
do_diseqc:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 56
	.cfi_def_cfa_offset 64
	xor	r8d, r8d
	pxor	xmm0, xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	eax, 0[0+rsi*4]
	mov	QWORD PTR [rsp], 224
	and	eax, 12
	test	ecx, ecx
	movups	XMMWORD PTR 8[rsp], xmm0
	setne	r8b
	movups	XMMWORD PTR 24[rsp], xmm0
	mov	r9d, r8d
	or	r9d, 2
	test	edx, edx
	cmove	r8d, r9d
	or	eax, r8d
	or	al, -16
	test	esi, esi
	mov	DWORD PTR ds:236, eax
	lea	eax, 3[rsi]
	mov	r8d, DWORD PTR SEC_MINI_B[rip]
	cmovs	esi, eax
	and	esi, 4
	mov	esi, DWORD PTR SEC_VOLTAGE_13[rip]
	cmove	r8d, DWORD PTR SEC_MINI_A[rip]
	test	ecx, ecx
	mov	ecx, DWORD PTR SEC_TONE_ON[rip]
	cmove	ecx, DWORD PTR SEC_TONE_OFF[rip]
	test	edx, edx
	mov	rdx, rsp
	cmove	esi, DWORD PTR SEC_VOLTAGE_18[rip]
	call	diseqc_send_msg@PLT
	mov	rdi, QWORD PTR 40[rsp]
	xor	rdi, QWORD PTR fs:40
	jne	.L12
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	do_diseqc, .-do_diseqc
	.comm	SEC_VOLTAGE_18,4,4
	.comm	SEC_VOLTAGE_13,4,4
	.comm	SEC_TONE_ON,4,4
	.comm	SEC_TONE_OFF,4,4
	.comm	SEC_MINI_B,4,4
	.comm	SEC_MINI_A,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_dvb_tune.c_do_diseqc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_diseqc, %function
do_diseqc:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	sub	sp, sp, #52
	mov	r5, r3
	ldr	r3, .L16
	mov	r7, r2
	mov	r6, r0
	mov	r2, #32
	mov	r1, #0
	add	r0, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	bl	memset
	mov	r3, #224
	lsl	ip, r4, #2
	and	ip, ip, #12
	cmp	r5, #0
	orrne	ip, ip, #1
	cmp	r7, #0
	str	r3, [sp, #8]
	beq	.L14
	mov	r2, #0
	ldr	r3, .L16+4
	orr	ip, ip, #240
	str	ip, [r2, #236]
	ldr	r1, [r3]
.L8:
	cmp	r5, #0
	add	r2, r4, #3
	ldrne	r3, .L16+8
	ldreq	r3, .L16+12
	cmp	r4, #0
	movlt	r4, r2
	tst	r4, #4
	ldrne	r2, .L16+16
	ldreq	r2, .L16+20
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r6
	str	r2, [sp]
	add	r2, sp, #8
	bl	diseqc_send_msg
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	ldr	r3, .L16+24
	orr	ip, ip, #242
	str	ip, [r7, #236]
	ldr	r1, [r3]
	b	.L8
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	SEC_VOLTAGE_13
	.word	SEC_TONE_ON
	.word	SEC_TONE_OFF
	.word	SEC_MINI_B
	.word	SEC_MINI_A
	.word	SEC_VOLTAGE_18
	.size	do_diseqc, .-do_diseqc
	.comm	SEC_VOLTAGE_18,4,4
	.comm	SEC_VOLTAGE_13,4,4
	.comm	SEC_TONE_ON,4,4
	.comm	SEC_TONE_OFF,4,4
	.comm	SEC_MINI_B,4,4
	.comm	SEC_MINI_A,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
