	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delta_g_fmt_frame
_delta_g_fmt_frame:                     ## @delta_g_fmt_frame
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdi), %edi
	callq	_to_ctx
	movq	%rax, %rbx
	movq	64(%rax), %rax
	leaq	24(%rbx), %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movl	$0, -64(%rbp)
	movq	_DELTA_FLAG_FRAMEINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	jne	LBB0_2
## %bb.1:
	movl	(%rax), %r12d
	movl	4(%rbx), %r13d
	leaq	-160(%rbp), %rsi
	movq	%r15, %rdi
	movl	$100, %edx
	callq	_delta_frameinfo_str
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_dev_dbg
LBB0_2:
	movl	44(%rbx), %esi
	movl	48(%rbx), %edi
	movdqu	44(%rbx), %xmm0
	pshufd	$30, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,1,0]
	movdqu	%xmm0, 24(%r14)
	callq	_frame_stride
	movl	%eax, 20(%r14)
	movl	40(%rbx), %eax
	movl	%eax, 16(%r14)
	movq	_DELTA_FLAG_STREAMINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.4:
	movups	8(%rbx), %xmm0
	movups	%xmm0, 24(%rbx)
	jmp	LBB0_5
LBB0_3:
	movups	(%r15), %xmm0
LBB0_5:
	movups	%xmm0, (%r14)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DELTA_FLAG_FRAMEINFO,4,2       ## @DELTA_FLAG_FRAMEINFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s V4L2 GET_FMT (CAPTURE): no frame information available, default to %s\n"

	.comm	_DELTA_FLAG_STREAMINFO,4,2      ## @DELTA_FLAG_STREAMINFO
	.no_dead_strip	_delta_g_fmt_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delta_g_fmt_frame
_delta_g_fmt_frame:                     ; @delta_g_fmt_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	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
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	w0, [x0]
	bl	_to_ctx
	mov	x20, x0
	ldr	x8, [x0, #64]
	str	wzr, [sp, #96]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #64]
	stp	q0, q0, [sp, #32]
	stp	q0, q0, [sp]
	ldr	w9, [x0]
Lloh3:
	adrp	x10, _DELTA_FLAG_FRAMEINFO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DELTA_FLAG_FRAMEINFO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_2
; %bb.1:
	add	x0, x20, #24
	ldr	w21, [x8]
	ldr	w22, [x20, #4]
	mov	x1, sp
	mov	w2, #100
	bl	_delta_frameinfo_str
	mov	x3, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x22
	bl	_dev_dbg
LBB0_2:
	ldr	w1, [x20, #44]
	str	w1, [x19, #36]
	ldr	w0, [x20, #48]
	str	w0, [x19, #32]
	ldur	d0, [x20, #52]
	str	d0, [x19, #24]
	bl	_frame_stride
	str	w0, [x19, #20]
	ldr	w8, [x20, #40]
	str	w8, [x19, #16]
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _DELTA_FLAG_STREAMINFO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DELTA_FLAG_STREAMINFO@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldp	w9, w8, [x20, #16]
	stp	w9, w8, [x20, #32]
	ldp	w11, w10, [x20, #8]
	stp	w11, w10, [x20, #24]
	b	LBB0_5
LBB0_4:
	ldp	w9, w8, [x20, #32]
	ldp	w11, w10, [x20, #24]
LBB0_5:
	stp	w9, w8, [x19, #8]
	stp	w11, w10, [x19]
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	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
	add	sp, sp, #160
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DELTA_FLAG_FRAMEINFO,4,2       ; @DELTA_FLAG_FRAMEINFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s V4L2 GET_FMT (CAPTURE): no frame information available, default to %s\n"

	.comm	_DELTA_FLAG_STREAMINFO,4,2      ; @DELTA_FLAG_STREAMINFO
	.no_dead_strip	_delta_g_fmt_frame
.subsections_via_symbols
