	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amdvi_domainId
_amdvi_domainId:                        ## @amdvi_domainId
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_amdvi_dom_id@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_AMDVI_MAX_DOMAIN@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	movl	$1, %eax
	cmovnel	%edx, %eax
	leal	1(%rax), %edx
	movl	%edx, (%rcx)
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_amdvi_dom_id,4,2               ## @amdvi_dom_id
	.comm	_AMDVI_MAX_DOMAIN,4,2           ## @AMDVI_MAX_DOMAIN
	.no_dead_strip	_amdvi_domainId
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amdvi_domainId
_amdvi_domainId:                        ; @amdvi_domainId
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _amdvi_dom_id@GOTPAGE
Lloh1:
	ldr	x8, [x8, _amdvi_dom_id@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _AMDVI_MAX_DOMAIN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AMDVI_MAX_DOMAIN@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	cmp	w9, w10
	csinc	w0, w9, wzr, ne
	add	w9, w0, #1
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_amdvi_dom_id,4,2               ; @amdvi_dom_id
	.comm	_AMDVI_MAX_DOMAIN,4,2           ; @AMDVI_MAX_DOMAIN
	.no_dead_strip	_amdvi_domainId
.subsections_via_symbols
