	.file	"extr_smsdvb-main.c_smsdvb_update_dvb_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	smsdvb_update_dvb_stats, @function
smsdvb_update_dvb_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR 24[rdi]
	test	rax, rax
	je	.L2
	mov	edi, DWORD PTR 16[rdi]
	call	rax
.L2:
	mov	esi, DWORD PTR 96[rbx]
	mov	edi, DWORD PTR 48[rbx]
	call	sms_to_status@PLT
	mov	edi, DWORD PTR 48[rbx]
	xor	esi, esi
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR 92[rbx]
	mov	DWORD PTR 124[rbp], eax
	call	sms_to_status@PLT
	mov	edi, DWORD PTR 88[rbx]
	mov	QWORD PTR 8[rbp], rax
	call	sms_to_bw@PLT
	mov	edi, DWORD PTR 84[rbx]
	mov	DWORD PTR 120[rbp], eax
	call	sms_to_mode@PLT
	mov	edi, DWORD PTR 80[rbx]
	mov	DWORD PTR 116[rbp], eax
	call	sms_to_guard_interval@PLT
	mov	edi, DWORD PTR 76[rbx]
	mov	DWORD PTR 112[rbp], eax
	call	sms_to_code_rate@PLT
	mov	edi, DWORD PTR 72[rbx]
	mov	QWORD PTR 104[rbp], rax
	call	sms_to_code_rate@PLT
	mov	edi, DWORD PTR 68[rbx]
	mov	QWORD PTR 96[rbp], rax
	call	sms_to_hierarchy@PLT
	mov	edi, DWORD PTR 64[rbx]
	mov	DWORD PTR 92[rbp], eax
	call	sms_to_modulation@PLT
	mov	DWORD PTR 88[rbp], eax
	xor	eax, eax
	cmp	QWORD PTR 56[rbx], 0
	setne	al
	imul	edx, DWORD PTR [rbx], 1000
	mov	DWORD PTR 32[rbp], eax
	mov	rax, QWORD PTR 80[rbp]
	mov	DWORD PTR [rax], edx
	imul	edx, DWORD PTR 4[rbx], 1000
	mov	rax, QWORD PTR 72[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR 48[rbx]
	test	eax, eax
	je	.L1
	mov	rsi, QWORD PTR 64[rbp]
	mov	rax, QWORD PTR FE_SCALE_COUNTER[rip]
	mov	rcx, QWORD PTR 56[rbp]
	mov	edx, DWORD PTR [rsi]
	mov	DWORD PTR 4[rbp], edx
	add	edx, DWORD PTR 40[rbx]
	mov	QWORD PTR 8[rsi], rax
	mov	QWORD PTR 8[rcx], rax
	mov	DWORD PTR [rsi], edx
	mov	rdx, QWORD PTR 32[rbx]
	add	DWORD PTR [rcx], edx
	mov	rcx, QWORD PTR 48[rbp]
	mov	rdx, QWORD PTR 40[rbp]
	mov	QWORD PTR 8[rcx], rax
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR 24[rbx]
	add	DWORD PTR [rcx], eax
	mov	rax, QWORD PTR 16[rbx]
	add	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR 8[rbx]
	mov	DWORD PTR 0[rbp], eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	smsdvb_update_dvb_stats, .-smsdvb_update_dvb_stats
	.comm	FE_SCALE_COUNTER,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_smsdvb-main.c_smsdvb_update_dvb_stats.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	smsdvb_update_dvb_stats, %function
smsdvb_update_dvb_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #16]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	mov	r4, r0
	mov	r5, r1
	beq	.L2
	ldr	r0, [r0, #12]
	blx	r3
.L2:
	ldr	r1, [r5, #68]
	ldr	r0, [r5, #28]
	bl	sms_to_status
	ldr	r3, [r5, #64]
	mov	r1, #0
	str	r0, [r4, #8]
	str	r3, [r4, #76]
	ldr	r0, [r5, #28]
	bl	sms_to_status
	mov	r3, r0
	ldr	r0, [r5, #60]
	str	r3, [r4, #8]
	bl	sms_to_bw
	mov	r3, r0
	ldr	r0, [r5, #56]
	str	r3, [r4, #72]
	bl	sms_to_mode
	mov	r3, r0
	ldr	r0, [r5, #52]
	str	r3, [r4, #68]
	bl	sms_to_guard_interval
	mov	r3, r0
	ldr	r0, [r5, #48]
	str	r3, [r4, #64]
	bl	sms_to_code_rate
	mov	r3, r0
	ldr	r0, [r5, #44]
	str	r3, [r4, #60]
	bl	sms_to_code_rate
	mov	r3, r0
	ldr	r0, [r5, #40]
	str	r3, [r4, #56]
	bl	sms_to_hierarchy
	mov	r3, r0
	ldr	r0, [r5, #36]
	str	r3, [r4, #52]
	bl	sms_to_modulation
	ldr	r1, [r5, #32]
	ldr	r2, [r5]
	subs	r1, r1, #0
	movne	r1, #1
	ldr	r3, [r5, #4]
	rsb	ip, r2, r2, lsl #5
	add	r2, r2, ip, lsl #2
	rsb	ip, r3, r3, lsl #5
	add	r3, r3, ip, lsl #2
	ldr	ip, [r5, #28]
	str	r0, [r4, #48]
	str	r1, [r4, #20]
	ldr	r0, [r4, #44]
	ldr	r1, [r4, #40]
	lsl	r2, r2, #3
	lsl	r3, r3, #3
	cmp	ip, #0
	str	r2, [r0]
	str	r3, [r1]
	popeq	{r4, r5, r6, pc}
	ldr	r3, .L12
	add	r0, r4, #28
	ldm	r0, {r0, r1, ip}
	ldr	r6, [r5, #24]
	ldr	lr, [ip]
	ldr	r3, [r3]
	add	r6, r6, lr
	ldr	r2, [r4, #24]
	str	lr, [r4, #4]
	ldr	lr, [r1]
	str	r3, [ip, #4]
	str	r3, [r1, #4]
	str	r6, [ip]
	ldr	r6, [r5, #20]
	ldr	ip, [r0]
	add	lr, lr, r6
	str	lr, [r1]
	ldr	lr, [r5, #16]
	ldr	r6, [r5, #12]
	ldr	r1, [r2]
	add	ip, ip, lr
	ldr	lr, [r5, #8]
	add	r1, r1, r6
	str	r3, [r0, #4]
	str	r3, [r2, #4]
	str	ip, [r0]
	str	r1, [r2]
	str	lr, [r4]
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	FE_SCALE_COUNTER
	.size	smsdvb_update_dvb_stats, .-smsdvb_update_dvb_stats
	.comm	FE_SCALE_COUNTER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
