	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_hgo_frame_end             ## -- Begin function vsp1_hgo_frame_end
	.p2align	4, 0x90
_vsp1_hgo_frame_end:                    ## @vsp1_hgo_frame_end
	.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
	callq	_to_hgo
	movq	%rax, %r12
	leaq	4(%rax), %r14
	movq	%r14, %rdi
	callq	_vsp1_histogram_buffer_get
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r15
	movq	(%rax), %r13
	cmpl	$256, (%r12)                    ## imm = 0x100
	jne	LBB0_5
## %bb.2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	_VI6_HGO_G_MAXMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, (%r13)
	movq	_VI6_HGO_G_SUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 8(%r13)
	xorl	%ebx, %ebx
	movq	_VI6_HGO_EXT_HIST_ADDR@GOTPCREL(%rip), %r14
	movq	_VI6_HGO_EXT_HIST_DATA@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edi
	movl	(%r14), %esi
	movl	%ebx, %edx
	callq	_vsp1_write
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 16(%r13,%rbx,8)
	incq	%rbx
	cmpl	$256, %ebx                      ## imm = 0x100
	jne	LBB0_3
## %bb.4:
	movl	$2064, %edx                     ## imm = 0x810
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_13:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpq	$0, 8(%r12)
	je	LBB0_9
## %bb.6:
	movq	_VI6_HGO_G_MAXMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, (%r13)
	movq	_VI6_HGO_G_SUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 8(%r13)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_HGO_G_HISTO
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_vsp1_hgo_read
	movq	%rax, 16(%r13,%rbx,8)
	incq	%rbx
	cmpl	$64, %ebx
	jne	LBB0_7
## %bb.8:
	movl	$528, %edx                      ## imm = 0x210
	jmp	LBB0_12
LBB0_9:
	movq	_VI6_HGO_R_MAXMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, (%r13)
	movq	_VI6_HGO_G_MAXMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 8(%r13)
	movq	_VI6_HGO_B_MAXMIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 16(%r13)
	movq	_VI6_HGO_R_SUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 24(%r13)
	movq	_VI6_HGO_G_SUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 32(%r13)
	movq	_VI6_HGO_B_SUM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_vsp1_hgo_read
	movq	%rax, 40(%r13)
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_VI6_HGO_R_HISTO
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_vsp1_hgo_read
	movq	%rax, 48(%r13,%rbx,8)
	movl	%ebx, %edi
	callq	_VI6_HGO_G_HISTO
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_vsp1_hgo_read
	movq	%rax, 560(%r13,%rbx,8)
	movl	%ebx, %edi
	callq	_VI6_HGO_B_HISTO
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_vsp1_hgo_read
	movq	%rax, 1072(%r13,%rbx,8)
	incq	%rbx
	cmpq	$64, %rbx
	jne	LBB0_10
## %bb.11:
	movl	$1584, %edx                     ## imm = 0x630
LBB0_12:
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsp1_histogram_buffer_complete ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VI6_HGO_G_MAXMIN,4,2           ## @VI6_HGO_G_MAXMIN
	.comm	_VI6_HGO_G_SUM,4,2              ## @VI6_HGO_G_SUM
	.comm	_VI6_HGO_EXT_HIST_ADDR,4,2      ## @VI6_HGO_EXT_HIST_ADDR
	.comm	_VI6_HGO_EXT_HIST_DATA,4,2      ## @VI6_HGO_EXT_HIST_DATA
	.comm	_VI6_HGO_R_MAXMIN,4,2           ## @VI6_HGO_R_MAXMIN
	.comm	_VI6_HGO_B_MAXMIN,4,2           ## @VI6_HGO_B_MAXMIN
	.comm	_VI6_HGO_R_SUM,4,2              ## @VI6_HGO_R_SUM
	.comm	_VI6_HGO_B_SUM,4,2              ## @VI6_HGO_B_SUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsp1_hgo_frame_end             ; -- Begin function vsp1_hgo_frame_end
	.p2align	2
_vsp1_hgo_frame_end:                    ; @vsp1_hgo_frame_end
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_to_hgo
	mov	x21, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_vsp1_histogram_buffer_get
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x24, [x0]
	ldr	w8, [x21]
	cmp	w8, #256
	b.ne	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _VI6_HGO_G_MAXMIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VI6_HGO_G_MAXMIN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24]
Lloh3:
	adrp	x8, _VI6_HGO_G_SUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VI6_HGO_G_SUM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	mov	x23, #0
	add	x25, x24, #16
	str	x0, [x24, #8]
Lloh6:
	adrp	x24, _VI6_HGO_EXT_HIST_ADDR@GOTPAGE
Lloh7:
	ldr	x24, [x24, _VI6_HGO_EXT_HIST_ADDR@GOTPAGEOFF]
Lloh8:
	adrp	x26, _VI6_HGO_EXT_HIST_DATA@GOTPAGE
Lloh9:
	ldr	x26, [x26, _VI6_HGO_EXT_HIST_DATA@GOTPAGEOFF]
	mov	w22, #2064
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	ldr	w1, [x24]
	mov	x2, x23
	bl	_vsp1_write
	ldr	w1, [x26]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x25, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, #256
	b.ne	LBB0_3
	b	LBB0_10
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.6:
Lloh10:
	adrp	x8, _VI6_HGO_G_MAXMIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VI6_HGO_G_MAXMIN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24]
Lloh13:
	adrp	x8, _VI6_HGO_G_SUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _VI6_HGO_G_SUM@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	mov	x23, #0
	add	x25, x24, #16
	str	x0, [x24, #8]
	mov	w22, #528
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_VI6_HGO_G_HISTO
	mov	x1, x0
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x25, x23, lsl #3]
	add	x23, x23, #1
	cmp	w23, #64
	b.ne	LBB0_7
	b	LBB0_10
LBB0_8:
Lloh16:
	adrp	x8, _VI6_HGO_R_MAXMIN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VI6_HGO_R_MAXMIN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24]
Lloh19:
	adrp	x8, _VI6_HGO_G_MAXMIN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VI6_HGO_G_MAXMIN@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24, #8]
Lloh22:
	adrp	x8, _VI6_HGO_B_MAXMIN@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VI6_HGO_B_MAXMIN@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24, #16]
Lloh25:
	adrp	x8, _VI6_HGO_R_SUM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _VI6_HGO_R_SUM@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24, #24]
Lloh28:
	adrp	x8, _VI6_HGO_G_SUM@GOTPAGE
Lloh29:
	ldr	x8, [x8, _VI6_HGO_G_SUM@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x24, #32]
Lloh31:
	adrp	x8, _VI6_HGO_B_SUM@GOTPAGE
Lloh32:
	ldr	x8, [x8, _VI6_HGO_B_SUM@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_vsp1_hgo_read
	mov	x23, #0
	str	x0, [x24, #40]
	mov	w22, #1584
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	bl	_VI6_HGO_R_HISTO
	mov	x1, x0
	mov	x0, x21
	bl	_vsp1_hgo_read
	add	x25, x24, x23, lsl #3
	str	x0, [x25, #48]
	mov	x0, x23
	bl	_VI6_HGO_G_HISTO
	mov	x1, x0
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x25, #560]
	mov	x0, x23
	bl	_VI6_HGO_B_HISTO
	mov	x1, x0
	mov	x0, x21
	bl	_vsp1_hgo_read
	str	x0, [x25, #1072]
	add	x23, x23, #1
	cmp	x23, #64
	b.ne	LBB0_9
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_vsp1_histogram_buffer_complete
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_VI6_HGO_G_MAXMIN,4,2           ; @VI6_HGO_G_MAXMIN
	.comm	_VI6_HGO_G_SUM,4,2              ; @VI6_HGO_G_SUM
	.comm	_VI6_HGO_EXT_HIST_ADDR,4,2      ; @VI6_HGO_EXT_HIST_ADDR
	.comm	_VI6_HGO_EXT_HIST_DATA,4,2      ; @VI6_HGO_EXT_HIST_DATA
	.comm	_VI6_HGO_R_MAXMIN,4,2           ; @VI6_HGO_R_MAXMIN
	.comm	_VI6_HGO_B_MAXMIN,4,2           ; @VI6_HGO_B_MAXMIN
	.comm	_VI6_HGO_R_SUM,4,2              ; @VI6_HGO_R_SUM
	.comm	_VI6_HGO_B_SUM,4,2              ; @VI6_HGO_B_SUM
.subsections_via_symbols
