	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_component
_load_component:                        ## @load_component
	.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	%rdx, %rbx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movl	(%rdx), %edi
	callq	_comp_type_from_str
	cmpq	$128, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_RARCH_LOG
	xorl	%r12d, %r12d
LBB0_28:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_component_init
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movl	%eax, %edi
	callq	_get_int
	movq	%rax, 64(%r13)
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.5:
	leaq	L_.str.2(%rip), %r12
	leaq	L_.str.3(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_bounds
	movl	%eax, 60(%r13)
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movq	%r12, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_parse_color
	movl	%eax, 56(%r13)
	jmp	LBB0_10
LBB0_11:
	movl	(%r13), %eax
	cmpl	$129, %eax
	je	LBB0_18
## %bb.12:
	movl	$1, %r12d
	cmpl	$144, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_22
## %bb.13:
	cmpl	$139, %eax
	jne	LBB0_28
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	movq	%rax, %r15
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.15:
	movl	(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	callq	_RARCH_LOG
	xorl	%r12d, %r12d
LBB0_16:
	leaq	52(%r13), %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_scope_eval
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_set_string
	leaq	L_.str.6(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_28
## %bb.17:
	addq	$48, %r13
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_set_string
	jmp	LBB0_28
LBB0_18:
	leaq	L_.str.7(%rip), %rsi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	movq	%rax, %r15
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_20
## %bb.19:
	movl	(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	callq	_RARCH_LOG
	xorl	%r12d, %r12d
LBB0_20:
	leaq	40(%r13), %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_scope_eval
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_set_string
	leaq	L_.str.9(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_28
## %bb.21:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movl	%eax, %edi
	callq	_get_int
	movq	%rax, 32(%r13)
	jmp	LBB0_28
LBB0_22:
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movl	%eax, %edi
	callq	_get_int
	movq	%rax, 24(%r13)
LBB0_24:
	leaq	L_.str.11(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movl	%eax, %edi
	callq	_get_int
	movq	%rax, 16(%r13)
LBB0_26:
	leaq	L_.str.9(%rip), %rsi
	movq	%rbx, %rdi
	callq	_rxml_node_attrib
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_scope_eval
	movl	%eax, %edi
	callq	_get_int
	movq	%rax, 8(%r13)
	jmp	LBB0_28
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"video_layout: invalid component <%s />\n"

L_.str.1:                               ## @.str.1
	.asciz	"state"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"file"

L_.str.5:                               ## @.str.5
	.asciz	"video_layout: invalid component <%s />, missing 'file' attribute\n"

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

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

L_.str.8:                               ## @.str.8
	.asciz	"video_layout: invalid component <%s />, missing 'string' attribute\n"

L_.str.9:                               ## @.str.9
	.asciz	"align"

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

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

	.no_dead_strip	_load_component
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_component
_load_component:                        ; @load_component
	.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, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w0, [x2]
	bl	_comp_type_from_str
	cmp	x0, #128
	b.ne	LBB0_2
; %bb.1:
	ldr	w1, [x21]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	mov	w22, #0
	b	LBB0_31
LBB0_2:
	mov	x1, x0
	mov	x0, x19
	bl	_component_init
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_4
; %bb.3:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x19, #64]
LBB0_4:
	ldr	x22, [x21, #16]
	cbz	x22, LBB0_11
; %bb.5:
Lloh4:
	adrp	x23, l_.str.2@PAGE
Lloh5:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_parse_bounds
	str	w0, [x19, #60]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [x22, #8]
	cbz	x22, LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	mov	x1, x23
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x22]
	mov	x1, x24
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_parse_color
	str	w0, [x19, #56]
	b	LBB0_7
LBB0_11:
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_16
; %bb.12:
	cmp	w8, #144
	b.eq	LBB0_18
; %bb.13:
	cmp	w8, #139
	b.ne	LBB0_24
; %bb.14:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x23, x0
	cbz	x0, LBB0_25
; %bb.15:
	mov	w22, #1
	b	LBB0_26
LBB0_16:
Lloh10:
	adrp	x1, l_.str.7@PAGE
Lloh11:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x23, x0
	cbz	x0, LBB0_28
; %bb.17:
	mov	w22, #1
	b	LBB0_29
LBB0_18:
Lloh12:
	adrp	x1, l_.str.10@PAGE
Lloh13:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_20
; %bb.19:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x19, #24]
LBB0_20:
Lloh14:
	adrp	x1, l_.str.11@PAGE
Lloh15:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_22
; %bb.21:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x19, #16]
LBB0_22:
Lloh16:
	adrp	x1, l_.str.9@PAGE
Lloh17:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_24
; %bb.23:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x19, #8]
LBB0_24:
	mov	w22, #1
	b	LBB0_31
LBB0_25:
	ldr	w1, [x21]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_RARCH_LOG
	mov	w22, #0
LBB0_26:
	add	x24, x19, #52
	mov	x0, x20
	mov	x1, x23
	bl	_scope_eval
	mov	x1, x0
	mov	x0, x24
	bl	_set_string
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_31
; %bb.27:
	mov	x1, x0
	add	x19, x19, #48
	mov	x0, x20
	bl	_scope_eval
	mov	x1, x0
	mov	x0, x19
	bl	_set_string
	b	LBB0_31
LBB0_28:
	ldr	w1, [x21]
Lloh22:
	adrp	x0, l_.str.8@PAGE
Lloh23:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_RARCH_LOG
	mov	w22, #0
LBB0_29:
	add	x24, x19, #40
	mov	x0, x20
	mov	x1, x23
	bl	_scope_eval
	mov	x1, x0
	mov	x0, x24
	bl	_set_string
Lloh24:
	adrp	x1, l_.str.9@PAGE
Lloh25:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	cbz	x0, LBB0_31
; %bb.30:
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	bl	_get_int
	str	x0, [x19, #32]
LBB0_31:
	mov	x0, x22
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"video_layout: invalid component <%s />\n"

l_.str.1:                               ; @.str.1
	.asciz	"state"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"file"

l_.str.5:                               ; @.str.5
	.asciz	"video_layout: invalid component <%s />, missing 'file' attribute\n"

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

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

l_.str.8:                               ; @.str.8
	.asciz	"video_layout: invalid component <%s />, missing 'string' attribute\n"

l_.str.9:                               ; @.str.9
	.asciz	"align"

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

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

	.no_dead_strip	_load_component
.subsections_via_symbols
