	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9013_read_status
_af9013_read_status:                    ## @af9013_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, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movl	$0, (%rsi)
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	movl	$54535, %esi                    ## imm = 0xD507
	movl	$6, %edx
	movl	$1, %ecx
	callq	_af9013_read_reg_bits
	testl	%eax, %eax
	jne	LBB0_24
## %bb.1:
	cmpq	$0, -32(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_5
LBB0_3:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_23
LBB0_5:
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	movl	$54064, %esi                    ## imm = 0xD330
	movl	$3, %edx
	movl	$1, %ecx
	callq	_af9013_read_reg_bits
	testl	%eax, %eax
	jne	LBB0_24
## %bb.6:
	cmpq	$0, -32(%rbp)
	je	LBB0_7
## %bb.8:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_10
LBB0_7:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	LBB0_23
LBB0_10:
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	movl	$54067, %esi                    ## imm = 0xD333
	movl	$7, %edx
	movl	$1, %ecx
	callq	_af9013_read_reg_bits
	testl	%eax, %eax
	jne	LBB0_24
## %bb.11:
	cmpq	$0, -32(%rbp)
	je	LBB0_12
## %bb.13:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_14
LBB0_12:
	movl	(%rbx), %eax
LBB0_14:
	testl	%eax, %eax
	je	LBB0_15
LBB0_23:
	movq	%r14, %rdi
	callq	_af9013_update_statistics
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	movl	$54068, %esi                    ## imm = 0xD334
	movl	$6, %edx
	movl	$1, %ecx
	callq	_af9013_read_reg_bits
	testl	%eax, %eax
	jne	LBB0_24
## %bb.16:
	cmpq	$0, -32(%rbp)
	je	LBB0_17
## %bb.18:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_19
LBB0_17:
	movl	(%rbx), %eax
LBB0_19:
	testl	%eax, %eax
	jne	LBB0_23
## %bb.20:
	leaq	-32(%rbp), %r8
	movq	%r15, %rdi
	movl	$53664, %esi                    ## imm = 0xD1A0
	movl	$6, %edx
	movl	$1, %ecx
	callq	_af9013_read_reg_bits
	testl	%eax, %eax
	jne	LBB0_24
## %bb.21:
	cmpq	$0, -32(%rbp)
	je	LBB0_23
## %bb.22:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_23
	.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	_af9013_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9013_read_status
_af9013_read_status:                    ; @af9013_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	x20, x1
	mov	x19, x0
	ldr	x21, [x0]
	str	wzr, [x1]
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #54535
	mov	w2, #6
	mov	w3, #1
	bl	_af9013_read_reg_bits
	cbnz	w0, LBB0_14
; %bb.1:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _FE_HAS_LOCK@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FE_HAS_LOCK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh14:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	cbnz	w8, LBB0_13
	b	LBB0_4
LBB0_3:
	ldr	w8, [x20]
	cbnz	w8, LBB0_13
LBB0_4:
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #54064
	mov	w2, #3
	mov	w3, #1
	bl	_af9013_read_reg_bits
	cbnz	w0, LBB0_14
; %bb.5:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh15:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh19:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh22:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh23:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	cbnz	w8, LBB0_13
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20]
	cbnz	w8, LBB0_13
LBB0_8:
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #54067
	mov	w2, #7
	mov	w3, #1
	bl	_af9013_read_reg_bits
	cbnz	w0, LBB0_14
; %bb.9:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_11
; %bb.10:
Lloh24:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh26:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20]
LBB0_12:
	cbz	w8, LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_af9013_update_statistics
LBB0_14:
	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
LBB0_15:
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #54068
	mov	w2, #6
	mov	w3, #1
	bl	_af9013_read_reg_bits
	cbnz	w0, LBB0_14
; %bb.16:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_18
; %bb.17:
Lloh30:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh32:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh33:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x20]
	orr	w8, w8, w9
	str	w8, [x20]
	b	LBB0_19
LBB0_18:
	ldr	w8, [x20]
LBB0_19:
	cbnz	w8, LBB0_13
; %bb.20:
	add	x4, sp, #8
	mov	x0, x21
	mov	w1, #53664
	mov	w2, #6
	mov	w3, #1
	bl	_af9013_read_reg_bits
	cbnz	w0, LBB0_14
; %bb.21:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_13
; %bb.22:
Lloh36:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh34
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.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	_af9013_read_status
.subsections_via_symbols
