	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mqd_manager_init_cik           ## -- Begin function mqd_manager_init_cik
	.p2align	4, 0x90
_mqd_manager_init_cik:                  ## @mqd_manager_init_cik
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_KFD_MQD_TYPE_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setbe	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_1
LBB0_12:
	xorl	%eax, %eax
LBB0_13:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$80, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_12
## %bb.2:
	movq	%r14, 72(%rax)
	addl	$-128, %ebx
	cmpl	$4, %ebx
	ja	LBB0_11
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rdx
	addq	%rcx, %rdx
	jmpq	*%rdx
LBB0_4:
	movq	_allocate_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rax)
	movq	_init_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%rax)
	movq	_free_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movq	_load_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%rax)
	movq	_update_mqd@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_11:
	movq	%rax, %rdi
	callq	_kfree
	jmp	LBB0_12
LBB0_10:
	movq	_allocate_sdma_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rax)
	movq	_init_mqd_sdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%rax)
	movq	_free_mqd_hiq_sdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movq	_load_mqd_sdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%rax)
	movq	_update_mqd_sdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	_destroy_mqd_sdma@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	_is_occupied_sdma@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movq	_allocate_hiq_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rax)
	movq	_init_mqd_hiq@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%rax)
	movq	_free_mqd_hiq_sdma@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_9:
	movq	_allocate_hiq_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 64(%rax)
	movq	_init_mqd_hiq@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 56(%rax)
	movq	_free_mqd@GOTPCREL(%rip), %rcx
LBB0_6:
	movq	(%rcx), %rcx
	movq	%rcx, 48(%rax)
	movq	_load_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 40(%rax)
	movq	_update_mqd_hiq@GOTPCREL(%rip), %rcx
LBB0_7:
	movq	(%rcx), %rcx
	movq	%rcx, 32(%rax)
	movq	_destroy_mqd@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 24(%rax)
	movq	_is_occupied@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	(%rcx), %rcx
	movq	%rcx, 16(%rax)
	movl	$4, (%rax)
	jmp	LBB0_13
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_KFD_MQD_TYPE_MAX,4,2           ## @KFD_MQD_TYPE_MAX
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_allocate_mqd,8,3               ## @allocate_mqd
	.comm	_init_mqd,8,3                   ## @init_mqd
	.comm	_free_mqd,8,3                   ## @free_mqd
	.comm	_load_mqd,8,3                   ## @load_mqd
	.comm	_update_mqd,8,3                 ## @update_mqd
	.comm	_destroy_mqd,8,3                ## @destroy_mqd
	.comm	_is_occupied,8,3                ## @is_occupied
	.comm	_allocate_hiq_mqd,8,3           ## @allocate_hiq_mqd
	.comm	_init_mqd_hiq,8,3               ## @init_mqd_hiq
	.comm	_free_mqd_hiq_sdma,8,3          ## @free_mqd_hiq_sdma
	.comm	_update_mqd_hiq,8,3             ## @update_mqd_hiq
	.comm	_allocate_sdma_mqd,8,3          ## @allocate_sdma_mqd
	.comm	_init_mqd_sdma,8,3              ## @init_mqd_sdma
	.comm	_load_mqd_sdma,8,3              ## @load_mqd_sdma
	.comm	_update_mqd_sdma,8,3            ## @update_mqd_sdma
	.comm	_destroy_mqd_sdma,8,3           ## @destroy_mqd_sdma
	.comm	_is_occupied_sdma,8,3           ## @is_occupied_sdma
	.comm	_debugfs_show_mqd,8,3           ## @debugfs_show_mqd
	.comm	_debugfs_show_mqd_sdma,8,3      ## @debugfs_show_mqd_sdma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mqd_manager_init_cik           ; -- Begin function mqd_manager_init_cik
	.p2align	2
_mqd_manager_init_cik:                  ; @mqd_manager_init_cik
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _KFD_MQD_TYPE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KFD_MQD_TYPE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w0, ls
	bl	_WARN_ON
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, #0
	b	LBB0_13
LBB0_2:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w0, #80
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.3:
	str	x20, [x0, #72]
	sub	w8, w19, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.4:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
Lloh8:
	adrp	x8, _allocate_mqd@GOTPAGE
Lloh9:
	ldr	x8, [x8, _allocate_mqd@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x0, #64]
Lloh11:
	adrp	x8, _init_mqd@GOTPAGE
Lloh12:
	ldr	x8, [x8, _init_mqd@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _free_mqd@GOTPAGE
Lloh15:
	ldr	x9, [x9, _free_mqd@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #48]
Lloh17:
	adrp	x8, _load_mqd@GOTPAGE
Lloh18:
	ldr	x8, [x8, _load_mqd@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _update_mqd@GOTPAGE
Lloh21:
	ldr	x9, [x9, _update_mqd@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	bl	_kfree
	b	LBB0_1
LBB0_7:
Lloh22:
	adrp	x8, _allocate_sdma_mqd@GOTPAGE
Lloh23:
	ldr	x8, [x8, _allocate_sdma_mqd@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x0, #64]
Lloh25:
	adrp	x8, _init_mqd_sdma@GOTPAGE
Lloh26:
	ldr	x8, [x8, _init_mqd_sdma@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
Lloh28:
	adrp	x9, _free_mqd_hiq_sdma@GOTPAGE
Lloh29:
	ldr	x9, [x9, _free_mqd_hiq_sdma@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #48]
Lloh31:
	adrp	x8, _load_mqd_sdma@GOTPAGE
Lloh32:
	ldr	x8, [x8, _load_mqd_sdma@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
Lloh34:
	adrp	x9, _update_mqd_sdma@GOTPAGE
Lloh35:
	ldr	x9, [x9, _update_mqd_sdma@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #32]
Lloh37:
	adrp	x8, _destroy_mqd_sdma@GOTPAGE
Lloh38:
	ldr	x8, [x8, _destroy_mqd_sdma@GOTPAGEOFF]
Lloh39:
	adrp	x9, _is_occupied_sdma@GOTPAGE
Lloh40:
	ldr	x9, [x9, _is_occupied_sdma@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
Lloh41:
	adrp	x8, _allocate_hiq_mqd@GOTPAGE
Lloh42:
	ldr	x8, [x8, _allocate_hiq_mqd@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [x0, #64]
Lloh44:
	adrp	x8, _init_mqd_hiq@GOTPAGE
Lloh45:
	ldr	x8, [x8, _init_mqd_hiq@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
Lloh47:
	adrp	x9, _free_mqd_hiq_sdma@GOTPAGE
Lloh48:
	ldr	x9, [x9, _free_mqd_hiq_sdma@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh49:
	adrp	x8, _allocate_hiq_mqd@GOTPAGE
Lloh50:
	ldr	x8, [x8, _allocate_hiq_mqd@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	str	x8, [x0, #64]
Lloh52:
	adrp	x8, _init_mqd_hiq@GOTPAGE
Lloh53:
	ldr	x8, [x8, _init_mqd_hiq@GOTPAGEOFF]
Lloh54:
	ldr	x8, [x8]
Lloh55:
	adrp	x9, _free_mqd@GOTPAGE
Lloh56:
	ldr	x9, [x9, _free_mqd@GOTPAGEOFF]
LBB0_10:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #48]
Lloh57:
	adrp	x8, _load_mqd@GOTPAGE
Lloh58:
	ldr	x8, [x8, _load_mqd@GOTPAGEOFF]
Lloh59:
	ldr	x8, [x8]
Lloh60:
	adrp	x9, _update_mqd_hiq@GOTPAGE
Lloh61:
	ldr	x9, [x9, _update_mqd_hiq@GOTPAGEOFF]
LBB0_11:
	ldr	x9, [x9]
	stp	x9, x8, [x0, #32]
Lloh62:
	adrp	x8, _destroy_mqd@GOTPAGE
Lloh63:
	ldr	x8, [x8, _destroy_mqd@GOTPAGEOFF]
Lloh64:
	adrp	x9, _is_occupied@GOTPAGE
Lloh65:
	ldr	x9, [x9, _is_occupied@GOTPAGEOFF]
LBB0_12:
	ldr	x8, [x8]
	ldr	x9, [x9]
	stp	x9, x8, [x0, #16]
	mov	w8, #4
	str	w8, [x0]
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_5)>>2
	.byte	(LBB0_8-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_5-LBB0_5)>>2
                                        ; -- End function
	.comm	_KFD_MQD_TYPE_MAX,4,2           ; @KFD_MQD_TYPE_MAX
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_allocate_mqd,8,3               ; @allocate_mqd
	.comm	_init_mqd,8,3                   ; @init_mqd
	.comm	_free_mqd,8,3                   ; @free_mqd
	.comm	_load_mqd,8,3                   ; @load_mqd
	.comm	_update_mqd,8,3                 ; @update_mqd
	.comm	_destroy_mqd,8,3                ; @destroy_mqd
	.comm	_is_occupied,8,3                ; @is_occupied
	.comm	_allocate_hiq_mqd,8,3           ; @allocate_hiq_mqd
	.comm	_init_mqd_hiq,8,3               ; @init_mqd_hiq
	.comm	_free_mqd_hiq_sdma,8,3          ; @free_mqd_hiq_sdma
	.comm	_update_mqd_hiq,8,3             ; @update_mqd_hiq
	.comm	_allocate_sdma_mqd,8,3          ; @allocate_sdma_mqd
	.comm	_init_mqd_sdma,8,3              ; @init_mqd_sdma
	.comm	_load_mqd_sdma,8,3              ; @load_mqd_sdma
	.comm	_update_mqd_sdma,8,3            ; @update_mqd_sdma
	.comm	_destroy_mqd_sdma,8,3           ; @destroy_mqd_sdma
	.comm	_is_occupied_sdma,8,3           ; @is_occupied_sdma
	.comm	_debugfs_show_mqd,8,3           ; @debugfs_show_mqd
	.comm	_debugfs_show_mqd_sdma,8,3      ; @debugfs_show_mqd_sdma
.subsections_via_symbols
