	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function snr_show
_snr_show:                              ## @snr_show
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	(%rbx), %rax
	movslq	12(%rax), %rbx
	movq	8(%r15), %rax
	movq	-384(%rax,%rbx,8), %rax
	movq	_DDB_TUNER_XO2@GOTPCREL(%rip), %rcx
	leaq	-192(,%rbx,4), %rdi
	addq	(%r15), %rdi
	cmpq	(%rcx), %rax
	jge	LBB0_1
## %bb.4:
	leaq	-64(%rbp), %rcx
	movl	$87, %esi
	movl	$256, %edx                      ## imm = 0x100
	movl	$32, %r8d
	callq	_i2c_read_regs16
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	addq	$-48, %rbx
	shlq	$2, %rbx
	addq	(%r15), %rbx
	leaq	-64(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$80, %esi
	movl	$256, %edx                      ## imm = 0x100
	movl	$32, %r8d
	callq	_i2c_read_regs16
	testq	%rax, %rax
	js	LBB0_2
LBB0_6:
	movb	$0, -33(%rbp)
	jmp	LBB0_7
LBB0_1:
	leaq	-64(%rbp), %rcx
	movl	$16, %esi
	movl	$16, %edx
	movl	$16, %r8d
	callq	_i2c_read_regs
	testq	%rax, %rax
	js	LBB0_2
## %bb.3:
	movb	$0, -48(%rbp)
LBB0_7:
	leaq	L_.str.1(%rip), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_8
LBB0_2:
	movabsq	$2905246122659662, %rax         ## imm = 0xA524E53204F4E
	movq	%rax, (%r14)
	movl	$7, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DDB_TUNER_XO2,8,3              ## @DDB_TUNER_XO2
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_snr_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function snr_show
_snr_show:                              ; @snr_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	x8, [x21]
	ldrsw	x8, [x8, #12]
	sub	x21, x8, #48
	ldp	x9, x8, [x0]
	ldr	x8, [x8, x21, lsl #3]
Lloh3:
	adrp	x10, _DDB_TUNER_XO2@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DDB_TUNER_XO2@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	add	x0, x9, x21, lsl #2
	cmp	x8, x10
	b.ge	LBB0_4
; %bb.1:
	add	x3, sp, #8
	mov	w1, #87
	mov	w2, #256
	mov	w4, #32
	bl	_i2c_read_regs16
	tbz	x0, #63, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	add	x0, x8, x21, lsl #2
	add	x3, sp, #8
	mov	w1, #80
	mov	w2, #256
	mov	w4, #32
	bl	_i2c_read_regs16
	tbnz	x0, #63, LBB0_6
LBB0_3:
	mov	w20, #31
	b	LBB0_5
LBB0_4:
	mov	w20, #16
	add	x3, sp, #8
	mov	w1, #16
	mov	w2, #16
	mov	w4, #16
	bl	_i2c_read_regs
	tbnz	x0, #63, LBB0_6
LBB0_5:
	add	x8, sp, #8
	strb	wzr, [x8, x20]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_7
LBB0_6:
	mov	x8, #20302
	movk	x8, #21280, lsl #16
	movk	x8, #21070, lsl #32
	movk	x8, #10, lsl #48
	str	x8, [x19]
	mov	w0, #7
LBB0_7:
	ldr	x8, [sp, #40]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_DDB_TUNER_XO2,8,3              ; @DDB_TUNER_XO2
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_snr_show
.subsections_via_symbols
