	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_cmd_table
_init_cmd_table:                        ## @init_cmd_table
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_intel_gvt_get_device_type
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_cmd_info@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	addq	$8, %rdi
	callq	_INIT_HLIST_NODE
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_add_cmd_entry
	movq	(%rbx), %rax
	movl	24(%rax), %esi
	movq	8(%rax), %rdx
	movl	20(%rax), %ecx
	movl	(%rax), %r8d
	movl	16(%rax), %r9d
	leaq	L_.str.1(%rip), %rdi
	callq	_gvt_dbg_cmd
	movq	(%r13), %rdi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	callq	_ARRAY_SIZE
	cltq
	addq	$32, %r15
	cmpq	%rax, %r14
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rdi
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, (%rdi,%r15)
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	(%r13), %rax
	leaq	(%rax,%r15), %rcx
	movq	%rcx, (%rbx)
	movq	8(%rax,%r15), %rsi
	movl	16(%rax,%r15), %edx
	movq	%r12, %rdi
	callq	_find_cmd_entry_any_ring
	testq	%rax, %rax
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	movq	8(%rax,%r15), %rax
	movq	_OP_MI_NOOP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_mi_noop_index@GOTPCREL(%rip), %rax
	movl	%r14d, (%rax)
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_7:
	movq	(%rbx), %rcx
	movl	24(%rcx), %esi
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	callq	_gvt_err
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EEXIST@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cmd_info,8,3                   ## @cmd_info
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s duplicated\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_OP_MI_NOOP,8,3                 ## @OP_MI_NOOP
	.comm	_mi_noop_index,4,2              ## @mi_noop_index
L_.str.1:                               ## @.str.1
	.asciz	"add %-30s op %04x flag %x devs %02x rings %02x\n"

	.no_dead_strip	_init_cmd_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_cmd_table
_init_cmd_table:                        ; @init_cmd_table
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	bl	_intel_gvt_get_device_type
	mov	x20, x0
Lloh0:
	adrp	x23, _cmd_info@GOTPAGE
Lloh1:
	ldr	x23, [x23, _cmd_info@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x24, #0
	mov	x25, #0
Lloh2:
	adrp	x26, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	adrp	x27, _OP_MI_NOOP@GOTPAGE
Lloh5:
	ldr	x27, [x27, _OP_MI_NOOP@GOTPAGEOFF]
Lloh6:
	adrp	x28, _mi_noop_index@GOTPAGE
Lloh7:
	ldr	x28, [x28, _mi_noop_index@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x22, #8
	bl	_INIT_HLIST_NODE
	mov	x0, x19
	mov	x1, x22
	bl	_add_cmd_entry
	ldr	x8, [x22]
	ldp	w3, w1, [x8, #20]
	ldr	x2, [x8, #8]
	ldr	w4, [x8]
	ldr	w5, [x8, #16]
	mov	x0, x21
	bl	_gvt_dbg_cmd
	ldr	x0, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x24, x24, #32
	cmp	x25, w0, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23]
	ldr	w8, [x0, x24]
	tst	w8, w20
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x26]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x0
	ldr	x8, [x23]
	add	x8, x8, x24
	str	x8, [x0]
	ldr	x1, [x8, #8]
	ldr	w2, [x8, #16]
	mov	x0, x19
	bl	_find_cmd_entry_any_ring
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	x8, [x8, #8]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w25, [x28]
	b	LBB0_2
LBB0_9:
	mov	w0, #0
	b	LBB0_13
LBB0_10:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	ldr	x8, [x22]
	ldr	w1, [x8, #24]
	ldr	w2, [x0]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_gvt_err
	mov	x0, x22
	bl	_kfree
Lloh14:
	adrp	x8, _EEXIST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_cmd_info,8,3                   ; @cmd_info
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s duplicated\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_OP_MI_NOOP,8,3                 ; @OP_MI_NOOP
	.comm	_mi_noop_index,4,2              ; @mi_noop_index
l_.str.1:                               ; @.str.1
	.asciz	"add %-30s op %04x flag %x devs %02x rings %02x\n"

	.no_dead_strip	_init_cmd_table
.subsections_via_symbols
