	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smsdvb_update_dvb_stats
_smsdvb_update_dvb_stats:               ## @smsdvb_update_dvb_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	16(%r14), %edi
	movq	%rbx, %rsi
	callq	*%rax
LBB0_2:
	movl	48(%rbx), %edi
	movl	96(%rbx), %esi
	callq	_sms_to_status
	movq	%rax, 8(%r14)
	movl	92(%rbx), %eax
	movl	%eax, 124(%r14)
	movl	48(%rbx), %edi
	xorl	%esi, %esi
	callq	_sms_to_status
	movq	%rax, 8(%r14)
	movl	88(%rbx), %edi
	callq	_sms_to_bw
	movl	%eax, 120(%r14)
	movl	84(%rbx), %edi
	callq	_sms_to_mode
	movl	%eax, 116(%r14)
	movl	80(%rbx), %edi
	callq	_sms_to_guard_interval
	movl	%eax, 112(%r14)
	movl	76(%rbx), %edi
	callq	_sms_to_code_rate
	movq	%rax, 104(%r14)
	movl	72(%rbx), %edi
	callq	_sms_to_code_rate
	movq	%rax, 96(%r14)
	movl	68(%rbx), %edi
	callq	_sms_to_hierarchy
	movl	%eax, 92(%r14)
	movl	64(%rbx), %edi
	callq	_sms_to_modulation
	movl	%eax, 88(%r14)
	xorl	%eax, %eax
	cmpq	$0, 56(%rbx)
	setne	%al
	movl	%eax, 32(%r14)
	imull	$1000, (%rbx), %eax             ## imm = 0x3E8
	movq	80(%r14), %rcx
	movl	%eax, (%rcx)
	imull	$1000, 4(%rbx), %eax            ## imm = 0x3E8
	movq	72(%r14), %rcx
	movl	%eax, (%rcx)
	cmpl	$0, 48(%rbx)
	je	LBB0_4
## %bb.3:
	movq	64(%r14), %rax
	movl	(%rax), %ecx
	movl	%ecx, 4(%r14)
	movq	_FE_SCALE_COUNTER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rdx, 8(%rax)
	movq	56(%r14), %rsi
	movq	%rdx, 8(%rsi)
	addl	40(%rbx), %ecx
	movl	%ecx, (%rax)
	movl	32(%rbx), %eax
	addl	%eax, (%rsi)
	movq	48(%r14), %rax
	movq	%rdx, 8(%rax)
	movq	40(%r14), %rcx
	movq	%rdx, 8(%rcx)
	movl	24(%rbx), %edx
	addl	%edx, (%rax)
	movl	16(%rbx), %eax
	addl	%eax, (%rcx)
	movl	8(%rbx), %eax
	movl	%eax, (%r14)
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_SCALE_COUNTER,8,3           ## @FE_SCALE_COUNTER
	.no_dead_strip	_smsdvb_update_dvb_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smsdvb_update_dvb_stats
_smsdvb_update_dvb_stats:               ; @smsdvb_update_dvb_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	mov	x1, x20
	blr	x8
LBB0_2:
	ldr	w0, [x20, #48]
	ldr	w1, [x20, #96]
	bl	_sms_to_status
	str	x0, [x19, #8]
	ldr	w8, [x20, #92]
	str	w8, [x19, #124]
	ldr	w0, [x20, #48]
	mov	w1, #0
	bl	_sms_to_status
	str	x0, [x19, #8]
	ldr	w0, [x20, #88]
	bl	_sms_to_bw
	str	w0, [x19, #120]
	ldr	w0, [x20, #84]
	bl	_sms_to_mode
	str	w0, [x19, #116]
	ldr	w0, [x20, #80]
	bl	_sms_to_guard_interval
	str	w0, [x19, #112]
	ldr	w0, [x20, #76]
	bl	_sms_to_code_rate
	str	x0, [x19, #104]
	ldr	w0, [x20, #72]
	bl	_sms_to_code_rate
	str	x0, [x19, #96]
	ldr	w0, [x20, #68]
	bl	_sms_to_hierarchy
	str	w0, [x19, #92]
	ldr	w0, [x20, #64]
	bl	_sms_to_modulation
	mov	w8, #1000
	ldp	w9, w10, [x20]
	mul	w9, w9, w8
	ldp	x12, x11, [x19, #72]
	str	w9, [x11]
	str	w0, [x19, #88]
	ldr	x9, [x20, #56]
	cmp	x9, #0
	cset	w9, ne
	str	w9, [x19, #32]
	mul	w8, w10, w8
	str	w8, [x12]
	ldr	w8, [x20, #48]
	cbz	w8, LBB0_4
; %bb.3:
	ldp	x9, x8, [x19, #56]
	ldr	w10, [x8]
Lloh0:
	adrp	x11, _FE_SCALE_COUNTER@GOTPAGE
Lloh1:
	ldr	x11, [x11, _FE_SCALE_COUNTER@GOTPAGEOFF]
Lloh2:
	ldr	x11, [x11]
	str	x11, [x8, #8]
	str	x11, [x9, #8]
	ldr	w12, [x20, #40]
	add	w12, w10, w12
	str	w12, [x8]
	ldr	w8, [x20, #32]
	ldr	w12, [x9]
	add	w8, w12, w8
	str	w8, [x9]
	ldp	x9, x8, [x19, #40]
	str	x11, [x8, #8]
	str	x11, [x9, #8]
	ldr	w11, [x20, #24]
	ldr	w12, [x8]
	add	w11, w12, w11
	str	w11, [x8]
	ldr	w8, [x20, #16]
	ldr	w11, [x9]
	add	w8, w11, w8
	str	w8, [x9]
	ldr	w8, [x20, #8]
	stp	w8, w10, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_SCALE_COUNTER,8,3           ; @FE_SCALE_COUNTER
	.no_dead_strip	_smsdvb_update_dvb_stats
.subsections_via_symbols
