	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_view
_load_view:                             ## @load_view
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	testl	%ecx, %ecx
	je	LBB0_4
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_view_init
LBB0_4:
	movq	16(%rbx), %r13
	movl	$1, %r12d
	testq	%r13, %r13
	je	LBB0_60
## %bb.5:
	leaq	L_.str.3(%rip), %r14
	xorl	%ebx, %ebx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	$1, %edx
	callq	_load_param
	testl	%eax, %eax
	cmovel	%eax, %r12d
LBB0_59:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r13), %r13
	testq	%r13, %r13
	je	LBB0_60
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_52 Depth 2
                                        ##     Child Loop BB0_29 Depth 2
                                        ##     Child Loop BB0_31 Depth 2
	movq	(%r13), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_make_color_white
	movl	%eax, -64(%rbp)
	xorl	%eax, %eax
	callq	_make_bounds
	movq	%rax, %rcx
	movq	_VIDEO_LAYOUT_ROT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	16(%r13), %rbx
	testq	%rbx, %rbx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	jne	LBB0_11
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_19
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.36:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_view_emplace_layer
	movq	%rax, %rdi
	callq	_layer_add_element
	movq	%rax, %r14
	movq	(%r13), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_37
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.14(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_49
## %bb.39:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%r12d, %r15d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_scope_find_element
	testq	%rax, %rax
	je	LBB0_48
## %bb.40:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_element_copy
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%rax, %rdi
	callq	_video_layout_io_find
	movq	%rax, 40(%r14)
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.15(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_44
## %bb.43:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%rax, %rdi
	callq	_video_layout_io_find
	movq	%rax, 32(%r14)
LBB0_44:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	leaq	L_.str.16(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_46
## %bb.45:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%rax, %rdi
	callq	_get_int
	movq	%rax, 24(%r14)
LBB0_46:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.17(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_50
## %bb.47:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%rax, %rdi
	callq	_get_int
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%r14)
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_color
	movl	%eax, -64(%rbp)
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_18
LBB0_11:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rbx), %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	(%rbx), %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_orientation
	movl	%eax, %r15d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_11 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_parse_bounds
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_parse_bounds
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %ebx
	jmp	LBB0_59
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rbx
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_scope_find_group
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-64(%rbp), %ecx
	movl	%ecx, (%rsp)
	movq	%r12, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, %rdx
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	%r15d, %r9d
	callq	_merge_group
	movq	%r12, %r15
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_59
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%rax, %rdi
	callq	_get_int
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_scope_push
	movq	16(%r13), %rbx
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_29 Depth=2
	movq	8(%rbx), %rbx
LBB0_29:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testq	%rbx, %rbx
	je	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_29 Depth=2
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_load_param
	testl	%eax, %eax
	cmovel	%eax, %r12d
	jmp	LBB0_35
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_load_screen
	testl	%eax, %eax
	cmovel	%eax, %r12d
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_50
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	testl	%r14d, %r14d
	leaq	-88(%rbp), %rbx
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jle	LBB0_32
	.p2align	4, 0x90
LBB0_31:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_view_init
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_load_view
	testl	%eax, %eax
	cmovel	%eax, %r12d
	movl	-64(%rbp), %eax
	movl	%eax, (%rsp)
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %r8                  ## 8-byte Reload
	movl	-60(%rbp), %r9d                 ## 4-byte Reload
	callq	_merge_group
	movq	%rbx, %rdi
	callq	_view_deinit
	movq	%r15, %rdi
	callq	_scope_repeat
	decl	%r14d
	jne	LBB0_31
LBB0_32:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %rdi
	callq	_scope_pop
	leaq	L_.str.3(%rip), %r14
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_59
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_24
LBB0_49:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	(%r13), %rsi
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.19(%rip), %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	jmp	LBB0_50
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_scope_eval
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	movq	%r12, %r15
	xorl	%r12d, %r12d
	jmp	LBB0_59
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%r12d, %r12d
	leaq	L_.str.12(%rip), %rdi
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_58
LBB0_48:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_scope_eval
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str.18(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movl	-60(%rbp), %r15d                ## 4-byte Reload
LBB0_50:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 4(%r14)
	leaq	-64(%rbp), %r12
	jle	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_52:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%r14), %rdi
	movq	%r12, %rsi
	callq	_color_mod
	incl	%ebx
	cmpl	4(%r14), %ebx
	jl	LBB0_52
LBB0_53:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r14)
	testl	%r15d, %r15d
	je	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_element_apply_orientation
LBB0_55:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	-52(%rbp), %ebx                 ## 4-byte Reload
	testl	%ebx, %ebx
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	-56(%rbp), %r12d                ## 4-byte Reload
	jne	LBB0_57
## %bb.56:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$8, %r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bounds_union
	movq	%rax, (%r15)
	xorl	%ebx, %ebx
LBB0_57:                                ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.3(%rip), %r14
LBB0_58:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_59
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_RARCH_LOG
LBB0_60:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"video_layout: <view> is missing 'name' attribute\n"

L_.str.2:                               ## @.str.2
	.asciz	"param"

L_.str.3:                               ## @.str.3
	.asciz	"bounds"

	.comm	_VIDEO_LAYOUT_ROT0,4,2          ## @VIDEO_LAYOUT_ROT0
L_.str.4:                               ## @.str.4
	.asciz	"color"

L_.str.5:                               ## @.str.5
	.asciz	"orientation"

L_.str.6:                               ## @.str.6
	.asciz	"group"

L_.str.7:                               ## @.str.7
	.asciz	"ref"

L_.str.8:                               ## @.str.8
	.asciz	"video_layout: group \"%s\" is missing\n"

L_.str.9:                               ## @.str.9
	.asciz	"video_layout: <group> is missing 'ref' attribute\n"

L_.str.10:                              ## @.str.10
	.asciz	"repeat"

L_.str.11:                              ## @.str.11
	.asciz	"count"

L_.str.12:                              ## @.str.12
	.asciz	"video_layout: <repeat> is missing 'count' attribute\n"

L_.str.13:                              ## @.str.13
	.asciz	"screen"

L_.str.14:                              ## @.str.14
	.asciz	"element"

L_.str.15:                              ## @.str.15
	.asciz	"inputtag"

L_.str.16:                              ## @.str.16
	.asciz	"inputmask"

L_.str.17:                              ## @.str.17
	.asciz	"inputraw"

L_.str.18:                              ## @.str.18
	.asciz	"video_layout: element \"%s\" is missing\n"

L_.str.19:                              ## @.str.19
	.asciz	"video_layout: <%s> is missing 'element' attribute\n"

	.no_dead_strip	_load_view
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_view
_load_view:                             ; @load_view
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	cbz	w3, LBB0_3
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_59
; %bb.2:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	mov	x1, x0
	mov	x0, x19
	bl	_view_init
LBB0_3:
	ldr	x21, [x21, #16]
	cbz	x21, LBB0_58
; %bb.4:
	mov	w26, #0
	mov	w28, #1
Lloh2:
	adrp	x23, l_.str.3@PAGE
Lloh3:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh4:
	adrp	x25, l_.str.4@PAGE
Lloh5:
	add	x25, x25, l_.str.4@PAGEOFF
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	w2, #1
	bl	_load_param
	cmp	w0, #0
	csel	w28, wzr, w28, eq
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x21, #8]
	cbz	x21, LBB0_60
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_25 Depth 2
                                        ;     Child Loop BB0_52 Depth 2
                                        ;     Child Loop BB0_40 Depth 2
                                        ;     Child Loop BB0_37 Depth 2
	ldr	x0, [x21]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x21]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_30
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_make_color_white
	str	w0, [sp, #28]
	bl	_make_bounds
	mov	x22, x0
Lloh8:
	adrp	x8, _VIDEO_LAYOUT_ROT0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VIDEO_LAYOUT_ROT0@GOTPAGEOFF]
Lloh10:
	ldr	w24, [x8]
	ldr	x27, [x21, #16]
	cbnz	x27, LBB0_25
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x21]
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_31
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x21]
Lloh13:
	adrp	x1, l_.str.10@PAGE
Lloh14:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_34
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x1, [x21]
	mov	x0, x19
	bl	_view_emplace_layer
	bl	_layer_add_element
	mov	x27, x0
	ldr	x0, [x21]
Lloh15:
	adrp	x1, l_.str.13@PAGE
Lloh16:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_strcmp
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	cbz	x0, LBB0_42
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
Lloh17:
	adrp	x1, l_.str.14@PAGE
Lloh18:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_44
; %bb.14:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	mov	x0, x20
	mov	x1, x26
	bl	_scope_find_element
	cbz	x0, LBB0_48
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	mov	x0, x27
	bl	_element_copy
	mov	x0, x21
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_video_layout_io_find
	str	x0, [x27, #40]
LBB0_17:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
Lloh21:
	adrp	x1, l_.str.15@PAGE
Lloh22:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_video_layout_io_find
	str	x0, [x27, #32]
LBB0_19:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
Lloh23:
	adrp	x1, l_.str.16@PAGE
Lloh24:
	add	x1, x1, l_.str.16@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x27, #24]
LBB0_21:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
Lloh25:
	adrp	x1, l_.str.17@PAGE
Lloh26:
	add	x1, x1, l_.str.17@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_50
; %bb.22:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x27]
	b	LBB0_50
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x20
	mov	x1, x27
	bl	_parse_color
	str	w0, [sp, #28]
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=2
	ldr	x27, [x27, #8]
	cbz	x27, LBB0_10
LBB0_25:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x27]
	mov	x1, x25
	bl	_strcmp
	cbz	x0, LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	x0, [x27]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=2
	ldr	x0, [x27]
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_24
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x20
	mov	x1, x27
	bl	_parse_orientation
	mov	x24, x0
	b	LBB0_24
LBB0_29:                                ;   in Loop: Header=BB0_25 Depth=2
	mov	x0, x20
	mov	x1, x27
	bl	_parse_bounds
	mov	x22, x0
	b	LBB0_24
LBB0_30:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_parse_bounds
	str	x0, [x19]
	mov	w26, #1
	b	LBB0_6
LBB0_31:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, x26
	mov	x0, x21
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_43
; %bb.32:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	mov	x0, x20
	mov	x1, x26
	bl	_scope_eval
	mov	x1, x0
	mov	x0, x20
	bl	_scope_find_group
	cbz	x0, LBB0_45
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x2, x0
	ldr	w6, [sp, #28]
	mov	x0, x20
	mov	x1, x19
	mov	x26, x27
	mov	x3, x27
	mov	x4, x22
	mov	x5, x24
	bl	_merge_group
	b	LBB0_6
LBB0_34:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x21
Lloh31:
	adrp	x1, l_.str.11@PAGE
Lloh32:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_rxml_node_attrib
	cbz	x0, LBB0_47
; %bb.35:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x0
	str	w26, [sp, #12]                  ; 4-byte Folded Spill
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	mov	x27, x0
	mov	x0, x20
	bl	_scope_push
	ldr	x26, [x21, #16]
	cbnz	x26, LBB0_40
LBB0_36:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w27, #1
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	b.lt	LBB0_38
LBB0_37:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #16
	mov	x1, #0
	bl	_view_init
	add	x1, sp, #16
	mov	x0, x20
	mov	x2, x21
	mov	w3, #0
	bl	_load_view
	cmp	w0, #0
	csel	w28, wzr, w28, eq
	ldr	w6, [sp, #28]
	add	x2, sp, #16
	mov	x0, x20
	mov	x1, x19
	mov	x3, x26
	mov	x4, x22
	mov	x5, x24
	bl	_merge_group
	add	x0, sp, #16
	bl	_view_deinit
	mov	x0, x20
	bl	_scope_repeat
	subs	w27, w27, #1
	b.ne	LBB0_37
LBB0_38:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_scope_pop
	b	LBB0_6
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=2
	ldr	x26, [x26, #8]
	cbz	x26, LBB0_36
LBB0_40:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x26]
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbnz	x0, LBB0_39
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=2
	mov	x0, x20
	mov	x1, x26
	mov	w2, #1
	bl	_load_param
	cmp	w0, #0
	csel	w28, wzr, w28, eq
	b	LBB0_39
LBB0_42:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x27
	mov	x2, x21
	bl	_load_screen
	cmp	w0, #0
	csel	w28, wzr, w28, eq
	b	LBB0_50
LBB0_43:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh35:
	adrp	x0, l_.str.9@PAGE
Lloh36:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_46
LBB0_44:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x21]
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.19@PAGE
Lloh38:
	add	x0, x0, l_.str.19@PAGEOFF
	b	LBB0_49
LBB0_45:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_scope_eval
	str	x0, [sp]
Lloh39:
	adrp	x0, l_.str.8@PAGE
Lloh40:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_46:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_RARCH_LOG
	mov	w28, #0
	mov	x26, x27
	b	LBB0_6
LBB0_47:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh41:
	adrp	x0, l_.str.12@PAGE
Lloh42:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_RARCH_LOG
	mov	w28, #0
	b	LBB0_6
LBB0_48:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	mov	x1, x26
	bl	_scope_eval
	str	x0, [sp]
Lloh43:
	adrp	x0, l_.str.18@PAGE
Lloh44:
	add	x0, x0, l_.str.18@PAGEOFF
LBB0_49:                                ;   in Loop: Header=BB0_7 Depth=1
	bl	_RARCH_LOG
	mov	w28, #0
LBB0_50:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x27, #4]
	cmp	w8, #1
	b.lt	LBB0_53
; %bb.51:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w26, #0
LBB0_52:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x27, #16]
	add	x1, sp, #28
	bl	_color_mod
	add	w26, w26, #1
	ldr	w8, [x27, #4]
	cmp	w26, w8
	b.lt	LBB0_52
LBB0_53:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x27
	str	x22, [x26, #8]!
	cbz	w24, LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
	mov	x1, x24
	bl	_element_apply_orientation
LBB0_55:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_57
; %bb.56:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w26, [sp, #12]                  ; 4-byte Folded Reload
	b	LBB0_6
LBB0_57:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_bounds_union
	mov	w26, #0
	str	x0, [x19]
	b	LBB0_6
LBB0_58:
	mov	w28, #1
	b	LBB0_60
LBB0_59:
Lloh45:
	adrp	x0, l_.str.1@PAGE
Lloh46:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	mov	w28, #0
LBB0_60:
	mov	x0, x28
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"video_layout: <view> is missing 'name' attribute\n"

l_.str.2:                               ; @.str.2
	.asciz	"param"

l_.str.3:                               ; @.str.3
	.asciz	"bounds"

	.comm	_VIDEO_LAYOUT_ROT0,4,2          ; @VIDEO_LAYOUT_ROT0
l_.str.4:                               ; @.str.4
	.asciz	"color"

l_.str.5:                               ; @.str.5
	.asciz	"orientation"

l_.str.6:                               ; @.str.6
	.asciz	"group"

l_.str.7:                               ; @.str.7
	.asciz	"ref"

l_.str.8:                               ; @.str.8
	.asciz	"video_layout: group \"%s\" is missing\n"

l_.str.9:                               ; @.str.9
	.asciz	"video_layout: <group> is missing 'ref' attribute\n"

l_.str.10:                              ; @.str.10
	.asciz	"repeat"

l_.str.11:                              ; @.str.11
	.asciz	"count"

l_.str.12:                              ; @.str.12
	.asciz	"video_layout: <repeat> is missing 'count' attribute\n"

l_.str.13:                              ; @.str.13
	.asciz	"screen"

l_.str.14:                              ; @.str.14
	.asciz	"element"

l_.str.15:                              ; @.str.15
	.asciz	"inputtag"

l_.str.16:                              ; @.str.16
	.asciz	"inputmask"

l_.str.17:                              ; @.str.17
	.asciz	"inputraw"

l_.str.18:                              ; @.str.18
	.asciz	"video_layout: element \"%s\" is missing\n"

l_.str.19:                              ; @.str.19
	.asciz	"video_layout: <%s> is missing 'element' attribute\n"

	.no_dead_strip	_load_view
.subsections_via_symbols
