	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vega20_get_od_percentage
_vega20_get_od_percentage:              ## @vega20_get_od_percentage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	cmpl	$129, %esi
	je	LBB0_3
## %bb.1:
	cmpl	$128, %esi
	jne	LBB0_4
## %bb.2:
	addq	$16, %rcx
	addq	$16, %rax
LBB0_3:
	movq	8(%rcx), %rdx
	movslq	(%rcx), %rcx
	movl	-4(%rdx,%rcx,4), %ecx
	movq	8(%rax), %rdx
	movslq	(%rax), %rax
	movl	-4(%rdx,%rax,4), %esi
	subl	%esi, %ecx
	imull	$100, %ecx, %edi
	popq	%rbp
	jmp	_DIV_ROUND_UP                   ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_vega20_get_od_percentage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vega20_get_od_percentage
_vega20_get_od_percentage:              ; @vega20_get_od_percentage
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	cmp	w1, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #128
	b.ne	LBB0_4
; %bb.2:
	add	x9, x9, #16
	add	x8, x8, #16
LBB0_3:
	ldr	x10, [x9, #8]
	ldrsw	x9, [x9]
	add	x9, x10, x9, lsl #2
	ldur	w9, [x9, #-4]
	ldr	x10, [x8, #8]
	ldrsw	x8, [x8]
	add	x8, x10, x8, lsl #2
	ldur	w1, [x8, #-4]
	sub	w8, w9, w1
	mov	w9, #100
	mul	w0, w8, w9
	b	_DIV_ROUND_UP
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_vega20_get_od_percentage
.subsections_via_symbols
