	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspipreview_parse_cmdline     ## -- Begin function raspipreview_parse_cmdline
	.p2align	4, 0x90
_raspipreview_parse_cmdline:            ## @raspipreview_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.1:
	movq	%rdx, %r15
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	_cmdline_commands@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_cmdline_commands_size@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-28(%rbp), %rcx
	callq	_raspicli_get_command_id
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.2:
	testq	%r15, %r15
	jne	LBB0_4
## %bb.3:
	cmpl	$0, -28(%rbp)
	jg	LBB0_14
LBB0_4:
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_14
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movl	$1, (%r14)
	leaq	24(%r14), %rdx
	leaq	12(%r14), %r9
	leaq	20(%r14), %rcx
	leaq	16(%r14), %r8
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_sscanf
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	$0, 4(%r14)
	movl	$2, %ebx
	jmp	LBB0_14
LBB0_10:
	addq	$8, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_sscanf
	movl	$2, %ebx
	cmpl	$1, %eax
	je	LBB0_14
## %bb.11:
	movl	$255, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_9:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%r14)
	jmp	LBB0_13
LBB0_12:
	movl	$0, (%r14)
LBB0_13:
	movl	$1, %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$1, 4(%r14)
	movl	$2, %ebx
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_12
	.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,%d,%d,%d"

L_.str.1:                               ## @.str.1
	.asciz	"%u"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_raspipreview_parse_cmdline     ; -- Begin function raspipreview_parse_cmdline
	.p2align	2
_raspipreview_parse_cmdline:            ; @raspipreview_parse_cmdline
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _cmdline_commands@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cmdline_commands@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _cmdline_commands_size@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cmdline_commands_size@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #28
	bl	_raspicli_get_command_id
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.2:
	cbnz	x20, LBB0_6
; %bb.3:
	ldr	w8, [sp, #28]
	cmp	w8, #0
	b.le	LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	sub	w8, w0, #128
	cmp	w8, #3
	b.hi	LBB0_4
; %bb.7:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	w21, #1
	mov	x2, x19
	str	w21, [x2], #24
	add	x8, x19, #12
	add	x9, x19, #20
	add	x10, x19, #16
	stp	x10, x8, [sp, #8]
	str	x9, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_sscanf
	cbz	w0, LBB0_16
; %bb.9:
	str	wzr, [x19, #4]
	mov	w0, #2
	b	LBB0_5
LBB0_10:
	add	x19, x19, #8
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.11:
	mov	w0, #2
	b	LBB0_5
LBB0_12:
	movi.2s	v0, #1
	str	d0, [x19]
	b	LBB0_14
LBB0_13:
	str	wzr, [x19]
LBB0_14:
	mov	w0, #1
	b	LBB0_5
LBB0_15:
	mov	w0, #0
	mov	w8, #255
	str	w8, [x19]
	b	LBB0_5
LBB0_16:
	str	w21, [x19, #4]
	mov	w0, #2
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_12-LBB0_8)>>2
	.byte	(LBB0_13-LBB0_8)>>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,%d,%d,%d"

l_.str.1:                               ; @.str.1
	.asciz	"%u"

.subsections_via_symbols
