	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_soc15_program_register_sequence ## -- Begin function soc15_program_register_sequence
	.p2align	4, 0x90
_soc15_program_register_sequence:       ## @soc15_program_register_sequence
	.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	%rdi, -56(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_12
## %bb.1:
	movq	%rsi, %r15
	movl	%edx, %eax
	shlq	$3, %rax
	leaq	(%rax,%rax,4), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	_GC@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%r15,%r14), %rcx
	movq	8(%r15,%r14), %rdx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax,%rdx,8), %rax
	movq	16(%r15,%r14), %rcx
	movl	24(%r15,%r14), %ebx
	addl	(%rax,%rcx,4), %ebx
	cmpl	$-1, 28(%r15,%r14)
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_RREG32
	movl	32(%r15,%r14), %r12d
	xorl	%eax, %r12d
	andl	28(%r15,%r14), %r12d
	xorl	%eax, %r12d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	32(%r15,%r14), %r12d
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_mmPA_SC_BINNER_EVENT_CNTL_3@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	cmpl	%eax, %ebx
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_mmPA_SC_ENHANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	cmpl	%eax, %ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_mmPA_SC_ENHANCE_1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	cmpl	%eax, %ebx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %edi
	movq	_mmSH_MEM_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_SOC15_REG_OFFSET
	cmpl	%eax, %ebx
	jne	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_WREG32_RLC
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$40, %r14
	cmpq	%r14, -48(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_2
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_WREG32
	jmp	LBB0_11
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GC,4,2                         ## @GC
	.comm	_mmPA_SC_BINNER_EVENT_CNTL_3,4,2 ## @mmPA_SC_BINNER_EVENT_CNTL_3
	.comm	_mmPA_SC_ENHANCE,4,2            ## @mmPA_SC_ENHANCE
	.comm	_mmPA_SC_ENHANCE_1,4,2          ## @mmPA_SC_ENHANCE_1
	.comm	_mmSH_MEM_CONFIG,4,2            ## @mmSH_MEM_CONFIG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_soc15_program_register_sequence ; -- Begin function soc15_program_register_sequence
	.p2align	2
_soc15_program_register_sequence:       ; @soc15_program_register_sequence
	.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
	cmp	w2, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _GC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GC@GOTPAGEOFF]
Lloh2:
	adrp	x23, _mmPA_SC_BINNER_EVENT_CNTL_3@GOTPAGE
Lloh3:
	ldr	x23, [x23, _mmPA_SC_BINNER_EVENT_CNTL_3@GOTPAGEOFF]
Lloh4:
	adrp	x24, _mmPA_SC_ENHANCE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _mmPA_SC_ENHANCE@GOTPAGEOFF]
	add	x25, x1, #32
	mov	w26, w2
Lloh6:
	adrp	x27, _mmPA_SC_ENHANCE_1@GOTPAGE
Lloh7:
	ldr	x27, [x27, _mmPA_SC_ENHANCE_1@GOTPAGEOFF]
Lloh8:
	adrp	x28, _mmSH_MEM_CONFIG@GOTPAGE
Lloh9:
	ldr	x28, [x28, _mmSH_MEM_CONFIG@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldp	x9, x10, [x25, #-32]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, x10, lsl #3]
	ldur	x9, [x25, #-16]
	ldr	w8, [x8, x9, lsl #2]
	ldp	w9, w10, [x25, #-8]
	add	w20, w9, w8
	cmn	w10, #1
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	bl	_RREG32
	ldp	w8, w10, [x25, #-4]
	bic	w9, w0, w8
	and	w8, w10, w8
	orr	w21, w8, w9
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w21, [x25]
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x23]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	cmp	w20, w0
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x24]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	cmp	w20, w0
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x27]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	cmp	w20, w0
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x22]
	ldr	w2, [x28]
	mov	w1, #0
	bl	_SOC15_REG_OFFSET
	cmp	w20, w0
	b.ne	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_WREG32_RLC
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #40
	subs	x26, x26, #1
	b.ne	LBB0_2
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_WREG32
	b	LBB0_10
LBB0_12:
	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	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_GC,4,2                         ; @GC
	.comm	_mmPA_SC_BINNER_EVENT_CNTL_3,4,2 ; @mmPA_SC_BINNER_EVENT_CNTL_3
	.comm	_mmPA_SC_ENHANCE,4,2            ; @mmPA_SC_ENHANCE
	.comm	_mmPA_SC_ENHANCE_1,4,2          ; @mmPA_SC_ENHANCE_1
	.comm	_mmSH_MEM_CONFIG,4,2            ; @mmSH_MEM_CONFIG
.subsections_via_symbols
