	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csiphy_try_format
_csiphy_try_format:                     ## @csiphy_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rbx
	cmpl	$128, %edx
	je	LBB0_8
## %bb.1:
	cmpl	$129, %edx
	jne	LBB0_9
## %bb.2:
	movl	(%rdi), %eax
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	24(%rbx), %ecx
	movq	8(%rdi), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	(%rdx,%rsi,4), %ecx
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	cmpq	%rsi, %rax
	jne	LBB0_5
LBB0_6:
	movq	_MEDIA_BUS_FMT_UYVY8_2X8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_7:
	movq	_u32@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	16(%rbx), %rsi
	movl	$1, %edx
	movl	$8191, %ecx                     ## imm = 0x1FFF
	callq	_clamp_t
	movq	%rax, 16(%rbx)
	movl	(%r14), %edi
	movq	8(%rbx), %rsi
	movl	$1, %edx
	movl	$8191, %ecx                     ## imm = 0x1FFF
	callq	_clamp_t
	movq	%rax, 8(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	jmp	LBB0_9
LBB0_8:
	movq	_MSM_CSID_PAD_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r8d, %ecx
	callq	___csiphy_get_format
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movups	%xmm0, (%rbx)
	movups	%xmm1, 16(%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,4,2    ## @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_u32,4,2                        ## @u32
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_MSM_CSID_PAD_SINK,4,2          ## @MSM_CSID_PAD_SINK
	.no_dead_strip	_csiphy_try_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csiphy_try_format
_csiphy_try_format:                     ; @csiphy_try_format
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	cmp	w2, #128
	b.eq	LBB0_8
; %bb.1:
	cmp	w2, #129
	b.ne	LBB0_9
; %bb.2:
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
	ldr	w9, [x19, #24]
	ldr	x10, [x0, #8]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	cmp	w9, w11
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #4
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_6:
Lloh0:
	adrp	x8, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_7:
Lloh3:
	adrp	x20, _u32@GOTPAGE
Lloh4:
	ldr	x20, [x20, _u32@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x1, [x19, #16]
	mov	w2, #1
	mov	w3, #8191
	bl	_clamp_t
	str	x0, [x19, #16]
	ldr	w0, [x20]
	ldr	x1, [x19, #8]
	mov	w2, #1
	mov	w3, #8191
	bl	_clamp_t
	str	x0, [x19, #8]
Lloh5:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19]
	b	LBB0_9
LBB0_8:
Lloh11:
	adrp	x8, _MSM_CSID_PAD_SINK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MSM_CSID_PAD_SINK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x3, x4
	bl	___csiphy_get_format
	ldp	q1, q0, [x0]
	stp	q1, q0, [x19]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,4,2    ; @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_u32,4,2                        ; @u32
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_MSM_CSID_PAD_SINK,4,2          ; @MSM_CSID_PAD_SINK
	.no_dead_strip	_csiphy_try_format
.subsections_via_symbols
