	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88ds3103_read_status
_m88ds3103_read_status:                 ## @m88ds3103_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	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	32(%rdi), %r13
	movq	24(%r13), %r14
	movl	$0, (%rsi)
	cmpl	$0, 20(%r13)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, %r15
	movl	(%rdi), %eax
	cmpl	$128, %eax
	je	LBB0_6
## %bb.3:
	cmpl	$129, %eax
	jne	LBB0_43
## %bb.4:
	movl	16(%r13), %edi
	leaq	-64(%rbp), %rdx
	movl	$209, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.5:
	movl	-64(%rbp), %eax
	notl	%eax
	testb	$7, %al
	je	LBB0_8
	jmp	LBB0_9
LBB0_1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	jmp	LBB0_44
LBB0_6:
	movl	16(%r13), %edi
	leaq	-64(%rbp), %rdx
	movl	$13, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.7:
	movl	-64(%rbp), %eax
	notl	%eax
	testb	$-113, %al
	jne	LBB0_9
LBB0_8:
	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
	movl	%ecx, (%r12)
LBB0_9:
	movl	(%r12), %eax
	movl	%eax, (%r13)
	movl	-64(%rbp), %edx
	movl	(%r12), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_24
## %bb.10:
	movl	(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_17
## %bb.11:
	cmpl	$128, %eax
	jne	LBB0_43
## %bb.12:
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$140, %esi
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.13:
	movl	-60(%rbp), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %r12d
	movl	-52(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$140, %esi
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.14:
	movl	-60(%rbp), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %eax
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	-52(%rbp), %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$140, %esi
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.15:
	movl	-76(%rbp), %eax                 ## 4-byte Reload
	imull	%eax, %eax
	shrl	%eax
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	imull	%edx, %edx
	shrl	%edx
	addl	%eax, %edx
	movl	-80(%rbp), %eax                 ## 4-byte Reload
	andl	$60, %eax
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	shll	$6, %ecx
	orl	%eax, %ecx
	shrl	$2, %ecx
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	andl	$60, %eax
	shll	$6, %r12d
	orl	%eax, %r12d
	shrl	$2, %r12d
	addl	%ecx, %r12d
	movl	-60(%rbp), %ecx
	movl	-56(%rbp), %eax
	shll	$6, %eax
	andl	$60, %ecx
	orl	%eax, %ecx
	shrl	$2, %ecx
	addl	%r12d, %ecx
	movl	-52(%rbp), %eax
	imull	%eax, %eax
	shrl	%eax
	addl	%edx, %eax
	movl	$2863311531, %edx               ## imm = 0xAAAAAAAB
	imulq	%rdx, %rcx
	shrq	$33, %rcx
	imulq	%rdx, %rax
	shrq	$33, %rax
	cmpl	%ecx, %eax
	jbe	LBB0_24
## %bb.16:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %edi
	callq	_intlog10
	imull	$10000, %eax, %edi              ## imm = 0x2710
	movl	$16777216, %esi                 ## imm = 0x1000000
	jmp	LBB0_22
LBB0_17:
	movl	16(%r13), %edi
	leaq	-64(%rbp), %rdx
	movl	$255, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.18:
	movl	-64(%rbp), %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	16(%r13), %edi
	leaq	-64(%rbp), %rdx
	movl	$255, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.19:
	movl	-64(%rbp), %r12d
	movl	16(%r13), %edi
	leaq	-64(%rbp), %rdx
	movl	$255, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.20:
	addl	-68(%rbp), %r12d                ## 4-byte Folded Reload
	addl	-64(%rbp), %r12d
	movl	%r12d, %edi
	movl	$24, %esi
	callq	_DIV_ROUND_CLOSEST
	testl	%eax, %eax
	je	LBB0_24
## %bb.21:
	movl	%eax, %edi
	callq	_intlog2
	imull	$10000, %eax, %ebx              ## imm = 0x2710
	movl	$10, %edi
	callq	_intlog2
	movl	%ebx, %edi
	movl	%eax, %esi
LBB0_22:
	callq	_div_u64
	testl	%eax, %eax
	je	LBB0_24
## %bb.23:
	movq	_FE_SCALE_DECIBEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	24(%r15), %rdx
	movq	%rcx, 8(%rdx)
	movl	%eax, (%rdx)
	jmp	LBB0_25
LBB0_24:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%r15), %rcx
	movq	%rax, 8(%rcx)
LBB0_25:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_42
## %bb.26:
	movl	(%r15), %eax
	cmpl	$128, %eax
	je	LBB0_33
## %bb.27:
	cmpl	$129, %eax
	jne	LBB0_43
## %bb.28:
	movl	16(%r13), %edi
	movl	$249, %esi
	movl	$4, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.29:
	movl	16(%r13), %edi
	leaq	-72(%rbp), %rdx
	movl	$248, %esi
	callq	_regmap_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.30:
	testb	$16, -72(%rbp)
	jne	LBB0_41
## %bb.31:
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$246, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.32:
	movl	-56(%rbp), %eax
	shll	$8, %eax
	orl	-60(%rbp), %eax
	addl	%eax, 4(%r13)
	addl	$8388608, 8(%r13)               ## imm = 0x800000
	movl	%eax, 12(%r13)
	movl	-72(%rbp), %edx
	orl	$16, %edx
	movl	%edx, -72(%rbp)
	movl	16(%r13), %edi
	movl	$248, %esi
LBB0_40:
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
	jmp	LBB0_41
LBB0_43:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_44:
	subl	(%rax), %ebx
LBB0_45:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_46:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_48
## %bb.47:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_FE_SCALE_NOT_AVAILABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	movq	%rax, 8(%rcx)
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_33:
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$213, %esi
	movl	$3, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.34:
	movl	-56(%rbp), %r12d
	movl	-52(%rbp), %eax
	shll	$16, %eax
	shll	$8, %r12d
	orl	%eax, %r12d
	orl	-60(%rbp), %r12d
	cmpl	$4001, %r12d                    ## imm = 0xFA1
	jb	LBB0_41
## %bb.35:
	movl	16(%r13), %edi
	leaq	-60(%rbp), %rdx
	movl	$247, %esi
	movl	$2, %ecx
	callq	_regmap_bulk_read
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.36:
	movl	-56(%rbp), %eax
	shll	$8, %eax
	orl	-60(%rbp), %eax
	addl	%eax, 4(%r13)
	shll	$5, %r12d
	addl	%r12d, 8(%r13)
	movl	%eax, 12(%r13)
	movl	16(%r13), %edi
	movl	$209, %esi
	movl	$1, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.37:
	movl	16(%r13), %edi
	movl	$249, %esi
	movl	$1, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.38:
	movl	16(%r13), %edi
	movl	$249, %esi
	xorl	%edx, %edx
	callq	_regmap_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_45
## %bb.39:
	movl	16(%r13), %edi
	movl	$209, %esi
	xorl	%edx, %edx
	jmp	LBB0_40
LBB0_41:
	movq	_FE_SCALE_COUNTER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	16(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	4(%r13), %edx
	movl	%edx, (%rcx)
	movq	8(%r15), %rcx
	movq	%rax, 8(%rcx)
	movl	8(%r13), %eax
	movl	%eax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_46
LBB0_48:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid delivery_system\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"lock=%02x status=%02x\n"

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

	.comm	_M88DS3103_SNR_ITERATIONS,4,2   ## @M88DS3103_SNR_ITERATIONS
	.no_dead_strip	_m88ds3103_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88ds3103_read_status
_m88ds3103_read_status:                 ; @m88ds3103_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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x23, [x0, #32]
	ldr	x19, [x23, #24]
	str	wzr, [x1]
	ldr	w8, [x23, #20]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x22, x1
	mov	x20, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #129
	b.ne	LBB0_34
; %bb.3:
	ldr	w0, [x23, #16]
	add	x2, sp, #24
	mov	w1, #209
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.4:
	ldr	w8, [sp, #24]
	mvn	w8, w8
	tst	w8, #0x7
	b.eq	LBB0_8
	b	LBB0_9
LBB0_5:
Lloh3:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_35
LBB0_6:
	ldr	w0, [x23, #16]
	add	x2, sp, #24
	mov	w1, #13
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.7:
	ldr	w8, [sp, #24]
	mov	w9, #143
	bics	wzr, w9, w8
	b.ne	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _FE_HAS_VITERBI@GOTPAGE
Lloh12:
	ldr	x10, [x10, _FE_HAS_VITERBI@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh13:
	ldr	w9, [x10]
	orr	w8, w8, w9
Lloh14:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x22]
LBB0_9:
	ldr	w8, [x22]
	str	w8, [x23]
	ldr	w8, [sp, #24]
	ldr	w9, [x22]
	stp	x8, x9, [sp]
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	ldr	w8, [x23]
Lloh22:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh23:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.10:
	ldr	w8, [x20]
	cmp	w8, #129
	b.eq	LBB0_17
; %bb.11:
	cmp	w8, #128
	b.ne	LBB0_34
; %bb.12:
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #140
	mov	w3, #3
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.13:
	ldp	w24, w22, [sp, #28]
	ldr	w25, [sp, #36]
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #140
	mov	w3, #3
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.14:
	ldp	w27, w26, [sp, #28]
	ldr	w28, [sp, #36]
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #140
	mov	w3, #3
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.15:
	mul	w8, w28, w28
	lsr	w8, w8, #1
	mul	w9, w25, w25
	add	w8, w8, w9, lsr #1
	and	w9, w27, #0x3c
	bfi	w9, w26, #6, #26
	lsr	w9, w9, #2
	and	w10, w24, #0x3c
	bfi	w10, w22, #6, #26
	add	w9, w9, w10, lsr #2
	ldp	w11, w10, [sp, #28]
	and	w11, w11, #0x3c
	bfi	w11, w10, #6, #26
	ldr	w10, [sp, #36]
	mul	w10, w10, w10
	add	w9, w9, w11, lsr #2
	add	w10, w8, w10, lsr #1
	mov	w11, #43691
	movk	w11, #43690, lsl #16
	umull	x8, w9, w11
	lsr	x8, x8, #33
	umull	x9, w10, w11
	lsr	x9, x9, #33
	cmp	w9, w8
	b.ls	LBB0_24
; %bb.16:
	udiv	w0, w9, w8
	bl	_intlog10
	mov	w8, #10000
	mul	w0, w0, w8
	mov	w1, #16777216
	b	LBB0_22
LBB0_17:
	ldr	w0, [x23, #16]
	add	x2, sp, #24
	mov	w1, #255
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.18:
	ldr	w22, [sp, #24]
	ldr	w0, [x23, #16]
	add	x2, sp, #24
	mov	w1, #255
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.19:
	ldr	w24, [sp, #24]
	ldr	w0, [x23, #16]
	add	x2, sp, #24
	mov	w1, #255
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.20:
	ldr	w8, [sp, #24]
	add	w9, w24, w22
	add	w0, w8, w9
	mov	w1, #24
	bl	_DIV_ROUND_CLOSEST
	cbz	w0, LBB0_24
; %bb.21:
	bl	_intlog2
	mov	w8, #10000
	mul	w21, w0, w8
	mov	w0, #10
	bl	_intlog2
	mov	x1, x0
	mov	x0, x21
LBB0_22:
	bl	_div_u64
	cbz	w0, LBB0_24
; %bb.23:
Lloh25:
	adrp	x8, _FE_SCALE_DECIBEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FE_SCALE_DECIBEL@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	ldr	x9, [x20, #24]
	str	x8, [x9, #8]
	str	w0, [x9]
	b	LBB0_25
LBB0_24:
Lloh28:
	adrp	x8, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	ldr	x9, [x20, #24]
	str	x8, [x9, #8]
LBB0_25:
	ldr	w8, [x23]
Lloh31:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh32:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_39
; %bb.26:
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_40
; %bb.27:
	cmp	w8, #129
	b.ne	LBB0_34
; %bb.28:
	ldr	w0, [x23, #16]
	mov	w1, #249
	mov	w2, #4
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.29:
	ldr	w0, [x23, #16]
	add	x2, sp, #20
	mov	w1, #248
	bl	_regmap_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.30:
	ldrb	w8, [sp, #20]
	tbnz	w8, #4, LBB0_47
; %bb.31:
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #246
	mov	w3, #2
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.32:
	ldp	w9, w8, [sp, #28]
	orr	w8, w9, w8, lsl #8
	ldur	d0, [x23, #4]
	movi.2s	v1, #128, lsl #16
	mov.s	v1[0], w8
	add.2s	v0, v0, v1
	stur	d0, [x23, #4]
	str	w8, [x23, #12]
	ldr	w8, [sp, #20]
	orr	w2, w8, #0x10
	str	w2, [sp, #20]
	ldr	w0, [x23, #16]
	mov	w1, #248
LBB0_33:
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_36
	b	LBB0_47
LBB0_34:
Lloh34:
	adrp	x1, l_.str@PAGE
Lloh35:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_35:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_36:
	str	x21, [sp]
Lloh38:
	adrp	x1, l_.str.2@PAGE
Lloh39:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_37:
	ldr	x8, [sp, #40]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
; %bb.38:
	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_39:
	mov	w21, #0
Lloh43:
	adrp	x8, _FE_SCALE_NOT_AVAILABLE@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FE_SCALE_NOT_AVAILABLE@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	str	x8, [x9, #8]
	ldr	x9, [x20, #8]
	str	x8, [x9, #8]
	b	LBB0_37
LBB0_40:
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #213
	mov	w3, #3
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.41:
	ldp	w9, w8, [sp, #32]
	ldr	w10, [sp, #28]
	lsl	w9, w9, #8
	orr	w8, w9, w8, lsl #16
	orr	w22, w8, w10
	cmp	w22, #4001
	b.lo	LBB0_47
; %bb.42:
	ldr	w0, [x23, #16]
	add	x2, sp, #28
	mov	w1, #247
	mov	w3, #2
	bl	_regmap_bulk_read
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.43:
	ldp	w9, w8, [sp, #28]
	orr	w8, w9, w8, lsl #8
	ldp	w9, w10, [x23, #4]
	add	w9, w9, w8
	add	w10, w10, w22, lsl #5
	stp	w9, w10, [x23, #4]
	str	w8, [x23, #12]
	ldr	w0, [x23, #16]
	mov	w1, #209
	mov	w2, #1
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.44:
	ldr	w0, [x23, #16]
	mov	w1, #249
	mov	w2, #1
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.45:
	ldr	w0, [x23, #16]
	mov	w1, #249
	mov	w2, #0
	bl	_regmap_write
	mov	x21, x0
	cbnz	w0, LBB0_36
; %bb.46:
	ldr	w0, [x23, #16]
	mov	w1, #209
	mov	w2, #0
	b	LBB0_33
LBB0_47:
	mov	w21, #0
Lloh46:
	adrp	x8, _FE_SCALE_COUNTER@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FE_SCALE_COUNTER@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	str	x8, [x9, #8]
	ldr	w10, [x23, #4]
	str	w10, [x9]
	ldr	x9, [x20, #8]
	str	x8, [x9, #8]
	ldr	w8, [x23, #8]
	str	w8, [x9]
	b	LBB0_37
LBB0_48:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid delivery_system\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"lock=%02x status=%02x\n"

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

	.comm	_M88DS3103_SNR_ITERATIONS,4,2   ; @M88DS3103_SNR_ITERATIONS
	.no_dead_strip	_m88ds3103_read_status
.subsections_via_symbols
