	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc90522s_read_status
_tc90522s_read_status:                  ## @tc90522s_read_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), %r15
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movl	$195, %esi
	movl	$1, %ecx
	callq	_reg_read
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	$0, (%r14)
	movl	-28(%rbp), %eax
	xorl	%ebx, %ebx
	testb	$-128, %al
	jne	LBB0_8
## %bb.3:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	testb	$96, %al
	jne	LBB0_8
## %bb.4:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rdx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rsi
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rdi
	orl	(%rdx), %ecx
	orl	(%rsi), %ecx
	orl	(%rdi), %ecx
	movl	%ecx, (%r14)
	testb	$16, %al
	jne	LBB0_8
## %bb.5:
	leaq	-28(%rbp), %rdx
	movq	%r15, %rdi
	movl	$197, %esi
	movl	$1, %ecx
	callq	_reg_read
	testl	%eax, %eax
	js	LBB0_8
## %bb.6:
	testb	$3, -28(%rbp)
	je	LBB0_8
## %bb.7:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
	jmp	LBB0_8
LBB0_1:
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	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	_tc90522s_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc90522s_read_status
_tc90522s_read_status:                  ; @tc90522s_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	x20, [x0]
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #195
	mov	w3, #1
	bl	_reg_read
	tbnz	w0, #31, LBB0_8
; %bb.1:
	mov	w0, #0
	str	wzr, [x19]
	ldr	w8, [sp, #12]
	tbnz	w8, #7, LBB0_8
; %bb.2:
Lloh0:
	adrp	x9, _FE_HAS_SIGNAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x19]
	tst	w8, #0x60
	b.ne	LBB0_7
; %bb.3:
Lloh3:
	adrp	x10, _FE_HAS_CARRIER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
Lloh6:
	adrp	x11, _FE_HAS_VITERBI@GOTPAGE
Lloh7:
	ldr	x11, [x11, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh8:
	adrp	x12, _FE_HAS_SYNC@GOTPAGE
Lloh9:
	ldr	x12, [x12, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh10:
	ldr	w11, [x11]
Lloh11:
	ldr	w12, [x12]
	orr	w9, w10, w9
	orr	w9, w9, w11
	orr	w9, w9, w12
	str	w9, [x19]
	tbnz	w8, #4, LBB0_7
; %bb.4:
	add	x2, sp, #12
	mov	x0, x20
	mov	w1, #197
	mov	w3, #1
	bl	_reg_read
	tbnz	w0, #31, LBB0_7
; %bb.5:
	ldrb	w8, [sp, #12]
	tst	w8, #0x3
	b.eq	LBB0_7
; %bb.6:
	mov	w0, #0
Lloh12:
	adrp	x8, _FE_HAS_LOCK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_tc90522s_read_status
.subsections_via_symbols
