	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s921_read_status
_s921_read_status:                      ## @s921_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
	movl	$0, (%rsi)
	movq	%r15, %rdi
	movl	$129, %esi
	callq	_s921_readreg
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	%r15, %rdi
	movl	$130, %esi
	callq	_s921_readreg
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	shll	$8, %ebx
	movl	%r15d, %esi
	orl	%ebx, %esi
	leaq	L_.str(%rip), %rdi
	callq	_dprintk
	cmpb	$64, %r15b
	jne	LBB0_5
## %bb.4:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rdx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rsi
	jmp	LBB0_7
LBB0_1:
	movl	%ebx, %r15d
	jmp	LBB0_8
LBB0_5:
	testb	$64, %r15b
	movl	$0, %r15d
	je	LBB0_8
## %bb.6:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rsi
LBB0_7:
	orl	(%rsi), %eax
	orl	(%rdx), %eax
	orl	(%rcx), %eax
	movl	%eax, (%r14)
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"status = %04x\n"

	.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	_s921_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s921_read_status
_s921_read_status:                      ; @s921_read_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]
	str	wzr, [x1]
	mov	x0, x20
	mov	w1, #129
	bl	_s921_readreg
	mov	x21, x0
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	w1, #130
	bl	_s921_readreg
	mov	x20, x0
	tbnz	w0, #31, LBB0_9
; %bb.2:
	orr	w1, w20, w21, lsl #8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	and	w8, w20, #0xff
	cmp	w8, #64
	b.ne	LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh8:
	adrp	x8, _FE_HAS_LOCK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh10:
	adrp	x10, _FE_HAS_SYNC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh12:
	adrp	x11, _FE_HAS_VITERBI@GOTPAGE
Lloh13:
	ldr	x11, [x11, _FE_HAS_VITERBI@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	x20, x21
	b	LBB0_9
LBB0_5:
	tbnz	w20, #6, LBB0_7
; %bb.6:
	mov	w20, #0
	b	LBB0_9
LBB0_7:
Lloh14:
	adrp	x8, _FE_HAS_CARRIER@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x8]
Lloh17:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh18:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh19:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh20:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh21:
	adrp	x11, _FE_HAS_SIGNAL@GOTPAGE
Lloh22:
	ldr	x11, [x11, _FE_HAS_SIGNAL@GOTPAGEOFF]
LBB0_8:
	mov	w20, #0
	ldr	w11, [x11]
	orr	w9, w9, w11
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	w8, [x8]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_9:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"status = %04x\n"

	.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	_s921_read_status
.subsections_via_symbols
