	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dib8000_read_status
_dib8000_read_status:                   ## @dib8000_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_dib8000_read_lock
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_MAX_NUMBER_OF_FRONTENDS@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	cmpq	$2, (%r15)
	movl	$0, %r14d
	jb	LBB0_4
## %bb.1:
	xorl	%r14d, %r14d
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rax
	movq	(%rax,%r13,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_dib8000_read_lock
	orl	%eax, %r14d
	incq	%r13
	cmpq	(%r15), %r13
	jb	LBB0_2
LBB0_4:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	$0, (%r15)
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %eax
	orl	%r14d, %eax
	testl	$8192, %eax                     ## imm = 0x2000
	je	LBB0_6
## %bb.5:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	movl	%r12d, (%r15)
LBB0_6:
	testl	$256, %eax                      ## imm = 0x100
	je	LBB0_8
## %bb.7:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movl	%r12d, (%r15)
LBB0_8:
	movl	%edx, %ecx
	notl	%ecx
	testb	$30, %cl
	je	LBB0_10
## %bb.9:
	andl	$30, %r14d
	cmpl	$30, %r14d
	jne	LBB0_11
LBB0_10:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movl	%r12d, (%r15)
LBB0_11:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	$4096, %eax                     ## imm = 0x1000
	sete	%al
	je	LBB0_14
## %bb.12:
	andl	$224, %edx
	je	LBB0_14
## %bb.13:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %r12d
	movl	%r12d, (%r15)
LBB0_14:
	testb	%al, %al
	jne	LBB0_22
## %bb.15:
	movq	%rbx, %rdi
	movl	$554, %esi                      ## imm = 0x22A
	callq	_dib8000_read_word
	testb	$1, %al
	je	LBB0_17
## %bb.16:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_17:
	movq	%rbx, %rdi
	movl	$555, %esi                      ## imm = 0x22B
	callq	_dib8000_read_word
	testb	$1, %al
	je	LBB0_19
## %bb.18:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_19:
	movq	%rbx, %rdi
	movl	$556, %esi                      ## imm = 0x22C
	callq	_dib8000_read_word
	testb	$1, %al
	jne	LBB0_21
## %bb.20:
	movl	(%r15), %r12d
	jmp	LBB0_22
LBB0_21:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%r15), %r12d
	orl	(%rax), %r12d
	movl	%r12d, (%r15)
LBB0_22:
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_dib8000_get_stats
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NUMBER_OF_FRONTENDS,8,3    ## @MAX_NUMBER_OF_FRONTENDS
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.no_dead_strip	_dib8000_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dib8000_read_status
_dib8000_read_status:                   ; @dib8000_read_status
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	bl	_dib8000_read_lock
	mov	x22, x0
Lloh0:
	adrp	x24, _MAX_NUMBER_OF_FRONTENDS@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_NUMBER_OF_FRONTENDS@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x8, #2
	b.lo	LBB0_4
; %bb.1:
	mov	w23, #0
	mov	w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8, x25, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_dib8000_read_lock
	orr	w23, w0, w23
	add	x25, x25, #1
	ldr	x8, [x24]
	cmp	x25, x8
	b.lo	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w23, #0
LBB0_5:
	mov	w1, #0
	str	wzr, [x20]
	orr	w8, w22, w23
	tbz	w8, #13, LBB0_7
; %bb.6:
Lloh2:
	adrp	x9, _FE_HAS_SIGNAL@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x9]
	str	w1, [x20]
LBB0_7:
	tbz	w8, #8, LBB0_9
; %bb.8:
Lloh5:
	adrp	x8, _FE_HAS_CARRIER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	orr	w1, w1, w8
	str	w1, [x20]
LBB0_9:
	mvn	w8, w22
	tst	w8, #0x1e
	b.eq	LBB0_11
; %bb.10:
	and	w8, w23, #0x1e
	cmp	w8, #30
	b.ne	LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _FE_HAS_SYNC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w1, w1, w8
	str	w1, [x20]
LBB0_12:
	orr	w9, w22, w23
	tst	w9, #0x1000
	cset	w8, eq
	tbz	w9, #12, LBB0_15
; %bb.13:
	and	w9, w22, #0xe0
	cbz	w9, LBB0_15
; %bb.14:
Lloh11:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w1, w1, w9
	str	w1, [x20]
LBB0_15:
	tbnz	w8, #0, LBB0_23
; %bb.16:
	mov	x0, x21
	mov	w1, #554
	bl	_dib8000_read_word
Lloh14:
	adrp	x22, _FE_HAS_VITERBI@GOTPAGE
Lloh15:
	ldr	x22, [x22, _FE_HAS_VITERBI@GOTPAGEOFF]
	tbz	w0, #0, LBB0_18
; %bb.17:
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_18:
	mov	x0, x21
	mov	w1, #555
	bl	_dib8000_read_word
	tbz	w0, #0, LBB0_20
; %bb.19:
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
LBB0_20:
	mov	x0, x21
	mov	w1, #556
	bl	_dib8000_read_word
	tbnz	w0, #0, LBB0_22
; %bb.21:
	ldr	w1, [x20]
	b	LBB0_23
LBB0_22:
	ldr	w8, [x22]
	ldr	w9, [x20]
	orr	w1, w9, w8
	str	w1, [x20]
LBB0_23:
	mov	x0, x19
	bl	_dib8000_get_stats
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NUMBER_OF_FRONTENDS,8,3    ; @MAX_NUMBER_OF_FRONTENDS
	.comm	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.no_dead_strip	_dib8000_read_status
.subsections_via_symbols
