	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bpsnr_show
_bpsnr_show:                            ## @bpsnr_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	callq	_dev_get_drvdata
	cmpl	$0, 8(%rax)
	je	LBB0_1
## %bb.2:
	movq	(%rax), %rdi
	leaq	-48(%rbp), %rcx
	movl	$80, %esi
	xorl	%edx, %edx
	movl	$32, %r8d
	callq	_i2c_read_regs16
	testq	%rax, %rax
	js	LBB0_4
## %bb.3:
	cmpb	$-1, -48(%rbp)
	je	LBB0_4
## %bb.5:
	movb	$0, -17(%rbp)
	leaq	L_.str.1(%rip), %rsi
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movabsq	$2905246122659662, %rax         ## imm = 0xA524E53204F4E
	movq	%rax, (%rbx)
	movl	$7, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_8
## %bb.7:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_bpsnr_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bpsnr_show
_bpsnr_show:                            ; @bpsnr_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_dev_get_drvdata
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x0, [x0]
	add	x3, sp, #8
	mov	w1, #80
	mov	w2, #0
	mov	w4, #32
	bl	_i2c_read_regs16
	tbnz	x0, #63, LBB0_5
; %bb.2:
	ldrb	w8, [sp, #8]
	cmp	w8, #255
	b.eq	LBB0_5
; %bb.3:
	strb	wzr, [sp, #39]
	add	x8, sp, #8
	str	x8, [sp]
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	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_6:
	ldur	x8, [x29, #-24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"%s\n"

	.no_dead_strip	_bpsnr_show
.subsections_via_symbols
