	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_oif_try_format
_s5c73m3_oif_try_format:                ## @s5c73m3_oif_try_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	(%rdx), %eax
	cmpl	$129, %eax
	je	LBB0_3
## %bb.1:
	cmpl	$130, %eax
	jne	LBB0_4
## %bb.2:
	leaq	4(%rbx), %rdi
	movq	_RES_ISP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_s5c73m3_find_frame_size
	movq	%rax, %rsi
	movq	%rax, (%r14)
	movq	_S5C73M3_ISP_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_9
LBB0_3:
	leaq	4(%rbx), %rdi
	movq	_RES_JPEG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_s5c73m3_find_frame_size
	movq	%rax, %rsi
	movq	%rax, (%r14)
	movq	_S5C73M3_JPEG_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_9
LBB0_4:
	movq	_S5C73M3_JPEG_FMT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	8(%rbx), %eax
	cmpl	%r15d, 4(%rbx)
	je	LBB0_6
## %bb.5:
	movq	_S5C73M3_ISP_FMT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r15d
LBB0_6:
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.7:
	movq	(%rdi), %rax
	movq	_RES_ISP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	movq	%rsi, (%r14)
	jmp	LBB0_9
LBB0_8:
	addq	$8, %rdi
	movl	$130, %edx
	callq	_v4l2_subdev_get_try_format
	movq	_RES_ISP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rax, %rdi
	callq	_s5c73m3_find_frame_size
	movq	%rax, %rsi
	movq	%rax, (%r14)
LBB0_9:
	addq	$4, %rbx
	movq	%rbx, %rdi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_s5c73m3_fill_mbus_fmt          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RES_ISP,8,3                    ## @RES_ISP
	.comm	_S5C73M3_ISP_FMT,4,2            ## @S5C73M3_ISP_FMT
	.comm	_RES_JPEG,8,3                   ## @RES_JPEG
	.comm	_S5C73M3_JPEG_FMT,4,2           ## @S5C73M3_JPEG_FMT
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.no_dead_strip	_s5c73m3_oif_try_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_oif_try_format
_s5c73m3_oif_try_format:                ; @s5c73m3_oif_try_format
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x3
	mov	x19, x2
	ldr	w8, [x2]
	cmp	w8, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #130
	b.ne	LBB0_4
; %bb.2:
	add	x0, x19, #4
Lloh0:
	adrp	x8, _RES_ISP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RES_ISP@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	bl	_s5c73m3_find_frame_size
	mov	x1, x0
	str	x0, [x20]
Lloh3:
	adrp	x8, _S5C73M3_ISP_FMT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5C73M3_ISP_FMT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	b	LBB0_7
LBB0_3:
	add	x0, x19, #4
Lloh6:
	adrp	x8, _RES_JPEG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RES_JPEG@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	bl	_s5c73m3_find_frame_size
	mov	x1, x0
	str	x0, [x20]
Lloh9:
	adrp	x8, _S5C73M3_JPEG_FMT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S5C73M3_JPEG_FMT@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x8, _S5C73M3_JPEG_FMT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S5C73M3_JPEG_FMT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _S5C73M3_ISP_FMT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _S5C73M3_ISP_FMT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	ldp	w10, w11, [x19, #4]
	cmp	w10, w8
	csel	w21, w8, w9, eq
Lloh18:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w11, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x0]
Lloh21:
	adrp	x9, _RES_ISP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _RES_ISP@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	ldr	x1, [x8, x9, lsl #3]
	str	x1, [x20]
	b	LBB0_7
LBB0_6:
	add	x0, x0, #8
	mov	w2, #130
	bl	_v4l2_subdev_get_try_format
Lloh24:
	adrp	x8, _RES_ISP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RES_ISP@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	bl	_s5c73m3_find_frame_size
	mov	x1, x0
	str	x0, [x20]
LBB0_7:
	add	x0, x19, #4
	mov	x2, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_s5c73m3_fill_mbus_fmt
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_RES_ISP,8,3                    ; @RES_ISP
	.comm	_S5C73M3_ISP_FMT,4,2            ; @S5C73M3_ISP_FMT
	.comm	_RES_JPEG,8,3                   ; @RES_JPEG
	.comm	_S5C73M3_JPEG_FMT,4,2           ; @S5C73M3_JPEG_FMT
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.no_dead_strip	_s5c73m3_oif_try_format
.subsections_via_symbols
