	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_vid_reg
_show_vid_reg:                          ## @show_vid_reg
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_lm85_update_device
	movq	(%rax), %rcx
	movq	_adt7463@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	sete	%dl
	movq	_adt7468@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%cl
	orb	%dl, %cl
	movl	8(%rax), %edx
	movzbl	%dl, %esi
	shrl	$7, %esi
	andb	%cl, %sil
	movzbl	%sil, %edi
	shll	$5, %edi
	orl	$31, %edi
	andl	%edx, %edi
	movl	12(%rax), %esi
	callq	_vid_from_reg
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_sprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_adt7463,8,3                    ## @adt7463
	.comm	_adt7468,8,3                    ## @adt7468
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_vid_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_vid_reg
_show_vid_reg:                          ; @show_vid_reg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_lm85_update_device
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _adt7463@GOTPAGE
Lloh1:
	ldr	x9, [x9, _adt7463@GOTPAGEOFF]
Lloh2:
	adrp	x10, _adt7468@GOTPAGE
Lloh3:
	ldr	x10, [x10, _adt7468@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x10
	ccmp	x8, x9, #4, ne
	ldp	w8, w1, [x0, #8]
	and	w9, w8, #0x80
	ccmp	w9, #0, #4, eq
	mov	w9, #63
	mov	w10, #31
	csel	w9, w10, w9, eq
	and	w0, w8, w9
	bl	_vid_from_reg
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sprintf
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_adt7463,8,3                    ; @adt7463
	.comm	_adt7468,8,3                    ; @adt7468
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d\n"

	.no_dead_strip	_show_vid_reg
.subsections_via_symbols
