	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_video_layout_view_select       ## -- Begin function video_layout_view_select
	.p2align	4, 0x90
_video_layout_view_select:              ## @video_layout_view_select
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_video_layout_state@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	16(%rax), %rsi
	decq	%rsi
	callq	_MIN
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_MAX
	movl	%eax, %r14d
	movq	(%r15), %rax
	movl	%r14d, (%rax)
	cmpq	$0, 16(%rax)
	je	LBB0_2
## %bb.1:
	movslq	%r14d, %rbx
	shlq	$2, %rbx
	addq	8(%rax), %rbx
LBB0_2:
	movq	%rbx, 24(%rax)
	xorl	%eax, %eax
	callq	_video_layout_view_change
	movl	%r14d, %eax
	addq	$8, %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_view_select       ; -- Begin function video_layout_view_select
	.p2align	2
_video_layout_view_select:              ; @video_layout_view_select
	.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
Lloh0:
	adrp	x20, _video_layout_state@GOTPAGE
Lloh1:
	ldr	x20, [x20, _video_layout_state@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	sub	x1, x8, #1
	bl	_MIN
	mov	x1, x0
	mov	w0, #0
	bl	_MAX
	mov	x19, x0
	ldr	x8, [x20]
	str	w0, [x8]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x8, #8]
	add	x9, x9, w19, sxtw #2
LBB0_2:
	str	x9, [x8, #24]
	bl	_video_layout_view_change
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_video_layout_state,8,3         ; @video_layout_state
.subsections_via_symbols
