	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_cmdline
_parse_cmdline:                         ## @parse_cmdline
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	cmpl	$2, %edi
	jl	LBB0_59
## %bb.1:
	movq	%rsi, %r15
	movl	%edi, %r12d
	leaq	12(%rdx), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	16(%rdx), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	60(%rdx), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	4(%rdx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	48(%rdx), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	leaq	44(%rdx), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	leaq	40(%rdx), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rbx
	movq	(%r15,%rbx,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$45, (%rdx)
	jne	LBB0_58
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_cmdline_commands@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cmdline_commands_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incq	%rdx
	leaq	-84(%rbp), %rcx
	callq	_raspicli_get_command_id
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%r13), %r14d
	cmpl	$-1, %eax
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, -84(%rbp)
	jle	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r14d
	jl	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %r14d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leal	1(%r14), %r13d
	cmpl	%r12d, %r13d
	jge	LBB0_57
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_2
	jmp	LBB0_57
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	$-128, %eax
	cmpl	$10, %eax
	ja	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 28(%r14)
	je	LBB0_49
## %bb.14:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_50
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r14d
	jge	LBB0_44
## %bb.16:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdx
	jmp	LBB0_45
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdi
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_58
## %bb.18:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, (%rcx)
	jne	LBB0_8
## %bb.19:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	56(%rcx), %eax
	movq	_WAIT_METHOD_NONE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	jne	LBB0_8
## %bb.20:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_WAIT_METHOD_FOREVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rcx)
	jmp	LBB0_8
LBB0_21:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_58
## %bb.22:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	cmpl	$999, (%rax)                    ## imm = 0x3E7
	jg	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	$1000, (%rax)                   ## imm = 0x3E8
LBB0_24:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	$999, (%rax)                    ## imm = 0x3E7
	jg	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	$1000, (%rax)                   ## imm = 0x3E8
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_WAIT_METHOD_TIMED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 56(%rcx)
	cmpl	$-1, (%rcx)
	jne	LBB0_8
## %bb.27:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rcx)
	jmp	LBB0_8
LBB0_28:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_WAIT_METHOD_SIGNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 56(%rbx)
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_default_signal_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	cmpl	$-1, (%rbx)
	jne	LBB0_7
## %bb.29:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rbx)
	jmp	LBB0_7
LBB0_30:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 32(%rax)
	movslq	%r14d, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r15,%rax,8), %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_58
## %bb.31:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	incl	%ebx
	movl	%ebx, %edi
	callq	_malloc
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movl	%eax, 52(%r13)
	movl	%eax, %edi
	callq	_vcos_assert
	movl	52(%r13), %edi
	testl	%edi, %edi
	je	LBB0_8
## %bb.32:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%r15,%rax,8), %rsi
	movl	%ebx, %edx
	callq	_strncpy
	jmp	LBB0_8
LBB0_34:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpl	$0, 24(%r14)
	je	LBB0_51
## %bb.35:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_52
LBB0_36:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 36(%rax)
	jmp	LBB0_7
LBB0_37:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_WAIT_METHOD_KEYPRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 56(%rcx)
	cmpl	$-1, (%rcx)
	jne	LBB0_7
## %bb.38:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	$0, (%rcx)
	jmp	LBB0_7
LBB0_39:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdi
	movq	_initial_map@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_initial_map_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_raspicli_map_xref
	cmpl	$-1, %eax
	movl	$0, %ecx
	cmovel	%ecx, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 20(%rcx)
	jmp	LBB0_8
LBB0_40:                                ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	-120(%rbp), %rdx                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sscanf
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	sete	%bl
	cmovel	%r14d, %r13d
	movl	%r13d, %r14d
	jmp	LBB0_9
LBB0_41:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r12d, %r14d
	jge	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r14d, %rax
	movq	(%r15,%rax,8), %rdi
	cmpb	$45, (%rdi)
	jne	LBB0_53
LBB0_43:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	jmp	LBB0_7
LBB0_44:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_45:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%rbx,8), %rsi
	incq	%rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	callq	_raspicamcontrol_parse_cmdline
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_48
## %bb.46:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%rbx,8), %rsi
	incq	%rsi
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	_application_help_message@GOTPCREL(%rip), %rcx
	callq	_raspicommonsettings_parse_cmdline
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15,%rbx,8), %rsi
	incq	%rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_raspipreview_parse_cmdline
	movl	%eax, %r14d
LBB0_48:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%ebx, %ebx
	subl	$1, %r14d
	movl	$0, %eax
	cmovbl	%eax, %r14d
	setae	%bl
	addl	%r13d, %r14d
	jmp	LBB0_9
LBB0_49:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
LBB0_50:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, 24(%r14)
	movl	%r13d, %r14d
	jmp	LBB0_9
LBB0_51:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ebx
LBB0_52:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, 28(%r14)
	movl	%r13d, %r14d
	jmp	LBB0_9
LBB0_53:                                ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_58
## %bb.54:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_56
## %bb.55:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$250, (%rax)
LBB0_56:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	$1, 8(%rax)
	jmp	LBB0_8
LBB0_57:
	xorl	%eax, %eax
	movl	%r14d, %r13d
	testl	%ebx, %ebx
	jne	LBB0_59
LBB0_58:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%r13d, %rax
	movq	(%r15,%rax,8), %rdx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %eax
LBB0_59:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_17
	.long	L0_0_set_21
	.long	L0_0_set_28
	.long	L0_0_set_30
	.long	L0_0_set_34
	.long	L0_0_set_36
	.long	L0_0_set_37
	.long	L0_0_set_39
	.long	L0_0_set_40
	.long	L0_0_set_41
	.end_data_region
                                        ## -- End function
	.comm	_cmdline_commands,4,2           ## @cmdline_commands
	.comm	_cmdline_commands_size,4,2      ## @cmdline_commands_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d"

	.comm	_WAIT_METHOD_NONE,4,2           ## @WAIT_METHOD_NONE
	.comm	_WAIT_METHOD_FOREVER,4,2        ## @WAIT_METHOD_FOREVER
L_.str.1:                               ## @.str.1
	.asciz	"%u"

L_.str.2:                               ## @.str.2
	.asciz	"%u,%u"

	.comm	_WAIT_METHOD_TIMED,4,2          ## @WAIT_METHOD_TIMED
	.comm	_WAIT_METHOD_KEYPRESS,4,2       ## @WAIT_METHOD_KEYPRESS
	.comm	_WAIT_METHOD_SIGNAL,4,2         ## @WAIT_METHOD_SIGNAL
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_default_signal_handler,4,2     ## @default_signal_handler
	.comm	_initial_map,4,2                ## @initial_map
	.comm	_initial_map_size,4,2           ## @initial_map_size
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"--luma and --rgb are mutually exclusive\n"

	.comm	_application_help_message,4,2   ## @application_help_message
L_.str.4:                               ## @.str.4
	.asciz	"Invalid command line option (%s)\n"

	.no_dead_strip	_parse_cmdline
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_cmdline
_parse_cmdline:                         ; @parse_cmdline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	cmp	w0, #2
	b.lt	LBB0_57
; %bb.1:
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	add	x28, x2, #12
	add	x23, x2, #16
	add	x9, x2, #60
	add	x10, x2, #4
	add	x8, x2, #48
	stp	x8, x9, [sp, #40]               ; 16-byte Folded Spill
	add	x8, x2, #44
	stp	x8, x10, [sp, #24]              ; 16-byte Folded Spill
	add	x8, x2, #40
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x26, _cmdline_commands@GOTPAGE
Lloh1:
	ldr	x26, [x26, _cmdline_commands@GOTPAGEOFF]
Lloh2:
	adrp	x24, _cmdline_commands_size@GOTPAGE
Lloh3:
	ldr	x24, [x24, _cmdline_commands_size@GOTPAGEOFF]
	mov	w25, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, w25, sxtw #3]
	cbz	x8, LBB0_33
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_58
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtw	x22, w25
	ldr	w0, [x26]
	ldr	w1, [x24]
	add	x2, x8, #1
	add	x3, sp, #60
	bl	_raspicli_get_command_id
	ldr	w8, [sp, #60]
	add	x27, x22, #1
	cmn	w0, #1
	ccmp	w8, #1, #8, ne
	ccmp	w27, w21, #8, ge
	b.ge	LBB0_33
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w0, #128
	cmp	w8, #10
	b.hi	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x9, LBB0_7
	ldrb	w10, [x11, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #28]
	cbz	w8, LBB0_47
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh6:
	adrp	x8, _stderr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w8, #0
	b	LBB0_48
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	x23, [sp, #8]                   ; 8-byte Folded Spill
	mov	x23, x28
	cmp	w27, w21
	b.ge	LBB0_42
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x28, [x19, w27, sxtw #3]
	b	LBB0_43
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, x27, lsl #3]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_58
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_21
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #56]
Lloh13:
	adrp	x9, _WAIT_METHOD_NONE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _WAIT_METHOD_NONE@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh16:
	adrp	x8, _WAIT_METHOD_FOREVER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _WAIT_METHOD_FOREVER@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	b	LBB0_21
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, w27, sxtw #3]
	str	x23, [sp]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x28
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_58
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x28]
	cmp	w8, #999
	b.gt	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1000
	str	w8, [x28]
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	cmp	w8, #999
	b.gt	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1000
	str	w8, [x23]
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh21:
	adrp	x8, _WAIT_METHOD_TIMED@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WAIT_METHOD_TIMED@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x20, #56]
	ldr	w8, [x20]
	cmn	w8, #1
	b.eq	LBB0_51
LBB0_21:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	b	LBB0_35
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh24:
	adrp	x8, _WAIT_METHOD_SIGNAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WAIT_METHOD_SIGNAL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x20, #56]
Lloh27:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _default_signal_handler@GOTPAGE
Lloh31:
	ldr	x8, [x8, _default_signal_handler@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_signal
	b	LBB0_31
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20, #32]
	ldr	x0, [x19, w27, sxtw #3]
	bl	_strlen
	cbz	w0, LBB0_58
; %bb.24:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x22, x28
	add	w28, w0, #1
	mov	x0, x28
	bl	_malloc
	str	w0, [x20, #52]
	bl	_vcos_assert
	ldr	w0, [x20, #52]
	cbz	w0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x8, x27
	sxtw	x8, w8
	ldr	x1, [x19, x8, lsl #3]
	mov	x2, x28
	bl	_strncpy
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	mov	x28, x22
	b	LBB0_35
LBB0_27:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #24]
	cbz	w8, LBB0_49
; %bb.28:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh33:
	adrp	x8, _stderr@GOTPAGE
Lloh34:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
	mov	w8, #0
	b	LBB0_50
LBB0_29:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20, #36]
	b	LBB0_34
LBB0_30:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh38:
	adrp	x8, _WAIT_METHOD_KEYPRESS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _WAIT_METHOD_KEYPRESS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	str	w8, [x20, #56]
LBB0_31:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x20]
LBB0_33:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
LBB0_34:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x27, x25
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w25, w27, #1
	cmp	w25, w21
	b.ge	LBB0_56
; %bb.36:                               ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w8, LBB0_2
	b	LBB0_56
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, w27, sxtw #3]
Lloh41:
	adrp	x8, _initial_map@GOTPAGE
Lloh42:
	ldr	x8, [x8, _initial_map@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _initial_map_size@GOTPAGE
Lloh45:
	ldr	x8, [x8, _initial_map_size@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	bl	_raspicli_map_xref
	cmn	w0, #1
	csel	w8, wzr, w0, eq
	str	w8, [x20, #20]
	mov	w8, #1
	b	LBB0_35
LBB0_38:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, w27, sxtw #3]
Lloh47:
	adrp	x1, l_.str.1@PAGE
Lloh48:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x2, [sp, #48]                   ; 8-byte Folded Reload
	bl	_sscanf
	cmp	w0, #1
	csel	w27, w27, w25, eq
	cset	w8, eq
	b	LBB0_35
LBB0_39:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w27, w21
	b.ge	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x19, w27, sxtw #3]
	ldrb	w8, [x0]
	cmp	w8, #45
	b.ne	LBB0_52
LBB0_41:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20, #8]
	b	LBB0_34
LBB0_42:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x28, #0
LBB0_43:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, x22, lsl #3]
	add	x1, x8, #1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_raspicamcontrol_parse_cmdline
	cbnz	w0, LBB0_46
; %bb.44:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, x22, lsl #3]
	add	x1, x8, #1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x2, x28
Lloh49:
	adrp	x3, _application_help_message@GOTPAGE
Lloh50:
	ldr	x3, [x3, _application_help_message@GOTPAGEOFF]
	bl	_raspicommonsettings_parse_cmdline
	cbnz	w0, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, x22, lsl #3]
	add	x1, x8, #1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x2, x28
	bl	_raspipreview_parse_cmdline
LBB0_46:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w8, w0, #1
	cmp	w0, #0
	csel	w9, wzr, w8, eq
	cset	w8, ne
	add	w27, w9, w25
	mov	x28, x23
	ldr	x23, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_35
LBB0_47:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
LBB0_48:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #1
	str	w9, [x20, #24]
	b	LBB0_34
LBB0_49:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
LBB0_50:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #1
	str	w9, [x20, #28]
	b	LBB0_34
LBB0_51:                                ;   in Loop: Header=BB0_2 Depth=1
	str	wzr, [x20]
	mov	w8, #1
	b	LBB0_35
LBB0_52:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh51:
	adrp	x1, l_.str.1@PAGE
Lloh52:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	x2, [sp, #32]                   ; 8-byte Folded Reload
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_58
; %bb.53:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cbnz	w8, LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	mov	w9, #250
	str	w9, [x8]
LBB0_55:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [x20, #8]
	b	LBB0_35
LBB0_56:
	mov	x25, x27
	cbz	w8, LBB0_58
LBB0_57:
	mov	w0, #0
	b	LBB0_59
LBB0_58:
Lloh53:
	adrp	x8, _stderr@GOTPAGE
Lloh54:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	ldr	x8, [x19, w25, sxtw #3]
	str	x8, [sp]
Lloh56:
	adrp	x1, l_.str.4@PAGE
Lloh57:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	mov	w0, #1
LBB0_59:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_22-LBB0_7)>>2
	.byte	(LBB0_23-LBB0_7)>>2
	.byte	(LBB0_27-LBB0_7)>>2
	.byte	(LBB0_29-LBB0_7)>>2
	.byte	(LBB0_30-LBB0_7)>>2
	.byte	(LBB0_37-LBB0_7)>>2
	.byte	(LBB0_38-LBB0_7)>>2
	.byte	(LBB0_39-LBB0_7)>>2
                                        ; -- End function
	.comm	_cmdline_commands,4,2           ; @cmdline_commands
	.comm	_cmdline_commands_size,4,2      ; @cmdline_commands_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d"

	.comm	_WAIT_METHOD_NONE,4,2           ; @WAIT_METHOD_NONE
	.comm	_WAIT_METHOD_FOREVER,4,2        ; @WAIT_METHOD_FOREVER
l_.str.1:                               ; @.str.1
	.asciz	"%u"

l_.str.2:                               ; @.str.2
	.asciz	"%u,%u"

	.comm	_WAIT_METHOD_TIMED,4,2          ; @WAIT_METHOD_TIMED
	.comm	_WAIT_METHOD_KEYPRESS,4,2       ; @WAIT_METHOD_KEYPRESS
	.comm	_WAIT_METHOD_SIGNAL,4,2         ; @WAIT_METHOD_SIGNAL
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_default_signal_handler,4,2     ; @default_signal_handler
	.comm	_initial_map,4,2                ; @initial_map
	.comm	_initial_map_size,4,2           ; @initial_map_size
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"--luma and --rgb are mutually exclusive\n"

	.comm	_application_help_message,4,2   ; @application_help_message
l_.str.4:                               ; @.str.4
	.asciz	"Invalid command line option (%s)\n"

	.no_dead_strip	_parse_cmdline
.subsections_via_symbols
