	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_program_size             ## -- Begin function hubp1_program_size
	.p2align	4, 0x90
_hubp1_program_size:                    ## @hubp1_program_size
	.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	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %r15d
	callq	_TO_DCN10_HUBP
	movq	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%r15d, (%rax)
	ja	LBB0_1
## %bb.2:
	movq	_SURFACE_PIXEL_FORMAT_SUBSAMPLE_END@GOTPCREL(%rip), %rax
	movl	$0, %r14d
	cmpl	%r15d, (%rax)
	jbe	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	cmpq	$0, (%r13)
	setne	%dil
	callq	_ASSERT
	movq	(%r13), %rcx
	decq	%rcx
	movq	8(%r12), %r14
	decq	%r14
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rax
	decq	%rax
	movq	8(%r13), %rdx
	decq	%rdx
	movl	16(%r12), %ebx
	xorl	%r8d, %r8d
	testl	%ebx, %ebx
	cmovneq	%rax, %r8
	movq	_DCSURF_SURFACE_PITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_META_PITCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_UPDATE_2
	movq	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jbe	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	testl	%ebx, %ebx
	cmoveq	%rax, %r14
	movq	_DCSURF_SURFACE_PITCH_C@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PITCH_C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_META_PITCH_C@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_REG_UPDATE_2                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,4,2 ## @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_SURFACE_PIXEL_FORMAT_SUBSAMPLE_END,4,2 ## @SURFACE_PIXEL_FORMAT_SUBSAMPLE_END
	.comm	_DCSURF_SURFACE_PITCH,4,2       ## @DCSURF_SURFACE_PITCH
	.comm	_PITCH,4,2                      ## @PITCH
	.comm	_META_PITCH,4,2                 ## @META_PITCH
	.comm	_DCSURF_SURFACE_PITCH_C,4,2     ## @DCSURF_SURFACE_PITCH_C
	.comm	_PITCH_C,4,2                    ## @PITCH_C
	.comm	_META_PITCH_C,4,2               ## @META_PITCH_C
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hubp1_program_size             ; -- Begin function hubp1_program_size
	.p2align	2
_hubp1_program_size:                    ; @hubp1_program_size
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	bl	_TO_DCN10_HUBP
Lloh0:
	adrp	x23, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SURFACE_PIXEL_FORMAT_VIDEO_BEGIN@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _SURFACE_PIXEL_FORMAT_SUBSAMPLE_END@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SURFACE_PIXEL_FORMAT_SUBSAMPLE_END@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #0, ls
	b.hi	LBB0_2
; %bb.1:
	mov	x20, #0
	mov	x24, #0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x22]
	cmp	x8, #0
	cset	w0, ne
	bl	_ASSERT
	ldr	x8, [x22]
	sub	x20, x8, #1
	ldr	x8, [x21, #8]
	sub	x24, x8, #1
LBB0_3:
	ldr	x8, [x21]
	sub	x8, x8, #1
	ldr	x9, [x22, #8]
	sub	x2, x9, #1
	ldr	w21, [x21, #16]
	cmp	w21, #0
	csel	x4, xzr, x8, eq
Lloh5:
	adrp	x8, _DCSURF_SURFACE_PITCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DCSURF_SURFACE_PITCH@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _PITCH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PITCH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x8, _META_PITCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _META_PITCH@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	bl	_REG_UPDATE_2
	ldr	w8, [x23]
	cmp	w8, w19
	b.ls	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	cmp	w21, #0
	csel	x4, xzr, x24, eq
Lloh14:
	adrp	x8, _DCSURF_SURFACE_PITCH_C@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DCSURF_SURFACE_PITCH_C@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _PITCH_C@GOTPAGE
Lloh18:
	ldr	x8, [x8, _PITCH_C@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _META_PITCH_C@GOTPAGE
Lloh21:
	ldr	x8, [x8, _META_PITCH_C@GOTPAGEOFF]
Lloh22:
	ldr	w3, [x8]
	mov	x2, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_REG_UPDATE_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SURFACE_PIXEL_FORMAT_VIDEO_BEGIN,4,2 ; @SURFACE_PIXEL_FORMAT_VIDEO_BEGIN
	.comm	_SURFACE_PIXEL_FORMAT_SUBSAMPLE_END,4,2 ; @SURFACE_PIXEL_FORMAT_SUBSAMPLE_END
	.comm	_DCSURF_SURFACE_PITCH,4,2       ; @DCSURF_SURFACE_PITCH
	.comm	_PITCH,4,2                      ; @PITCH
	.comm	_META_PITCH,4,2                 ; @META_PITCH
	.comm	_DCSURF_SURFACE_PITCH_C,4,2     ; @DCSURF_SURFACE_PITCH_C
	.comm	_PITCH_C,4,2                    ; @PITCH_C
	.comm	_META_PITCH_C,4,2               ; @META_PITCH_C
.subsections_via_symbols
