	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_vformat
_parse_vformat:                         ## @parse_vformat
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-60(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	leaq	-48(%rbp), %r8
	callq	_sscanf
	cmpl	$3, %eax
	jne	LBB0_1
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_vcos_strncasecmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.18:
	leaq	L_.str.4(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_vcos_strncasecmp
	testl	%eax, %eax
	je	LBB0_19
## %bb.28:
	leaq	L_.str.5(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_vcos_strncasecmp
	testl	%eax, %eax
	je	LBB0_29
## %bb.30:
	leaq	L_.str.6(%rip), %rsi
	leaq	-48(%rbp), %rdi
	movl	$4, %edx
	callq	_vcos_strncasecmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.32:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	leaq	-48(%rbp), %rdx
	jmp	LBB0_2
LBB0_1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
LBB0_2:
	xorl	%eax, %eax
	callq	_fprintf
LBB0_15:
	movl	$-1, %eax
	jmp	LBB0_16
LBB0_4:
	movq	_MMAL_ENCODING_H263@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movl	-60(%rbp), %edx
	movl	-56(%rbp), %ecx
	cmpl	$128, %edx
	jne	LBB0_6
## %bb.5:
	cmpl	$96, %ecx
	je	LBB0_21
LBB0_6:
	cmpl	$176, %edx
	jne	LBB0_8
## %bb.7:
	cmpl	$144, %ecx
	je	LBB0_21
LBB0_8:
	cmpl	$352, %edx                      ## imm = 0x160
	jne	LBB0_10
## %bb.9:
	cmpl	$288, %ecx                      ## imm = 0x120
	je	LBB0_21
LBB0_10:
	cmpl	$704, %edx                      ## imm = 0x2C0
	jne	LBB0_12
## %bb.11:
	cmpl	$576, %ecx                      ## imm = 0x240
	je	LBB0_21
LBB0_12:
	cmpl	$1408, %edx                     ## imm = 0x580
	jne	LBB0_14
## %bb.13:
	cmpl	$1152, %ecx                     ## imm = 0x480
	je	LBB0_21
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_15
LBB0_19:
	movq	_MMAL_ENCODING_MP4V@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_29:
	movq	_MMAL_ENCODING_H264@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_31:
	movq	_MMAL_ENCODING_JPEG@GOTPCREL(%rip), %rax
LBB0_20:
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
LBB0_21:
	testq	%r12, %r12
	je	LBB0_23
## %bb.22:
	movl	-60(%rbp), %ecx
	movl	%ecx, (%r12)
LBB0_23:
	testq	%r15, %r15
	je	LBB0_25
## %bb.24:
	movl	-56(%rbp), %ecx
	movl	%ecx, (%r15)
LBB0_25:
	testq	%r14, %r14
	je	LBB0_27
## %bb.26:
	movl	%eax, (%r14)
LBB0_27:
	movl	-60(%rbp), %esi
	movl	-56(%rbp), %edx
	leaq	L_.str.8(%rip), %rdi
	leaq	-52(%rbp), %rcx
	callq	_LOG_DEBUG
	xorl	%eax, %eax
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_17
## %bb.33:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%4ux%4u:%7s"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Error, malformed or unsupported video format: %s\n"

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

	.comm	_MMAL_ENCODING_H263,4,2         ## @MMAL_ENCODING_H263
L_.str.3:                               ## @.str.3
	.asciz	"Error, only 128x96, 176x144, 352x288, 704x576 and 1408x1152 are supported for H263\n"

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

	.comm	_MMAL_ENCODING_MP4V,4,2         ## @MMAL_ENCODING_MP4V
L_.str.5:                               ## @.str.5
	.asciz	"h264"

	.comm	_MMAL_ENCODING_H264,4,2         ## @MMAL_ENCODING_H264
L_.str.6:                               ## @.str.6
	.asciz	"jpeg"

	.comm	_MMAL_ENCODING_JPEG,4,2         ## @MMAL_ENCODING_JPEG
L_.str.7:                               ## @.str.7
	.asciz	"Error, unknown video encoding: %s\n"

L_.str.8:                               ## @.str.8
	.asciz	"Video format: w:%d h:%d codec:%4.4s"

	.no_dead_strip	_parse_vformat
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_vformat
_parse_vformat:                         ; @parse_vformat
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #28
	add	x3, sp, #24
	add	x4, sp, #32
	bl	_sscanf
	cmp	w0, #3
	b.ne	LBB0_6
; %bb.1:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #32
	mov	w2, #4
	bl	_vcos_strncasecmp
	cbz	w0, LBB0_8
; %bb.2:
Lloh7:
	adrp	x1, l_.str.4@PAGE
Lloh8:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x0, sp, #32
	mov	w2, #4
	bl	_vcos_strncasecmp
	cbz	w0, LBB0_19
; %bb.3:
Lloh9:
	adrp	x1, l_.str.5@PAGE
Lloh10:
	add	x1, x1, l_.str.5@PAGEOFF
	add	x0, sp, #32
	mov	w2, #4
	bl	_vcos_strncasecmp
	cbz	w0, LBB0_20
; %bb.4:
Lloh11:
	adrp	x1, l_.str.6@PAGE
Lloh12:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x22, sp, #32
	add	x0, sp, #32
	mov	w2, #4
	bl	_vcos_strncasecmp
	cbz	w0, LBB0_21
; %bb.5:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	str	x22, [sp]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_fprintf
	mov	w0, #-1
	b	LBB0_30
LBB0_8:
Lloh23:
	adrp	x8, _MMAL_ENCODING_H263@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MMAL_ENCODING_H263@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [sp, #20]
	ldp	w9, w10, [sp, #24]
	cmp	w10, #128
	b.ne	LBB0_10
; %bb.9:
	cmp	w9, #96
	b.eq	LBB0_23
LBB0_10:
	cmp	w10, #176
	b.ne	LBB0_12
; %bb.11:
	cmp	w9, #144
	b.eq	LBB0_23
LBB0_12:
	cmp	w10, #352
	b.ne	LBB0_14
; %bb.13:
	cmp	w9, #288
	b.eq	LBB0_23
LBB0_14:
	cmp	w10, #704
	b.ne	LBB0_16
; %bb.15:
	cmp	w9, #576
	b.eq	LBB0_23
LBB0_16:
	cmp	w10, #1408
	b.ne	LBB0_18
; %bb.17:
	cmp	w9, #1152
	b.eq	LBB0_23
LBB0_18:
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_19:
Lloh31:
	adrp	x8, _MMAL_ENCODING_MP4V@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MMAL_ENCODING_MP4V@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh33:
	adrp	x8, _MMAL_ENCODING_H264@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MMAL_ENCODING_H264@GOTPAGEOFF]
	b	LBB0_22
LBB0_21:
Lloh35:
	adrp	x8, _MMAL_ENCODING_JPEG@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MMAL_ENCODING_JPEG@GOTPAGEOFF]
LBB0_22:
	ldr	w8, [x8]
	str	w8, [sp, #20]
LBB0_23:
	cbz	x21, LBB0_25
; %bb.24:
	ldr	w9, [sp, #28]
	str	w9, [x21]
LBB0_25:
	cbz	x20, LBB0_27
; %bb.26:
	ldr	w9, [sp, #24]
	str	w9, [x20]
LBB0_27:
	cbz	x19, LBB0_29
; %bb.28:
	str	w8, [x19]
LBB0_29:
	ldp	w2, w1, [sp, #24]
Lloh37:
	adrp	x0, l_.str.8@PAGE
Lloh38:
	add	x0, x0, l_.str.8@PAGEOFF
	add	x3, sp, #20
	bl	_LOG_DEBUG
	mov	w0, #0
LBB0_30:
	ldr	x8, [sp, #40]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.31:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%4ux%4u:%7s"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Error, malformed or unsupported video format: %s\n"

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

	.comm	_MMAL_ENCODING_H263,4,2         ; @MMAL_ENCODING_H263
l_.str.3:                               ; @.str.3
	.asciz	"Error, only 128x96, 176x144, 352x288, 704x576 and 1408x1152 are supported for H263\n"

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

	.comm	_MMAL_ENCODING_MP4V,4,2         ; @MMAL_ENCODING_MP4V
l_.str.5:                               ; @.str.5
	.asciz	"h264"

	.comm	_MMAL_ENCODING_H264,4,2         ; @MMAL_ENCODING_H264
l_.str.6:                               ; @.str.6
	.asciz	"jpeg"

	.comm	_MMAL_ENCODING_JPEG,4,2         ; @MMAL_ENCODING_JPEG
l_.str.7:                               ; @.str.7
	.asciz	"Error, unknown video encoding: %s\n"

l_.str.8:                               ; @.str.8
	.asciz	"Video format: w:%d h:%d codec:%4.4s"

	.no_dead_strip	_parse_vformat
.subsections_via_symbols
