	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0900_read_ucblocks
_stv0900_read_ucblocks:                 ## @stv0900_read_ucblocks
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rax
	movq	8(%rax), %r15
	movl	(%rax), %esi
	movl	$0, (%r14)
	callq	_stv0900_get_standard
	movq	_STV0900_DVBS2_STANDARD@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_BBFCRCKO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_read_reg
	movl	%eax, %r12d
	movq	_BBFCRCKO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_read_reg
	shll	$8, %r12d
	orl	%eax, %r12d
	movq	_UPCRCKO1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_read_reg
	movl	%eax, %ebx
	movq	_UPCRCKO0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_stv0900_read_reg
	shll	$8, %ebx
	orl	%eax, %ebx
	addl	%r12d, %ebx
	movl	%ebx, (%r14)
LBB0_2:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STV0900_DVBS2_STANDARD,8,3     ## @STV0900_DVBS2_STANDARD
	.comm	_BBFCRCKO1,4,2                  ## @BBFCRCKO1
	.comm	_BBFCRCKO0,4,2                  ## @BBFCRCKO0
	.comm	_UPCRCKO1,4,2                   ## @UPCRCKO1
	.comm	_UPCRCKO0,4,2                   ## @UPCRCKO0
	.no_dead_strip	_stv0900_read_ucblocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0900_read_ucblocks
_stv0900_read_ucblocks:                 ; @stv0900_read_ucblocks
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
	ldr	w1, [x8]
	str	wzr, [x19]
	bl	_stv0900_get_standard
Lloh0:
	adrp	x8, _STV0900_DVBS2_STANDARD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STV0900_DVBS2_STANDARD@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _BBFCRCKO1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BBFCRCKO1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0900_read_reg
	mov	x21, x0
Lloh6:
	adrp	x8, _BBFCRCKO0@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BBFCRCKO0@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0900_read_reg
	orr	w22, w0, w21, lsl #8
Lloh9:
	adrp	x8, _UPCRCKO1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _UPCRCKO1@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0900_read_reg
	mov	x21, x0
Lloh12:
	adrp	x8, _UPCRCKO0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _UPCRCKO0@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0900_read_reg
	orr	w8, w0, w21, lsl #8
	add	w8, w8, w22
	str	w8, [x19]
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_STV0900_DVBS2_STANDARD,8,3     ; @STV0900_DVBS2_STANDARD
	.comm	_BBFCRCKO1,4,2                  ; @BBFCRCKO1
	.comm	_BBFCRCKO0,4,2                  ; @BBFCRCKO0
	.comm	_UPCRCKO1,4,2                   ; @UPCRCKO1
	.comm	_UPCRCKO0,4,2                   ; @UPCRCKO0
	.no_dead_strip	_stv0900_read_ucblocks
.subsections_via_symbols
