	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function af9033_read_status
_af9033_read_status:                    ## @af9033_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	88(%rdi), %r13
	movq	32(%r13), %r12
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	$0, (%r15)
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8388679, %esi                  ## imm = 0x800047
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_43:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	%ebx, %r15d
LBB0_44:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.45:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	-84(%rbp), %eax
	cmpl	$2, %eax
	je	LBB0_10
## %bb.2:
	cmpl	$1, %eax
	jne	LBB0_4
## %bb.3:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
LBB0_4:
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8451497, %esi                  ## imm = 0x80F5A9
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.5:
	testb	$1, -84(%rbp)
	je	LBB0_7
## %bb.6:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
LBB0_7:
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8452505, %esi                  ## imm = 0x80F999
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.8:
	testb	$1, -84(%rbp)
	je	LBB0_10
## %bb.9:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rax
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
LBB0_10:
	movl	(%r15), %eax
	movl	%eax, (%r13)
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_17
## %bb.11:
	cmpq	$0, 24(%r13)
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	je	LBB0_14
## %bb.12:
	movl	$8388682, %esi                  ## imm = 0x80004A
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.13:
	imull	$-1000, -84(%rbp), %eax         ## imm = 0xFC18
	jmp	LBB0_16
LBB0_17:
	movl	$1, 72(%r14)
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	80(%r14), %rdx
	movq	%rcx, 8(%rdx)
	jmp	LBB0_18
LBB0_14:
	movl	$8388855, %esi                  ## imm = 0x8000F7
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.15:
	imull	$1000, -84(%rbp), %eax          ## imm = 0x3E8
	addl	$-100000, %eax                  ## imm = 0xFFFE7960
LBB0_16:
	movl	$1, 72(%r14)
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	80(%r14), %rdx
	movq	%rcx, 8(%rdx)
	movl	%eax, (%rdx)
	movl	(%r13), %eax
LBB0_18:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_39
## %bb.19:
	movl	20(%r13), %edi
	leaq	-80(%rbp), %rdx
	movl	$8388652, %esi                  ## imm = 0x80002C
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.20:
	movl	-76(%rbp), %r15d
	movl	-72(%rbp), %eax
	shll	$16, %eax
	shll	$8, %r15d
	orl	%eax, %r15d
	orl	-80(%rbp), %r15d
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8451979, %esi                  ## imm = 0x80F78B
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.21:
	movl	-84(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_23
## %bb.22:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r15d
LBB0_23:
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8452352, %esi                  ## imm = 0x80F900
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.24:
	movl	-84(%rbp), %eax
	andl	$3, %eax
	cmpl	$2, %eax
	je	LBB0_28
## %bb.25:
	cmpl	$1, %eax
	je	LBB0_30
## %bb.26:
	testl	%eax, %eax
	jne	LBB0_29
## %bb.27:
	shll	$2, %r15d
	jmp	LBB0_30
LBB0_39:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	64(%r14), %rdx
	movq	%rcx, 8(%rdx)
LBB0_40:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	testl	%eax, (%rcx)
	je	LBB0_44
## %bb.41:
	movl	20(%r13), %edi
	leaq	-80(%rbp), %rdx
	movl	$8388658, %esi                  ## imm = 0x800032
	movl	$7, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.42:
	movl	-76(%rbp), %eax
	movl	-68(%rbp), %ecx
	shll	$8, %eax
	movl	-64(%rbp), %edx
	shll	$16, %edx
	shll	$8, %ecx
	orl	%edx, %ecx
	movl	-56(%rbp), %edx
	shll	$8, %edx
	orl	-80(%rbp), %eax
	orl	-72(%rbp), %ecx
	orl	-60(%rbp), %edx
	imull	$1632, %edx, %esi               ## imm = 0x660
	movd	%eax, %xmm0
	pinsrd	$1, %edx, %xmm0
	pinsrd	$2, %ecx, %xmm0
	pinsrd	$3, %esi, %xmm0
	movdqu	4(%r13), %xmm1
	paddd	%xmm1, %xmm0
	movdqu	%xmm0, 4(%r13)
	movl	$1, 48(%r14)
	movq	_FE_SCALE_COUNTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	56(%r14), %rcx
	movq	%rax, 8(%rcx)
	pextrd	$1, %xmm0, (%rcx)
	movl	$1, 32(%r14)
	movq	40(%r14), %rcx
	movq	%rax, 8(%rcx)
	movd	%xmm0, (%rcx)
	movl	$1, 16(%r14)
	movq	24(%r14), %rcx
	movq	%rax, 8(%rcx)
	pextrd	$3, %xmm0, (%rcx)
	movl	$1, (%r14)
	movq	8(%r14), %rcx
	movq	%rax, 8(%rcx)
	pextrd	$2, %xmm0, (%rcx)
	jmp	LBB0_44
LBB0_28:
	addl	%r15d, %r15d
	jmp	LBB0_30
LBB0_29:
	xorl	%r15d, %r15d
LBB0_30:
	movl	20(%r13), %edi
	leaq	-84(%rbp), %rdx
	movl	$8452355, %esi                  ## imm = 0x80F903
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_43
## %bb.31:
	movl	-84(%rbp), %eax
	andl	$3, %eax
	cmpl	$2, %eax
	je	LBB0_36
## %bb.32:
	cmpl	$1, %eax
	je	LBB0_35
## %bb.33:
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_38
## %bb.34:
	movl	%r15d, %edi
	movl	$653799, %esi                   ## imm = 0x9F9E7
	movl	$1689999, %edx                  ## imm = 0x19C98F
	callq	_clamp
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_intlog10
	movq	%rax, %rbx
	movl	$1690000, %edi                  ## imm = 0x19C990
	subl	%r15d, %edi
	movl	$671086040, -88(%rbp)           ## 4-byte Folded Spill
                                        ## imm = 0x27FFF5D8
	movl	$13000, %r15d                   ## imm = 0x32C8
	jmp	LBB0_37
LBB0_36:
	movl	%r15d, %edi
	movl	$193246, %esi                   ## imm = 0x2F2DE
	movl	$424999, %edx                   ## imm = 0x67C27
	callq	_clamp
	movl	%eax, %r15d
	leal	-193000(%r15), %edi
	callq	_intlog10
	movq	%rax, %rbx
	movl	$425000, %edi                   ## imm = 0x67C28
	subl	%r15d, %edi
	movl	$-134214528, -88(%rbp)          ## 4-byte Folded Spill
                                        ## imm = 0xF8000C80
	movl	$8000, %r15d                    ## imm = 0x1F40
	jmp	LBB0_37
LBB0_35:
	movl	%r15d, %edi
	movl	$371105, %esi                   ## imm = 0x5A9A1
	movl	$827999, %edx                   ## imm = 0xCA25F
	callq	_clamp
	movl	%eax, %r15d
	leal	-370000(%r15), %edi
	callq	_intlog10
	movq	%rax, %rbx
	movl	$828000, %edi                   ## imm = 0xCA260
	subl	%r15d, %edi
	movl	$1409286944, -88(%rbp)          ## 4-byte Folded Spill
                                        ## imm = 0x54000320
	movl	$6000, %r15d                    ## imm = 0x1770
LBB0_37:
	callq	_intlog10
	subl	%eax, %ebx
	imull	%r15d, %ebx
	addl	-88(%rbp), %ebx                 ## 4-byte Folded Reload
	sarl	$24, %ebx
LBB0_38:
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	64(%r14), %rcx
	movq	%rax, 8(%rcx)
	movl	%ebx, (%rcx)
	movl	(%r13), %eax
	jmp	LBB0_40
LBB0_46:
	callq	___stack_chk_fail
	.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
	.comm	_FE_SCALE_DECIBEL,8,3           ## @FE_SCALE_DECIBEL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ## @FE_SCALE_NOT_AVAILABLE
L_.str.1:                               ## @.str.1
	.asciz	"cnr=%u\n"

	.comm	_FE_SCALE_COUNTER,8,3           ## @FE_SCALE_COUNTER
L_.str.2:                               ## @.str.2
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function af9033_read_status
_af9033_read_status:                    ; @af9033_read_status
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w24, #44
	movk	w24, #128, lsl #16
	ldr	x23, [x0, #88]
	ldr	x20, [x23, #32]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	str	wzr, [x22]
	ldr	w0, [x23, #20]
	add	w1, w24, #27
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbz	w0, LBB0_4
LBB0_1:
	str	x21, [sp]
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
LBB0_2:
	ldr	x8, [sp, #40]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_46
; %bb.3:
	mov	x0, x21
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_4:
	ldr	w8, [sp, #8]
	cmp	w8, #2
	b.eq	LBB0_13
; %bb.5:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.6:
Lloh10:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
LBB0_7:
	mov	w25, #62889
	movk	w25, #128, lsl #16
	ldr	w0, [x23, #20]
	add	x2, sp, #8
	mov	w1, #62889
	movk	w1, #128, lsl #16
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.8:
	ldrb	w8, [sp, #8]
	tbz	w8, #0, LBB0_10
; %bb.9:
Lloh13:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh17:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
Lloh19:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh20:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh21:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_10:
	ldr	w0, [x23, #20]
	add	w1, w25, #1008
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.11:
	ldrb	w8, [sp, #8]
	tbz	w8, #0, LBB0_13
; %bb.12:
Lloh22:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh24:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh25:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh28:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh29:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh31:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
Lloh34:
	adrp	x10, _FE_HAS_LOCK@GOTPAGE
Lloh35:
	ldr	x10, [x10, _FE_HAS_LOCK@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh36:
	ldr	w9, [x10]
	orr	w8, w8, w9
	ldr	w9, [x22]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_13:
	ldr	w8, [x22]
	str	w8, [x23]
Lloh37:
	adrp	x9, _FE_HAS_SIGNAL@GOTPAGE
Lloh38:
	ldr	x9, [x9, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.14:
	ldr	x8, [x23, #24]
	ldr	w0, [x23, #20]
	cbz	x8, LBB0_18
; %bb.15:
	add	w1, w24, #30
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.16:
	ldr	w8, [sp, #8]
	mov	w9, #-1000
	mul	w8, w8, w9
	b	LBB0_20
LBB0_17:
	mov	w9, #1
	str	w9, [x19, #72]
Lloh40:
	adrp	x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh41:
	ldr	x9, [x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	ldr	x10, [x19, #80]
	str	x9, [x10, #8]
	b	LBB0_21
LBB0_18:
	add	w1, w24, #203
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.19:
	ldr	w8, [sp, #8]
	mov	w9, #1000
	mov	w10, #31072
	movk	w10, #65534, lsl #16
	madd	w8, w8, w9, w10
LBB0_20:
	mov	w9, #1
Lloh43:
	adrp	x10, _FE_SCALE_DECIBEL@GOTPAGE
Lloh44:
	ldr	x10, [x10, _FE_SCALE_DECIBEL@GOTPAGEOFF]
	str	w9, [x19, #72]
Lloh45:
	ldr	x9, [x10]
	ldr	x10, [x19, #80]
	str	x9, [x10, #8]
	str	w8, [x10]
	ldr	w8, [x23]
LBB0_21:
Lloh46:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh47:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.22:
	ldr	w0, [x23, #20]
	add	x2, sp, #12
	mov	w1, #44
	movk	w1, #128, lsl #16
	mov	w3, #3
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.23:
	mov	w25, #62889
	movk	w25, #128, lsl #16
	ldp	w27, w22, [sp, #16]
	ldr	w26, [sp, #12]
	ldr	w0, [x23, #20]
	add	w1, w25, #482
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.24:
	lsl	w8, w27, #8
	orr	w8, w8, w22, lsl #16
	orr	w8, w8, w26
	ldr	w9, [sp, #8]
	udiv	w10, w8, w9
	cmp	w9, #0
	csel	w22, w8, w10, eq
	ldr	w0, [x23, #20]
	add	w1, w25, #855
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.25:
	ldr	w8, [sp, #8]
	and	w8, w8, #0x3
	cmp	w8, #2
	b.eq	LBB0_34
; %bb.26:
	cmp	w8, #1
	b.eq	LBB0_36
; %bb.27:
	cbnz	w8, LBB0_35
; %bb.28:
	lsl	w22, w22, #2
	b	LBB0_36
LBB0_29:
Lloh49:
	adrp	x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh50:
	ldr	x9, [x9, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	ldr	x10, [x19, #64]
	str	x9, [x10, #8]
LBB0_30:
Lloh52:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh53:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_33
; %bb.31:
	ldr	w0, [x23, #20]
	add	w1, w24, #6
	add	x2, sp, #12
	mov	w3, #7
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.32:
	ldp	w9, w8, [sp, #12]
	orr	w8, w9, w8, lsl #8
	ldp	w10, w9, [sp, #20]
	lsl	w9, w9, #8
	ldp	w11, w12, [sp, #28]
	orr	w9, w9, w11, lsl #16
	orr	w9, w9, w10
	ldr	w10, [sp, #36]
	orr	w10, w12, w10, lsl #8
	ldp	w11, w12, [x23, #4]
	add	w8, w11, w8
	add	w11, w12, w10
	stp	w8, w11, [x23, #4]
	ldp	w12, w13, [x23, #12]
	add	w9, w12, w9
	mov	w12, #1632
	madd	w10, w10, w12, w13
	stp	w9, w10, [x23, #12]
	mov	w12, #1
	str	w12, [x19, #48]
Lloh55:
	adrp	x13, _FE_SCALE_COUNTER@GOTPAGE
Lloh56:
	ldr	x13, [x13, _FE_SCALE_COUNTER@GOTPAGEOFF]
Lloh57:
	ldr	x13, [x13]
	ldr	x14, [x19, #56]
	str	w11, [x14]
	str	x13, [x14, #8]
	str	w12, [x19, #32]
	ldr	x11, [x19, #40]
	str	x13, [x11, #8]
	str	w8, [x11]
	str	w12, [x19, #16]
	ldr	x8, [x19, #24]
	str	x13, [x8, #8]
	str	w10, [x8]
	str	w12, [x19]
	ldr	x8, [x19, #8]
	str	x13, [x8, #8]
	str	w9, [x8]
	b	LBB0_2
LBB0_33:
	mov	w21, #0
	b	LBB0_2
LBB0_34:
	lsl	w22, w22, #1
	b	LBB0_36
LBB0_35:
	mov	w22, #0
LBB0_36:
	ldr	w0, [x23, #20]
	add	w1, w25, #858
	add	x2, sp, #8
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_1
; %bb.37:
	ldr	w8, [sp, #8]
	and	w8, w8, #0x3
	cmp	w8, #2
	b.eq	LBB0_41
; %bb.38:
	cmp	w8, #1
	b.eq	LBB0_42
; %bb.39:
	cbnz	w8, LBB0_44
; %bb.40:
	mov	w25, #51599
	movk	w25, #25, lsl #16
	mov	x0, x22
	mov	w1, #63975
	movk	w1, #9, lsl #16
	mov	w2, #51599
	movk	w2, #25, lsl #16
	bl	_clamp
	mov	x22, x0
	bl	_intlog10
	mov	x21, x0
	sub	w8, w25, w22
	add	w0, w8, #1
	mov	w22, #62936
	movk	w22, #10239, lsl #16
	mov	w25, #13000
	b	LBB0_43
LBB0_41:
	mov	w25, #31783
	movk	w25, #6, lsl #16
	mov	x0, x22
	mov	w1, #62174
	movk	w1, #2, lsl #16
	mov	w2, #31783
	movk	w2, #6, lsl #16
	bl	_clamp
	mov	x22, x0
	sub	w8, w0, #47, lsl #12            ; =192512
	sub	w0, w8, #488
	bl	_intlog10
	mov	x21, x0
	sub	w8, w25, w22
	add	w0, w8, #1
	mov	w22, #3200
	movk	w22, #63488, lsl #16
	mov	w25, #8000
	b	LBB0_43
LBB0_42:
	mov	w25, #41567
	movk	w25, #12, lsl #16
	mov	x0, x22
	mov	w1, #43425
	movk	w1, #5, lsl #16
	mov	w2, #41567
	movk	w2, #12, lsl #16
	bl	_clamp
	mov	x22, x0
	sub	w8, w0, #90, lsl #12            ; =368640
	sub	w0, w8, #1360
	bl	_intlog10
	mov	x21, x0
	sub	w8, w25, w22
	add	w0, w8, #1
	mov	w22, #800
	movk	w22, #21504, lsl #16
	mov	w25, #6000
LBB0_43:
	bl	_intlog10
	sub	w8, w21, w0
	madd	w8, w25, w8, w22
	asr	w21, w8, #24
	b	LBB0_45
LBB0_44:
	mov	w21, #0
LBB0_45:
	str	x21, [sp]
Lloh58:
	adrp	x1, l_.str.1@PAGE
Lloh59:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
Lloh60:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh61:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh62:
	ldr	x8, [x8]
	ldr	x9, [x19, #64]
	str	x8, [x9, #8]
	str	w21, [x9]
	ldr	w8, [x23]
	b	LBB0_30
LBB0_46:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh26
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpAdd	Lloh58, Lloh59
	.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
	.comm	_FE_SCALE_DECIBEL,8,3           ; @FE_SCALE_DECIBEL
	.comm	_FE_SCALE_NOT_AVAILABLE,8,3     ; @FE_SCALE_NOT_AVAILABLE
l_.str.1:                               ; @.str.1
	.asciz	"cnr=%u\n"

	.comm	_FE_SCALE_COUNTER,8,3           ; @FE_SCALE_COUNTER
l_.str.2:                               ; @.str.2
	.asciz	"failed=%d\n"

	.no_dead_strip	_af9033_read_status
.subsections_via_symbols
