	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_program_pixel_format     ## -- Begin function hubp2_program_pixel_format
	.p2align	4, 0x90
_hubp2_program_pixel_format:            ## @hubp2_program_pixel_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%esi, %ebx
	callq	_TO_DCN20_HUBP
	movl	%ebx, %eax
	andl	$-4, %eax
	xorl	%edx, %edx
	cmpl	$144, %eax
	sete	%dl
	movl	%edx, %r8d
	xorl	$3, %r8d
	orl	$2, %edx
	movq	_HUBPRET_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CROSSBAR_SRC_CB_B@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CROSSBAR_SRC_CR_R@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	addl	$-128, %ebx
	cmpl	$19, %ebx
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_6:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$10, %edx
	jmp	LBB0_3
LBB0_5:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	jmp	LBB0_3
LBB0_8:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edx
	jmp	LBB0_3
LBB0_13:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$12, %edx
	jmp	LBB0_3
LBB0_14:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BREAK_TO_DEBUGGER              ## TAILCALL
LBB0_10:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$64, %edx
	jmp	LBB0_3
LBB0_9:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$65, %edx
	jmp	LBB0_3
LBB0_12:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$66, %edx
	jmp	LBB0_3
LBB0_11:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$67, %edx
	jmp	LBB0_3
LBB0_4:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$3, %edx
	jmp	LBB0_3
LBB0_7:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$22, %edx
	jmp	LBB0_3
LBB0_2:
	movq	_DCSURF_SURFACE_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SURFACE_PIXEL_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_REG_UPDATE                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_14
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_HUBPRET_CONTROL,4,2            ## @HUBPRET_CONTROL
	.comm	_CROSSBAR_SRC_CB_B,4,2          ## @CROSSBAR_SRC_CB_B
	.comm	_CROSSBAR_SRC_CR_R,4,2          ## @CROSSBAR_SRC_CR_R
	.comm	_DCSURF_SURFACE_CONFIG,4,2      ## @DCSURF_SURFACE_CONFIG
	.comm	_SURFACE_PIXEL_FORMAT,4,2       ## @SURFACE_PIXEL_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp2_program_pixel_format     ; -- Begin function hubp2_program_pixel_format
	.p2align	2
_hubp2_program_pixel_format:            ; @hubp2_program_pixel_format
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_TO_DCN20_HUBP
	and	w8, w19, #0xfffffffc
	cmp	w8, #144
	mov	w8, #2
	cinc	w4, w8, ne
	cinc	w2, w8, eq
Lloh0:
	adrp	x8, _HUBPRET_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HUBPRET_CONTROL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CROSSBAR_SRC_CB_B@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CROSSBAR_SRC_CB_B@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _CROSSBAR_SRC_CR_R@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CROSSBAR_SRC_CR_R@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
	sub	w8, w19, #128
	cmp	w8, #19
	b.hi	LBB0_6
; %bb.1:
Lloh9:
	adrp	x9, lJTI0_0@PAGE
Lloh10:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh11:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #10
	b	LBB0_14
LBB0_3:
Lloh17:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
Lloh20:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w2, #8
	b	LBB0_14
LBB0_4:
Lloh23:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	w2, #24
	b	LBB0_14
LBB0_5:
Lloh29:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
Lloh32:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	w2, #12
	b	LBB0_14
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BREAK_TO_DEBUGGER
LBB0_7:
Lloh35:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	w2, #64
	b	LBB0_14
LBB0_8:
Lloh41:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh42:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
Lloh44:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w2, #65
	b	LBB0_14
LBB0_9:
Lloh47:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh48:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	mov	w2, #66
	b	LBB0_14
LBB0_10:
Lloh53:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh54:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
Lloh56:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh57:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	mov	w2, #67
	b	LBB0_14
LBB0_11:
Lloh59:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh60:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	mov	w2, #3
	b	LBB0_14
LBB0_12:
Lloh65:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh66:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
Lloh68:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	mov	w2, #22
	b	LBB0_14
LBB0_13:
Lloh71:
	adrp	x8, _DCSURF_SURFACE_CONFIG@GOTPAGE
Lloh72:
	ldr	x8, [x8, _DCSURF_SURFACE_CONFIG@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x8, _SURFACE_PIXEL_FORMAT@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SURFACE_PIXEL_FORMAT@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	mov	w2, #1
LBB0_14:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_REG_UPDATE
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_HUBPRET_CONTROL,4,2            ; @HUBPRET_CONTROL
	.comm	_CROSSBAR_SRC_CB_B,4,2          ; @CROSSBAR_SRC_CB_B
	.comm	_CROSSBAR_SRC_CR_R,4,2          ; @CROSSBAR_SRC_CR_R
	.comm	_DCSURF_SURFACE_CONFIG,4,2      ; @DCSURF_SURFACE_CONFIG
	.comm	_SURFACE_PIXEL_FORMAT,4,2       ; @SURFACE_PIXEL_FORMAT
.subsections_via_symbols
