	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kfd_populated_cu_info_cpu
_kfd_populated_cu_info_cpu:             ## @kfd_populated_cu_info_cpu
	.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
	movl	8(%rsi), %esi
	movl	%esi, 8(%rdi)
	movl	4(%rax), %edx
	movl	%edx, 4(%rdi)
	movq	_CRAT_CU_FLAGS_IOMMU_PRESENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_HSA_CAP_ATS_PRESENT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rdi)
LBB0_2:
	leaq	L_.str(%rip), %rdi
	popq	%rbp
	jmp	_pr_debug                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRAT_CU_FLAGS_IOMMU_PRESENT,4,2 ## @CRAT_CU_FLAGS_IOMMU_PRESENT
	.comm	_HSA_CAP_ATS_PRESENT,4,2        ## @HSA_CAP_ATS_PRESENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CU CPU: cores=%d id_base=%d\n"

	.no_dead_strip	_kfd_populated_cu_info_cpu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kfd_populated_cu_info_cpu
_kfd_populated_cu_info_cpu:             ; @kfd_populated_cu_info_cpu
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	ldr	w1, [x1, #8]
	ldp	w8, w2, [x8]
	stp	w2, w1, [x0, #4]
Lloh0:
	adrp	x9, _CRAT_CU_FLAGS_IOMMU_PRESENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CRAT_CU_FLAGS_IOMMU_PRESENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _HSA_CAP_ATS_PRESENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HSA_CAP_ATS_PRESENT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
LBB0_2:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	_pr_debug
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CRAT_CU_FLAGS_IOMMU_PRESENT,4,2 ; @CRAT_CU_FLAGS_IOMMU_PRESENT
	.comm	_HSA_CAP_ATS_PRESENT,4,2        ; @HSA_CAP_ATS_PRESENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CU CPU: cores=%d id_base=%d\n"

	.no_dead_strip	_kfd_populated_cu_info_cpu
.subsections_via_symbols
