	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_lite_find_format
_fimc_lite_find_format:                 ## @fimc_lite_find_format
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r13d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	_fimc_lite_formats@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	cmpl	%ebx, %eax
	jle	LBB0_13
## %bb.1:
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_13
## %bb.2:
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	cmoveq	%rax, %rbx
	incl	%r14d
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%r15
	callq	_ARRAY_SIZE
	movl	%eax, %eax
	addq	$24, %r12
	cmpq	%rax, %r15
	jae	LBB0_15
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_fimc_lite_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	testl	%r13d, (%rdi,%r12)
	je	LBB0_4
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi,%r12), %rax
	cmpq	(%rcx), %rax
	je	LBB0_14
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	(%rdi,%r12), %rax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rdi,%r12), %rcx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.11:
	movq	%rax, %rbx
	jmp	LBB0_15
LBB0_13:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	leaq	(%r15,%r15,2), %rax
	leaq	(%rdi,%rax,8), %rbx
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_fimc_lite_formats,8,3          ## @fimc_lite_formats
	.no_dead_strip	_fimc_lite_find_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_lite_find_format
_fimc_lite_find_format:                 ; @fimc_lite_find_format
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x24, _fimc_lite_formats@GOTPAGE
Lloh1:
	ldr	x24, [x24, _fimc_lite_formats@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, w19
	b.le	LBB0_12
; %bb.1:
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_12
; %bb.2:
	mov	x26, #0
	mov	x25, #0
	mov	w27, #0
	mov	x23, #0
	mov	w28, #24
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x0, x26
	cmp	w27, w19
	csel	x23, x8, x23, eq
	add	w27, w27, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	bl	_ARRAY_SIZE
	add	x26, x26, #24
	cmp	x25, w0, uxtw
	b.hs	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	cbz	w20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0, x26]
	tst	w8, w20
	b.eq	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x22, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x0, x26
	ldr	x8, [x8, #8]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_14
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x8, x0, x26
	ldr	x9, [x8, #16]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.11:
	mov	x23, x8
	b	LBB0_13
LBB0_12:
	mov	x23, #0
LBB0_13:
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_14:
	madd	x23, x25, x28, x0
	b	LBB0_13
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_fimc_lite_formats,8,3          ; @fimc_lite_formats
	.no_dead_strip	_fimc_lite_find_format
.subsections_via_symbols
