	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb86a20s_read_status
_mb86a20s_read_status:                  ## @mb86a20s_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, %rbx
	movq	8(%rdi), %r15
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintk
	movl	$0, (%r14)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rax
LBB0_2:
	movq	%r15, %rdi
	movl	$10, %esi
	callq	_mb86a20s_readreg
	movl	%eax, %r15d
	andl	$15, %r15d
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_4:
	cmpl	$1, %r15d
	jbe	LBB0_5
## %bb.6:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%r14), %edx
	orl	(%rax), %edx
	movl	%edx, (%r14)
	cmpl	$4, %r15d
	jb	LBB0_11
## %bb.7:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%r14)
	cmpl	$4, %r15d
	je	LBB0_11
## %bb.8:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%r14)
	cmpl	$7, %r15d
	jb	LBB0_11
## %bb.9:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%r14)
	cmpl	$7, %r15d
	je	LBB0_11
## %bb.10:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%edx, (%r14)
	jmp	LBB0_11
LBB0_5:
	movl	(%r14), %edx
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_dprintk
	xorl	%eax, %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	"\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
L_.str.1:                               ## @.str.1
	.asciz	"val = %d, status = 0x%02x\n"

	.no_dead_strip	_mb86a20s_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb86a20s_read_status
_mb86a20s_read_status:                  ; @mb86a20s_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintk
	str	wzr, [x19]
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #0
	blr	x8
LBB0_2:
	mov	x0, x21
	mov	w1, #10
	bl	_mb86a20s_readreg
	and	w21, w0, #0xf
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	w1, #1
	blr	x8
LBB0_4:
	cmp	w21, #1
	b.ls	LBB0_10
; %bb.5:
Lloh2:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	cmp	w21, #4
	b.lo	LBB0_11
; %bb.6:
Lloh5:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	cmp	w21, #4
	b.eq	LBB0_11
; %bb.7:
Lloh8:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	cmp	w21, #7
	b.lo	LBB0_11
; %bb.8:
Lloh11:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	cmp	w21, #7
	b.eq	LBB0_11
; %bb.9:
Lloh14:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	b	LBB0_11
LBB0_10:
	ldr	w8, [x19]
LBB0_11:
	stp	x21, x8, [sp]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\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
l_.str.1:                               ; @.str.1
	.asciz	"val = %d, status = 0x%02x\n"

	.no_dead_strip	_mb86a20s_read_status
.subsections_via_symbols
