	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5h1420_get_status_bits
_s5h1420_get_status_bits:               ## @s5h1420_get_status_bits
	.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	%rdi, %r14
	movl	$20, %esi
	callq	_s5h1420_readreg
	movl	%eax, %ebx
	shll	$30, %eax
	sarl	$31, %eax
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %r15
	andl	(%r15), %eax
	andl	$1, %ebx
	negl	%ebx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %r12
	andl	(%r12), %ebx
	orl	%eax, %ebx
	movq	%r14, %rdi
	movl	$54, %esi
	callq	_s5h1420_readreg
	movl	%eax, %ecx
	andl	$1, %ecx
	negl	%ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%edx, %ecx
	shll	$26, %eax
	sarl	$31, %eax
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%esi, %eax
	orl	%ecx, %eax
	orl	%ebx, %eax
	orl	%edx, %esi
	orl	(%r15), %esi
	orl	(%r12), %esi
	xorl	%ecx, %ecx
	cmpl	%esi, %eax
	jne	LBB0_2
## %bb.1:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	%eax, %ecx
	movl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.no_dead_strip	_s5h1420_get_status_bits
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5h1420_get_status_bits
_s5h1420_get_status_bits:               ; @s5h1420_get_status_bits
	.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, x0
	mov	w1, #20
	bl	_s5h1420_readreg
	lsl	w8, w0, #30
Lloh0:
	adrp	x20, _FE_HAS_SIGNAL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FE_HAS_SIGNAL@GOTPAGEOFF]
	ldr	w9, [x20]
	and	w8, w9, w8, asr #31
	sbfx	w9, w0, #0, #1
Lloh2:
	adrp	x21, _FE_HAS_CARRIER@GOTPAGE
Lloh3:
	ldr	x21, [x21, _FE_HAS_CARRIER@GOTPAGEOFF]
	ldr	w10, [x21]
	and	w9, w9, w10
	orr	w22, w8, w9
	mov	x0, x19
	mov	w1, #54
	bl	_s5h1420_readreg
	sbfx	w8, w0, #0, #1
Lloh4:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh5:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w8, w22, w8
	lsl	w10, w0, #26
Lloh7:
	adrp	x11, _FE_HAS_SYNC@GOTPAGE
Lloh8:
	ldr	x11, [x11, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	and	w10, w11, w10, asr #31
	orr	w8, w8, w10
	ldr	w10, [x20]
	ldr	w12, [x21]
	orr	w9, w11, w9
	orr	w9, w9, w10
Lloh10:
	adrp	x10, _FE_HAS_LOCK@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FE_HAS_LOCK@GOTPAGEOFF]
	orr	w9, w9, w12
Lloh12:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w9, w10, wzr, eq
	orr	w0, w9, w8
	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	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.no_dead_strip	_s5h1420_get_status_bits
.subsections_via_symbols
