	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_orientation
_parse_orientation:                     ## @parse_orientation
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	_VIDEO_LAYOUT_ROT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	callq	_rxml_node_attrib
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_scope_eval
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	_VIDEO_LAYOUT_ROT270@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_2:
	movq	_VIDEO_LAYOUT_ROT90@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_VIDEO_LAYOUT_ROT180@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %r14d
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_rxml_node_attrib
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_scope_eval
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_VIDEO_LAYOUT_SWAP_XY@GOTPCREL(%rip), %rax
	xorl	(%rax), %r14d
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r12, %rdi
	callq	_rxml_node_attrib
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_scope_eval
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_VIDEO_LAYOUT_FLIP_X@GOTPCREL(%rip), %rax
	xorl	(%rax), %r14d
LBB0_14:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_rxml_node_attrib
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_scope_eval
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movq	%rax, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_VIDEO_LAYOUT_FLIP_Y@GOTPCREL(%rip), %rax
	xorl	(%rax), %r14d
LBB0_17:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIDEO_LAYOUT_ROT0,4,2          ## @VIDEO_LAYOUT_ROT0
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rotate"

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

	.comm	_VIDEO_LAYOUT_ROT90,4,2         ## @VIDEO_LAYOUT_ROT90
L_.str.2:                               ## @.str.2
	.asciz	"180"

	.comm	_VIDEO_LAYOUT_ROT180,4,2        ## @VIDEO_LAYOUT_ROT180
L_.str.3:                               ## @.str.3
	.asciz	"270"

	.comm	_VIDEO_LAYOUT_ROT270,4,2        ## @VIDEO_LAYOUT_ROT270
L_.str.4:                               ## @.str.4
	.asciz	"swapxy"

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

	.comm	_VIDEO_LAYOUT_SWAP_XY,4,2       ## @VIDEO_LAYOUT_SWAP_XY
L_.str.6:                               ## @.str.6
	.asciz	"flipx"

	.comm	_VIDEO_LAYOUT_FLIP_X,4,2        ## @VIDEO_LAYOUT_FLIP_X
L_.str.7:                               ## @.str.7
	.asciz	"flipy"

	.comm	_VIDEO_LAYOUT_FLIP_Y,4,2        ## @VIDEO_LAYOUT_FLIP_Y
	.no_dead_strip	_parse_orientation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_orientation
_parse_orientation:                     ; @parse_orientation
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _VIDEO_LAYOUT_ROT0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIDEO_LAYOUT_ROT0@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_4
; %bb.2:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcmp
Lloh11:
	adrp	x8, _VIDEO_LAYOUT_ROT270@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VIDEO_LAYOUT_ROT270@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w19, w8, w19, eq
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _VIDEO_LAYOUT_ROT90@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VIDEO_LAYOUT_ROT90@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh16:
	adrp	x8, _VIDEO_LAYOUT_ROT180@GOTPAGE
Lloh17:
	ldr	x8, [x8, _VIDEO_LAYOUT_ROT180@GOTPAGEOFF]
LBB0_6:
	ldr	w19, [x8]
LBB0_7:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	cbz	x0, LBB0_10
; %bb.8:
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x8, _VIDEO_LAYOUT_SWAP_XY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VIDEO_LAYOUT_SWAP_XY@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	eor	w19, w8, w19
LBB0_10:
Lloh25:
	adrp	x1, l_.str.6@PAGE
Lloh26:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	cbz	x0, LBB0_13
; %bb.11:
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.12:
Lloh29:
	adrp	x8, _VIDEO_LAYOUT_FLIP_X@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VIDEO_LAYOUT_FLIP_X@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	eor	w19, w8, w19
LBB0_13:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_rxml_node_attrib
	mov	x1, x0
	mov	x0, x20
	bl	_scope_eval
	cbz	x0, LBB0_16
; %bb.14:
Lloh34:
	adrp	x1, l_.str.5@PAGE
Lloh35:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_16
; %bb.15:
Lloh36:
	adrp	x8, _VIDEO_LAYOUT_FLIP_Y@GOTPAGE
Lloh37:
	ldr	x8, [x8, _VIDEO_LAYOUT_FLIP_Y@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	eor	w19, w8, w19
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_VIDEO_LAYOUT_ROT0,4,2          ; @VIDEO_LAYOUT_ROT0
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rotate"

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

	.comm	_VIDEO_LAYOUT_ROT90,4,2         ; @VIDEO_LAYOUT_ROT90
l_.str.2:                               ; @.str.2
	.asciz	"180"

	.comm	_VIDEO_LAYOUT_ROT180,4,2        ; @VIDEO_LAYOUT_ROT180
l_.str.3:                               ; @.str.3
	.asciz	"270"

	.comm	_VIDEO_LAYOUT_ROT270,4,2        ; @VIDEO_LAYOUT_ROT270
l_.str.4:                               ; @.str.4
	.asciz	"swapxy"

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

	.comm	_VIDEO_LAYOUT_SWAP_XY,4,2       ; @VIDEO_LAYOUT_SWAP_XY
l_.str.6:                               ; @.str.6
	.asciz	"flipx"

	.comm	_VIDEO_LAYOUT_FLIP_X,4,2        ; @VIDEO_LAYOUT_FLIP_X
l_.str.7:                               ; @.str.7
	.asciz	"flipy"

	.comm	_VIDEO_LAYOUT_FLIP_Y,4,2        ; @VIDEO_LAYOUT_FLIP_Y
	.no_dead_strip	_parse_orientation
.subsections_via_symbols
