	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hubp2_program_tiling
_hubp2_program_tiling:                  ## @hubp2_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_DCSURF_ADDR_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_NUM_PIPES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%rsi), %edi
	callq	_log_2
	movl	%eax, %r12d
	movq	_PIPE_INTERLEAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	4(%rbx), %edi
	movl	8(%rbx), %r14d
	movq	_MAX_COMPRESSED_FRAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	callq	_log_2
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	movl	%r15d, %r9d
	pushq	%rax
	callq	_REG_UPDATE_3
	addq	$16, %rsp
	movq	_DCSURF_TILING_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SW_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	_META_LINEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_RB_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_PIPE_ALIGNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%r8d, %r8d
	pushq	$0
	pushq	%rax
	pushq	$0
	callq	_REG_UPDATE_4
	addq	$40, %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	_PIPE_INTERLEAVE,4,2            ## @PIPE_INTERLEAVE
	.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
	.no_dead_strip	_hubp2_program_tiling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hubp2_program_tiling
_hubp2_program_tiling:                  ; @hubp2_program_tiling
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _DCSURF_ADDR_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DCSURF_ADDR_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _NUM_PIPES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NUM_PIPES@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldr	w0, [x1, #12]
	bl	_log_2
	mov	x22, x0
Lloh6:
	adrp	x8, _PIPE_INTERLEAVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PIPE_INTERLEAVE@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _MAX_COMPRESSED_FRAGS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MAX_COMPRESSED_FRAGS@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
	ldp	w0, w25, [x19, #4]
	bl	_log_2
	mov	x6, x0
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	mov	x4, x25
	mov	x5, x24
	bl	_REG_UPDATE_3
Lloh12:
	adrp	x8, _DCSURF_TILING_CONFIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _DCSURF_TILING_CONFIG@GOTPAGEOFF]
Lloh14:
	adrp	x9, _SW_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _SW_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	ldr	w1, [x9]
	ldr	w2, [x19]
Lloh18:
	adrp	x8, _META_LINEAR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _META_LINEAR@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x8, _RB_ALIGNED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RB_ALIGNED@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x8]
Lloh24:
	adrp	x8, _PIPE_ALIGNED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _PIPE_ALIGNED@GOTPAGEOFF]
Lloh26:
	ldr	w7, [x8]
	str	wzr, [sp]
	mov	w4, #0
	mov	w6, #0
	bl	_REG_UPDATE_4
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.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	_PIPE_INTERLEAVE,4,2            ; @PIPE_INTERLEAVE
	.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
	.no_dead_strip	_hubp2_program_tiling
.subsections_via_symbols
