	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fimc_get_format              ## -- Begin function __fimc_get_format
	.p2align	4, 0x90
___fimc_get_format:                     ## @__fimc_get_format
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	28(%rdi), %eax
	movl	%eax, 32(%rsi)
	movl	24(%rdi), %eax
	movl	%eax, 28(%rsi)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rsi)
	movq	16(%rdi), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 20(%rsi)
	movq	_V4L2_COLORSPACE_JPEG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rsi)
	movl	(%rax), %r8d
	movl	%r8d, (%rsi)
	testl	%r8d, %r8d
	jle	LBB0_16
## %bb.1:
	movq	(%rdi), %r10
	movq	8(%rdi), %rdx
	movq	8(%rsi), %rsi
	cmpl	$4, %r8d
	jae	LBB0_3
## %bb.2:
	xorl	%edi, %edi
LBB0_12:
	movq	%rdi, %rax
	notq	%rax
	testb	$1, %r8b
	je	LBB0_14
## %bb.13:
	movl	(%rdx,%rdi,4), %ecx
	movl	%ecx, 4(%rsi,%rdi,8)
	movl	(%r10,%rdi,4), %ecx
	movl	%ecx, (%rsi,%rdi,8)
	orq	$1, %rdi
LBB0_14:
	addq	%r8, %rax
	je	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,4), %eax
	movl	%eax, 4(%rsi,%rdi,8)
	movl	(%r10,%rdi,4), %eax
	movl	%eax, (%rsi,%rdi,8)
	movl	4(%rdx,%rdi,4), %eax
	movl	%eax, 12(%rsi,%rdi,8)
	movl	4(%r10,%rdi,4), %eax
	movl	%eax, 8(%rsi,%rdi,8)
	addq	$2, %rdi
	cmpq	%rdi, %r8
	jne	LBB0_15
	jmp	LBB0_16
LBB0_3:
	leaq	(%rsi,%r8,8), %rcx
	leaq	(%rdx,%r8,4), %rax
	leaq	(%r10,%r8,4), %rdi
	cmpq	%rax, %rsi
	setb	%r9b
	cmpq	%rcx, %rdx
	setb	%r11b
	cmpq	%rdi, %rsi
	setb	%al
	cmpq	%rcx, %r10
	setb	%cl
	xorl	%edi, %edi
	testb	%r11b, %r9b
	jne	LBB0_12
## %bb.4:
	andb	%cl, %al
	jne	LBB0_12
## %bb.5:
	movl	%r8d, %edi
	andl	$-4, %edi
	leaq	-4(%rdi), %rax
	movq	%rax, %r9
	shrq	$2, %r9
	incq	%r9
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r9, %rcx
	andq	$-2, %rcx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movsd	(%rdx,%rax,4), %xmm0            ## xmm0 = mem[0],zero
	movsd	8(%rdx,%rax,4), %xmm1           ## xmm1 = mem[0],zero
	movsd	(%r10,%rax,4), %xmm2            ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	8(%r10,%rax,4), %xmm0           ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movups	%xmm2, (%rsi,%rax,8)
	movups	%xmm0, 16(%rsi,%rax,8)
	movsd	16(%rdx,%rax,4), %xmm0          ## xmm0 = mem[0],zero
	movsd	24(%rdx,%rax,4), %xmm1          ## xmm1 = mem[0],zero
	movsd	16(%r10,%rax,4), %xmm2          ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	24(%r10,%rax,4), %xmm0          ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	movups	%xmm2, 32(%rsi,%rax,8)
	movups	%xmm0, 48(%rsi,%rax,8)
	addq	$8, %rax
	addq	$-2, %rcx
	jne	LBB0_8
## %bb.9:
	testb	$1, %r9b
	je	LBB0_11
LBB0_10:
	movsd	(%rdx,%rax,4), %xmm0            ## xmm0 = mem[0],zero
	movsd	8(%rdx,%rax,4), %xmm1           ## xmm1 = mem[0],zero
	movsd	(%r10,%rax,4), %xmm2            ## xmm2 = mem[0],zero
	unpcklps	%xmm0, %xmm2                    ## xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
	movsd	8(%r10,%rax,4), %xmm0           ## xmm0 = mem[0],zero
	unpcklps	%xmm1, %xmm0                    ## xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
	leaq	(,%rax,8), %rcx
	orq	$16, %rcx
	movups	%xmm2, (%rsi,%rax,8)
	movups	%xmm0, (%rsi,%rcx)
LBB0_11:
	cmpq	%r8, %rdi
	jne	LBB0_12
LBB0_16:
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
	testb	$1, %r9b
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ## @V4L2_COLORSPACE_JPEG
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___fimc_get_format              ; -- Begin function __fimc_get_format
	.p2align	2
___fimc_get_format:                     ; @__fimc_get_format
	.cfi_startproc
; %bb.0:
	ldr	d0, [x0, #24]
	stur	d0, [x1, #28]
Lloh0:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #24]
	ldr	x8, [x0, #16]
Lloh3:
	adrp	x9, _V4L2_COLORSPACE_JPEG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_COLORSPACE_JPEG@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldp	w8, w10, [x8]
	stp	w9, w10, [x1, #16]
	str	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	ldr	x9, [x1, #8]
	ldp	x11, x10, [x0]
	cmp	w8, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x12, #0
	b	LBB0_8
LBB0_3:
	mov	x12, #0
	add	x14, x9, x8, lsl #3
	lsl	x13, x8, #2
	add	x15, x10, x13
	add	x13, x11, x13
	cmp	x9, x13
	ccmp	x11, x14, #2, lo
	cset	w13, lo
	cmp	x10, x14
	ccmp	x9, x15, #2, lo
	b.lo	LBB0_8
; %bb.4:
	tbnz	w13, #0, LBB0_8
; %bb.5:
	and	x12, x8, #0xfffffff8
	add	x13, x9, #32
	add	x14, x10, #16
	add	x15, x11, #16
	mov	x16, x12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q3, [x14, #-16]
	ldp	q0, q2, [x15, #-16]
	sub	x17, x13, #32
	st2.4s	{ v0, v1 }, [x17]
	st2.4s	{ v2, v3 }, [x13]
	add	x13, x13, #64
	add	x14, x14, #32
	add	x15, x15, #32
	subs	x16, x16, #8
	b.ne	LBB0_6
; %bb.7:
	cmp	x12, x8
	b.eq	LBB0_10
LBB0_8:
	lsl	x13, x12, #2
	add	x11, x11, x13
	add	x10, x10, x13
	add	x9, x9, x12, lsl #3
	add	x9, x9, #4
	sub	x8, x8, x12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x10], #4
	str	w12, [x9]
	ldr	w12, [x11], #4
	stur	w12, [x9, #-4]
	add	x9, x9, #8
	subs	x8, x8, #1
	b.ne	LBB0_9
LBB0_10:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_JPEG,4,2       ; @V4L2_COLORSPACE_JPEG
.subsections_via_symbols
