	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_program_tiling           ## -- Begin function hubp1_program_tiling
	.p2align	4, 0x90
_hubp1_program_tiling:                  ## @hubp1_program_tiling
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	callq	_TO_DCN10_HUBP
	movq	_DCSURF_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	_NUM_PIPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	36(%rbx), %edi
	callq	_log_2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_NUM_BANKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	32(%rbx), %edi
	callq	_log_2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_PIPE_INTERLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	24(%rbx), %edi
	movl	28(%rbx), %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_NUM_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	_log_2
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	_NUM_RB_PER_SE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	20(%rbx), %edi
	callq	_log_2
	movl	%eax, %r13d
	movq	_MAX_COMPRESSED_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	16(%rbx), %edi
	callq	_log_2
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	%r12d, %r9d
	pushq	%rax
	pushq	%r15
	pushq	%r13
	pushq	%r14
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_REG_UPDATE_6
	addq	$64, %rsp
	movq	_DCSURF_TILING_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	12(%rbx), %edx
	movq	_META_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	8(%rbx), %r8d
	movq	_RB_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movl	(%rbx), %eax
	movl	4(%rbx), %r10d
	movq	_PIPE_ALIGNED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ebx
	subq	$8, %rsp
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	callq	_REG_UPDATE_4
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCSURF_ADDR_CONFIG,4,2         ## @DCSURF_ADDR_CONFIG
	.comm	_NUM_PIPES,4,2                  ## @NUM_PIPES
	.comm	_NUM_BANKS,4,2                  ## @NUM_BANKS
	.comm	_PIPE_INTERLEAVE,4,2            ## @PIPE_INTERLEAVE
	.comm	_NUM_SE,4,2                     ## @NUM_SE
	.comm	_NUM_RB_PER_SE,4,2              ## @NUM_RB_PER_SE
	.comm	_MAX_COMPRESSED_FRAGS,4,2       ## @MAX_COMPRESSED_FRAGS
	.comm	_DCSURF_TILING_CONFIG,4,2       ## @DCSURF_TILING_CONFIG
	.comm	_SW_MODE,4,2                    ## @SW_MODE
	.comm	_META_LINEAR,4,2                ## @META_LINEAR
	.comm	_RB_ALIGNED,4,2                 ## @RB_ALIGNED
	.comm	_PIPE_ALIGNED,4,2               ## @PIPE_ALIGNED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_program_tiling           ; -- Begin function hubp1_program_tiling
	.p2align	2
_hubp1_program_tiling:                  ; @hubp1_program_tiling
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x1
	bl	_TO_DCN10_HUBP
Lloh0:
	adrp	x8, _DCSURF_ADDR_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCSURF_ADDR_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _NUM_PIPES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM_PIPES@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	ldr	w0, [x19, #36]
	bl	_log_2
	str	w0, [sp, #20]                   ; 4-byte Folded Spill
Lloh6:
	adrp	x8, _NUM_BANKS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _NUM_BANKS@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
	ldr	w0, [x19, #32]
	bl	_log_2
	mov	x24, x0
Lloh9:
	adrp	x8, _PIPE_INTERLEAVE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PIPE_INTERLEAVE@GOTPAGEOFF]
Lloh11:
	ldr	w25, [x8]
Lloh12:
	adrp	x8, _NUM_SE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NUM_SE@GOTPAGEOFF]
Lloh14:
	ldr	w26, [x8]
	ldp	w0, w27, [x19, #24]
	bl	_log_2
	mov	x28, x0
Lloh15:
	adrp	x8, _NUM_RB_PER_SE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _NUM_RB_PER_SE@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	ldr	w0, [x19, #20]
	bl	_log_2
	mov	x20, x0
Lloh18:
	adrp	x8, _MAX_COMPRESSED_FRAGS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAX_COMPRESSED_FRAGS@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
	ldr	w0, [x19, #16]
	bl	_log_2
	stp	w22, w0, [sp, #12]
	stp	w21, w20, [sp, #4]
	str	w28, [sp]
	ldp	w1, w0, [sp, #24]               ; 8-byte Folded Reload
	ldr	w2, [sp, #20]                   ; 4-byte Folded Reload
	mov	x3, x23
	mov	x4, x24
	mov	x5, x25
	mov	x6, x27
	mov	x7, x26
	bl	_REG_UPDATE_6
Lloh21:
	adrp	x8, _DCSURF_TILING_CONFIG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DCSURF_TILING_CONFIG@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _SW_MODE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SW_MODE@GOTPAGEOFF]
Lloh26:
	adrp	x9, _META_LINEAR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _META_LINEAR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	ldr	w3, [x9]
	ldp	w4, w2, [x19, #8]
Lloh30:
	adrp	x8, _RB_ALIGNED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RB_ALIGNED@GOTPAGEOFF]
Lloh32:
	ldr	w5, [x8]
Lloh33:
	adrp	x8, _PIPE_ALIGNED@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PIPE_ALIGNED@GOTPAGEOFF]
Lloh35:
	ldr	w7, [x8]
	ldp	w8, w6, [x19]
	str	w8, [sp]
	bl	_REG_UPDATE_4
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCSURF_ADDR_CONFIG,4,2         ; @DCSURF_ADDR_CONFIG
	.comm	_NUM_PIPES,4,2                  ; @NUM_PIPES
	.comm	_NUM_BANKS,4,2                  ; @NUM_BANKS
	.comm	_PIPE_INTERLEAVE,4,2            ; @PIPE_INTERLEAVE
	.comm	_NUM_SE,4,2                     ; @NUM_SE
	.comm	_NUM_RB_PER_SE,4,2              ; @NUM_RB_PER_SE
	.comm	_MAX_COMPRESSED_FRAGS,4,2       ; @MAX_COMPRESSED_FRAGS
	.comm	_DCSURF_TILING_CONFIG,4,2       ; @DCSURF_TILING_CONFIG
	.comm	_SW_MODE,4,2                    ; @SW_MODE
	.comm	_META_LINEAR,4,2                ; @META_LINEAR
	.comm	_RB_ALIGNED,4,2                 ; @RB_ALIGNED
	.comm	_PIPE_ALIGNED,4,2               ; @PIPE_ALIGNED
.subsections_via_symbols
