	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmbus_reg2data_vid
_pmbus_reg2data_vid:                    ## @pmbus_reg2data_vid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rax
	movq	(%rdi), %rcx
	movl	(%rcx), %ecx
	cmpl	$128, %ecx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %ecx
	je	LBB0_7
## %bb.2:
	cmpl	$130, %ecx
	jne	LBB0_9
## %bb.3:
	leaq	-2(%rax), %rcx
	cmpq	$176, %rcx
	ja	LBB0_9
## %bb.4:
	imull	$-625, %eax, %edi               ## imm = 0xFD8F
	addl	$161250, %edi                   ## imm = 0x275E2
	movl	$100, %esi
	popq	%rbp
	jmp	_DIV_ROUND_CLOSEST              ## TAILCALL
LBB0_5:
	testq	%rax, %rax
	jle	LBB0_9
## %bb.6:
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	addq	$490, %rax                      ## imm = 0x1EA
	popq	%rbp
	retq
LBB0_7:
	testq	%rax, %rax
	jle	LBB0_9
## %bb.8:
	leaq	(%rax,%rax,4), %rax
	addq	$245, %rax
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pmbus_reg2data_vid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmbus_reg2data_vid
_pmbus_reg2data_vid:                    ; @pmbus_reg2data_vid
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	ldr	x9, [x0]
	ldr	w9, [x9]
	cmp	w9, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w9, #129
	b.eq	LBB0_8
; %bb.2:
	cmp	w9, #130
	b.ne	LBB0_7
; %bb.3:
	sub	x9, x8, #2
	cmp	x9, #176
	b.hi	LBB0_7
; %bb.4:
	mov	w9, #-625
	mov	w10, #30178
	movk	w10, #2, lsl #16
	madd	w0, w8, w9, w10
	mov	w1, #100
	b	_DIV_ROUND_CLOSEST
LBB0_5:
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.6:
	mov	w9, #10
	mul	x8, x8, x9
	add	x0, x8, #490
	ret
LBB0_7:
	mov	x0, #0
	ret
LBB0_8:
	add	x9, x8, x8, lsl #2
	add	x9, x9, #245
	cmp	x8, #1
	csel	x0, xzr, x9, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pmbus_reg2data_vid
.subsections_via_symbols
