	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mb86a16_read_status
_mb86a16_read_status:                   ## @mb86a16_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movl	$0, (%rsi)
	movq	_MB86A16_SIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mb86a16_read
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.1:
	movq	_MB86A16_SIG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mb86a16_read
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.2:
	movl	-20(%rbp), %ecx
	movl	-24(%rbp), %eax
	cmpl	$26, %ecx
	jl	LBB0_5
## %bb.3:
	cmpl	$26, %eax
	jl	LBB0_5
## %bb.4:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%r14)
LBB0_5:
	cmpl	$46, %ecx
	jl	LBB0_8
## %bb.6:
	cmpl	$46, %eax
	jl	LBB0_8
## %bb.7:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_8:
	movq	_MB86A16_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mb86a16_read
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.9:
	testb	$1, -20(%rbp)
	je	LBB0_11
## %bb.10:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_11:
	movq	_MB86A16_FRAMESYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_mb86a16_read
	cmpl	$2, %eax
	jne	LBB0_15
## %bb.12:
	xorl	%eax, %eax
	testb	$15, -20(%rbp)
	je	LBB0_16
## %bb.13:
	movl	(%r14), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_16
## %bb.14:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_16
LBB0_15:
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_MB86A16_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edx
	callq	_dprintk
	movq	_EREMOTEIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MB86A16_SIG1,4,2               ## @MB86A16_SIG1
	.comm	_MB86A16_SIG2,4,2               ## @MB86A16_SIG2
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_MB86A16_STATUS,4,2             ## @MB86A16_STATUS
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_MB86A16_FRAMESYNC,4,2          ## @MB86A16_FRAMESYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.comm	_verbose,4,2                    ## @verbose
	.comm	_MB86A16_ERROR,4,2              ## @MB86A16_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"I2C transfer error"

	.comm	_EREMOTEIO,4,2                  ## @EREMOTEIO
	.no_dead_strip	_mb86a16_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mb86a16_read_status
_mb86a16_read_status:                   ; @mb86a16_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]
	str	wzr, [x1]
Lloh0:
	adrp	x8, _MB86A16_SIG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MB86A16_SIG1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_mb86a16_read
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.1:
Lloh3:
	adrp	x8, _MB86A16_SIG2@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MB86A16_SIG2@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_mb86a16_read
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.2:
	ldp	w8, w9, [sp, #8]
	cmp	w9, #26
	ccmp	w8, #26, #8, ge
	b.lt	LBB0_4
; %bb.3:
Lloh6:
	adrp	x10, _FE_HAS_SIGNAL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	ldr	w11, [x19]
	orr	w10, w11, w10
	str	w10, [x19]
LBB0_4:
	cmp	w9, #46
	b.lt	LBB0_7
; %bb.5:
	cmp	w8, #46
	b.lt	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _FE_HAS_CARRIER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_7:
Lloh12:
	adrp	x8, _MB86A16_STATUS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MB86A16_STATUS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_mb86a16_read
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.8:
	ldrb	w8, [sp, #12]
	tbz	w8, #0, LBB0_10
; %bb.9:
Lloh15:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh18:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_10:
Lloh21:
	adrp	x8, _MB86A16_FRAMESYNC@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MB86A16_FRAMESYNC@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x20
	bl	_mb86a16_read
	cmp	w0, #2
	b.ne	LBB0_14
; %bb.11:
	ldrb	w8, [sp, #12]
	tst	w8, #0xf
	b.eq	LBB0_16
; %bb.12:
	ldr	w8, [x19]
Lloh24:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.13:
	mov	w0, #0
Lloh27:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh28:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
	b	LBB0_15
LBB0_14:
Lloh30:
	adrp	x8, _verbose@GOTPAGE
Lloh31:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
Lloh33:
	adrp	x8, _MB86A16_ERROR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MB86A16_ERROR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x3, l_.str@PAGE
Lloh37:
	add	x3, x3, l_.str@PAGEOFF
	mov	w2, #1
	bl	_dprintk
Lloh38:
	adrp	x8, _EREMOTEIO@GOTPAGE
Lloh39:
	ldr	x8, [x8, _EREMOTEIO@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_15:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_16:
	mov	w0, #0
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_MB86A16_SIG1,4,2               ; @MB86A16_SIG1
	.comm	_MB86A16_SIG2,4,2               ; @MB86A16_SIG2
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_MB86A16_STATUS,4,2             ; @MB86A16_STATUS
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_MB86A16_FRAMESYNC,4,2          ; @MB86A16_FRAMESYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.comm	_verbose,4,2                    ; @verbose
	.comm	_MB86A16_ERROR,4,2              ; @MB86A16_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"I2C transfer error"

	.comm	_EREMOTEIO,4,2                  ; @EREMOTEIO
	.no_dead_strip	_mb86a16_read_status
.subsections_via_symbols
