	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_layout_deinit            ## -- Begin function video_layout_deinit
	.p2align	4, 0x90
_video_layout_deinit:                   ## @video_layout_deinit
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_video_layout_state@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	56(%rax), %rdi
	callq	_free
	movq	(%r14), %rax
	cmpl	$2, (%rax)
	jl	LBB0_4
## %bb.2:
	movl	$1, %r15d
	movl	$64, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	48(%rax), %rcx
	movl	40(%rax), %edi
	movq	32(%rax), %rax
	movups	(%rax,%rbx), %xmm0
	movups	16(%rax,%rbx), %xmm1
	movups	32(%rax,%rbx), %xmm2
	movups	48(%rax,%rbx), %xmm3
	movups	%xmm3, 48(%rsp)
	movups	%xmm2, 32(%rsp)
	movups	%xmm1, 16(%rsp)
	movups	%xmm0, (%rsp)
	callq	*(%rcx)
	incq	%r15
	movq	(%r14), %rax
	movslq	(%rax), %rcx
	addq	$64, %rbx
	cmpq	%rcx, %r15
	jl	LBB0_3
LBB0_4:
	movq	32(%rax), %rdi
	callq	_free
	movq	(%r14), %rax
	cmpl	$0, 4(%rax)
	jle	LBB0_7
## %bb.5:
	movl	$24, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movq	(%rax,%r15), %rdi
	callq	_free
	incq	%rbx
	movq	(%r14), %rax
	movslq	4(%rax), %rcx
	addq	$64, %r15
	cmpq	%rcx, %rbx
	jl	LBB0_6
LBB0_7:
	movq	16(%rax), %rdi
	callq	_free
	movq	(%r14), %rdi
	addq	$8, %rdi
	callq	_view_array_deinit
	movq	(%r14), %rdi
	callq	_free
	movq	$0, (%r14)
LBB0_8:
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video_layout_state,8,3         ## @video_layout_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_layout_deinit            ; -- Begin function video_layout_deinit
	.p2align	2
_video_layout_deinit:                   ; @video_layout_deinit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x19, _video_layout_state@GOTPAGE
Lloh1:
	ldr	x19, [x19, _video_layout_state@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x0, [x8, #56]
	bl	_free
	ldr	x8, [x19]
	ldr	w9, [x8]
	cmp	w9, #1
	b.le	LBB0_4
; %bb.2:
	mov	w20, #1
	mov	w21, #64
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8, #48]
	ldr	x9, [x9]
	ldr	w0, [x8, #40]
	ldr	x8, [x8, #32]
	add	x8, x8, x21
	ldp	q0, q1, [x8]
	ldp	q2, q3, [x8, #32]
	stp	q2, q3, [sp, #32]
	stp	q0, q1, [sp]
	mov	x1, sp
	blr	x9
	add	x20, x20, #1
	ldr	x8, [x19]
	ldrsw	x9, [x8]
	add	x21, x21, #64
	cmp	x20, x9
	b.lt	LBB0_3
LBB0_4:
	ldr	x0, [x8, #32]
	bl	_free
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x20, #0
	mov	w21, #24
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	ldr	x0, [x8, x21]
	bl	_free
	add	x20, x20, #1
	ldr	x8, [x19]
	ldrsw	x9, [x8, #4]
	add	x21, x21, #64
	cmp	x20, x9
	b.lt	LBB0_6
LBB0_7:
	ldr	x0, [x8, #16]
	bl	_free
	ldr	x8, [x19]
	add	x0, x8, #8
	bl	_view_array_deinit
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
LBB0_8:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_video_layout_state,8,3         ; @video_layout_state
.subsections_via_symbols
