	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stv6110x_get_status
_stv6110x_get_status:                   ## @stv6110x_get_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	_STV6110x_STAT1@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	leaq	(,%rsi,4), %rdx
	addq	(%rbx), %rdx
	movq	%rbx, %rdi
	callq	_stv6110x_read_reg
	movq	_STAT1_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %esi
	callq	_STV6110x_GETFIELD
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_TUNER_PHASELOCKED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_2:
	movq	%rax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STV6110x_STAT1,8,3             ## @STV6110x_STAT1
	.comm	_STAT1_LOCK,4,2                 ## @STAT1_LOCK
	.comm	_TUNER_PHASELOCKED,8,3          ## @TUNER_PHASELOCKED
	.no_dead_strip	_stv6110x_get_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stv6110x_get_status
_stv6110x_get_status:                   ; @stv6110x_get_status
	.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]
Lloh0:
	adrp	x21, _STV6110x_STAT1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _STV6110x_STAT1@GOTPAGEOFF]
	ldr	x1, [x21]
	ldr	x8, [x20]
	add	x2, x8, x1, lsl #2
	mov	x0, x20
	bl	_stv6110x_read_reg
Lloh2:
	adrp	x8, _STAT1_LOCK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STAT1_LOCK@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w1, [x8, x9, lsl #2]
	bl	_STV6110x_GETFIELD
Lloh5:
	adrp	x8, _TUNER_PHASELOCKED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TUNER_PHASELOCKED@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x8, xzr, x8, eq
	str	x8, [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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_STV6110x_STAT1,8,3             ; @STV6110x_STAT1
	.comm	_STAT1_LOCK,4,2                 ; @STAT1_LOCK
	.comm	_TUNER_PHASELOCKED,8,3          ; @TUNER_PHASELOCKED
	.no_dead_strip	_stv6110x_get_status
.subsections_via_symbols
