	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_mqd_type_from_queue_type
_get_mqd_type_from_queue_type:          ## @get_mqd_type_from_queue_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_KFD_QUEUE_TYPE_SDMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_KFD_QUEUE_TYPE_SDMA_XGMI@GOTPCREL(%rip), %rsi
	movq	_KFD_MQD_TYPE_SDMA@GOTPCREL(%rip), %rcx
	movq	%rcx, %rdx
	cmpl	%edi, (%rsi)
	je	LBB0_2
## %bb.1:
	movq	_KFD_MQD_TYPE_CP@GOTPCREL(%rip), %rdx
LBB0_2:
	cmpl	%edi, %eax
	cmoveq	%rcx, %rdx
	movl	(%rdx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KFD_QUEUE_TYPE_SDMA,4,2        ## @KFD_QUEUE_TYPE_SDMA
	.comm	_KFD_QUEUE_TYPE_SDMA_XGMI,4,2   ## @KFD_QUEUE_TYPE_SDMA_XGMI
	.comm	_KFD_MQD_TYPE_SDMA,4,2          ## @KFD_MQD_TYPE_SDMA
	.comm	_KFD_MQD_TYPE_CP,4,2            ## @KFD_MQD_TYPE_CP
	.no_dead_strip	_get_mqd_type_from_queue_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_mqd_type_from_queue_type
_get_mqd_type_from_queue_type:          ; @get_mqd_type_from_queue_type
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _KFD_QUEUE_TYPE_SDMA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KFD_QUEUE_TYPE_SDMA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _KFD_QUEUE_TYPE_SDMA_XGMI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _KFD_QUEUE_TYPE_SDMA_XGMI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w0
Lloh6:
	adrp	x9, _KFD_MQD_TYPE_SDMA@GOTPAGE
Lloh7:
	ldr	x9, [x9, _KFD_MQD_TYPE_SDMA@GOTPAGEOFF]
	ccmp	w8, w0, #4, ne
Lloh8:
	adrp	x8, _KFD_MQD_TYPE_CP@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KFD_MQD_TYPE_CP@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KFD_QUEUE_TYPE_SDMA,4,2        ; @KFD_QUEUE_TYPE_SDMA
	.comm	_KFD_QUEUE_TYPE_SDMA_XGMI,4,2   ; @KFD_QUEUE_TYPE_SDMA_XGMI
	.comm	_KFD_MQD_TYPE_SDMA,4,2          ; @KFD_MQD_TYPE_SDMA
	.comm	_KFD_MQD_TYPE_CP,4,2            ; @KFD_MQD_TYPE_CP
	.no_dead_strip	_get_mqd_type_from_queue_type
.subsections_via_symbols
