	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v9_1_parse_ind_reg_list
_gfx_v9_1_parse_ind_reg_list:           ## @gfx_v9_1_parse_ind_reg_list
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	cmpl	%edx, %esi
	jge	LBB0_14
## %bb.1:
	movq	%rcx, %r13
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	cmpl	-48(%rbp), %r15d                ## 4-byte Folded Reload
	jge	LBB0_14
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	xorl	%edi, %edi
	movl	24(%rbp), %eax
	movq	16(%rbp), %r14
	cmpl	%eax, (%r14)
	setge	%dil
	callq	_WARN_ON
	movslq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%r15d, (%rcx,%rax,4)
	incl	(%r14)
	movslq	%r15d, %r14
	cmpl	$-1, (%rbx,%r14,4)
	jne	LBB0_3
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=2
	leaq	3(%r14), %r15
	cmpl	$-1, 12(%rbx,%r14,4)
	movq	%r15, %r14
	je	LBB0_13
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	8(%rbx,%r14,4), %eax
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	(%r13,%rbx,4), %ecx
	testl	%ecx, %ecx
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=3
	cmpl	%eax, %ecx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=3
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_6
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	%r12d, %ebx
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%ebx, %ebx
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%edi, %edi
	cmpl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	setge	%dil
	callq	_BUG_ON
	movl	%ebx, %eax
	cmpl	$0, (%r13,%rax,4)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	movl	8(%rbx,%r14,4), %ecx
	movl	%ecx, (%r13,%rax,4)
	jmp	LBB0_12
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gfx_v9_1_parse_ind_reg_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v9_1_parse_ind_reg_list
_gfx_v9_1_parse_ind_reg_list:           ; @gfx_v9_1_parse_ind_reg_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	str	w7, [sp, #12]                   ; 4-byte Folded Spill
	cmp	w1, w2
	b.ge	LBB0_15
; %bb.1:
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x26, x1
	mov	x25, x0
	mov	w19, w4
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w26, w26, #1
	cmp	w26, w24
	b.ge	LBB0_15
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	w8, [x20]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cmp	w8, w9
	cset	w0, ge
	bl	_WARN_ON
	ldrsw	x8, [x20]
	str	w26, [x21, x8, lsl #2]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	w8, [x25, w26, sxtw #2]
	cmn	w8, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x26, w26
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x26, x26, #3
	ldr	w8, [x25, x26, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	add	x28, x26, #2
	cmp	w22, #1
	b.lt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x27, #0
	ldr	w8, [x25, x28, lsl #2]
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w9, [x23, x27, lsl #2]
	cmp	w9, #0
	ccmp	w9, w8, #4, ne
	b.eq	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	add	x27, x27, #1
	cmp	x19, x27
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	x27, x19
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w27, #0
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=2
	cmp	w27, w22
	cset	w0, ge
	bl	_BUG_ON
	ldr	w8, [x23, w27, uxtw #2]
	cbnz	w8, LBB0_6
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=2
	mov	w8, w27
	ldr	w9, [x25, x28, lsl #2]
	str	w9, [x23, x8, lsl #2]
	b	LBB0_6
LBB0_15:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gfx_v9_1_parse_ind_reg_list
.subsections_via_symbols
