	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function in_from_reg
_in_from_reg:                           ## @in_from_reg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MON_SRC_VCC@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	sete	%al
	movq	_MON_SRC_VSB@GOTPCREL(%rip), %rcx
	cmpq	%rsi, (%rcx)
	sete	%cl
	orb	%al, %cl
	movq	_MON_SRC_AVSB@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	sete	%al
	movq	_MON_SRC_VBAT@GOTPCREL(%rip), %rdx
	cmpq	%rsi, (%rdx)
	sete	%dl
	orb	%al, %dl
	orb	%cl, %dl
	movzbl	%dl, %eax
	shll	$4, %eax
	addl	$16, %eax
	imull	%edi, %eax
	cltq
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MON_SRC_VCC,8,3                ## @MON_SRC_VCC
	.comm	_MON_SRC_VSB,8,3                ## @MON_SRC_VSB
	.comm	_MON_SRC_AVSB,8,3               ## @MON_SRC_AVSB
	.comm	_MON_SRC_VBAT,8,3               ## @MON_SRC_VBAT
	.no_dead_strip	_in_from_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function in_from_reg
_in_from_reg:                           ; @in_from_reg
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MON_SRC_VCC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MON_SRC_VCC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MON_SRC_VSB@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MON_SRC_VSB@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _MON_SRC_AVSB@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MON_SRC_AVSB@GOTPAGEOFF]
Lloh8:
	adrp	x11, _MON_SRC_VBAT@GOTPAGE
Lloh9:
	ldr	x11, [x11, _MON_SRC_VBAT@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
Lloh11:
	ldr	x11, [x11]
	cmp	x11, x1
	ccmp	x10, x1, #4, ne
	ccmp	x9, x1, #4, ne
	ccmp	x8, x1, #4, ne
	mov	w8, #16
	mov	w9, #32
	csel	w8, w9, w8, eq
	mul	w8, w8, w0
	sxtw	x0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MON_SRC_VCC,8,3                ; @MON_SRC_VCC
	.comm	_MON_SRC_VSB,8,3                ; @MON_SRC_VSB
	.comm	_MON_SRC_AVSB,8,3               ; @MON_SRC_AVSB
	.comm	_MON_SRC_VBAT,8,3               ; @MON_SRC_VBAT
	.no_dead_strip	_in_from_reg
.subsections_via_symbols
