	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv0367ter_read_ucblocks
_stv0367ter_read_ucblocks:              ## @stv0367ter_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %r13
	movq	_F367TER_SFERRC_OLDVALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stv0367_readbits
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	(%r13), %eax
	jmp	LBB0_3
LBB0_2:
	movq	_F367TER_ERR_CNT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stv0367_readbits
	movq	%rax, %r15
	shll	$16, %r15d
	movq	_F367TER_ERR_CNT1_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stv0367_readbits
	movq	%rax, %r12
	shll	$8, %r12d
	addl	%r15d, %r12d
	movq	_F367TER_ERR_CNT1_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_stv0367_readbits
	addl	%r12d, %eax
	movl	%eax, (%r13)
LBB0_3:
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F367TER_SFERRC_OLDVALUE,4,2    ## @F367TER_SFERRC_OLDVALUE
	.comm	_F367TER_ERR_CNT1,4,2           ## @F367TER_ERR_CNT1
	.comm	_F367TER_ERR_CNT1_HI,4,2        ## @F367TER_ERR_CNT1_HI
	.comm	_F367TER_ERR_CNT1_LO,4,2        ## @F367TER_ERR_CNT1_LO
	.no_dead_strip	_stv0367ter_read_ucblocks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv0367ter_read_ucblocks
_stv0367ter_read_ucblocks:              ; @stv0367ter_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	x20, [x0]
	ldr	x22, [x20]
Lloh0:
	adrp	x8, _F367TER_SFERRC_OLDVALUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F367TER_SFERRC_OLDVALUE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0367_readbits
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w8, [x22]
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _F367TER_ERR_CNT1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F367TER_ERR_CNT1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0367_readbits
	mov	x21, x0
Lloh6:
	adrp	x8, _F367TER_ERR_CNT1_HI@GOTPAGE
Lloh7:
	ldr	x8, [x8, _F367TER_ERR_CNT1_HI@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0367_readbits
	lsl	w8, w0, #8
	add	w21, w8, w21, lsl #16
Lloh9:
	adrp	x8, _F367TER_ERR_CNT1_LO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _F367TER_ERR_CNT1_LO@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_stv0367_readbits
	add	w8, w21, w0
	str	w8, [x22]
LBB0_3:
	str	w8, [x19]
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_F367TER_SFERRC_OLDVALUE,4,2    ; @F367TER_SFERRC_OLDVALUE
	.comm	_F367TER_ERR_CNT1,4,2           ; @F367TER_ERR_CNT1
	.comm	_F367TER_ERR_CNT1_HI,4,2        ; @F367TER_ERR_CNT1_HI
	.comm	_F367TER_ERR_CNT1_LO,4,2        ; @F367TER_ERR_CNT1_LO
	.no_dead_strip	_stv0367ter_read_ucblocks
.subsections_via_symbols
