	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ADT7X10_REG_TO_TEMP
_ADT7X10_REG_TO_TEMP:                   ## @ADT7X10_REG_TO_TEMP
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ADT7X10_RESOLUTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rdi), %eax
	movq	_ADT7X10_T13_VALUE_MASK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	negl	%eax
	sbbl	%edx, %edx
	orl	(%rcx), %edx
	andl	%esi, %edx
	imull	$1000, %edx, %edi               ## imm = 0x3E8
	movl	$128, %esi
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADT7X10_RESOLUTION,4,2         ## @ADT7X10_RESOLUTION
	.comm	_ADT7X10_T13_VALUE_MASK,4,2     ## @ADT7X10_T13_VALUE_MASK
	.no_dead_strip	_ADT7X10_REG_TO_TEMP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ADT7X10_REG_TO_TEMP
_ADT7X10_REG_TO_TEMP:                   ; @ADT7X10_REG_TO_TEMP
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ADT7X10_RESOLUTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADT7X10_RESOLUTION@GOTPAGEOFF]
	ldr	w9, [x0]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _ADT7X10_T13_VALUE_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ADT7X10_T13_VALUE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w8, w9
	csinv	w8, w10, wzr, eq
	and	w8, w8, w1
	mov	w9, #1000
	mul	w0, w8, w9
	mov	w1, #128
	b	_DIV_ROUND_CLOSEST
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADT7X10_RESOLUTION,4,2         ; @ADT7X10_RESOLUTION
	.comm	_ADT7X10_T13_VALUE_MASK,4,2     ; @ADT7X10_T13_VALUE_MASK
	.no_dead_strip	_ADT7X10_REG_TO_TEMP
.subsections_via_symbols
