	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function csiphy_enum_frame_size
_csiphy_enum_frame_size:                ## @csiphy_enum_frame_size
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	callq	_v4l2_get_subdevdata
	cmpq	$0, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	8(%rbx), %rax
	movq	%rax, -40(%rbp)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -32(%rbp)
	movl	32(%rbx), %r8d
	movl	36(%rbx), %edx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_csiphy_try_format
	movl	-32(%rbp), %eax
	movl	%eax, 16(%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 20(%rbx)
	movq	-40(%rbp), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_1
## %bb.3:
	movq	$-1, -32(%rbp)
	movl	32(%rbx), %r8d
	movl	36(%rbx), %edx
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_csiphy_try_format
	movl	-32(%rbp), %eax
	movl	%eax, 24(%rbx)
	movl	-28(%rbp), %eax
	movl	%eax, 28(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_csiphy_enum_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function csiphy_enum_frame_size
_csiphy_enum_frame_size:                ; @csiphy_enum_frame_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x1
	bl	_v4l2_get_subdevdata
	ldr	x8, [x19]
	cbnz	x8, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	x8, [x19, #8]
	str	x8, [sp]
	movi.2s	v0, #1
	str	d0, [sp, #8]
	ldp	w4, w2, [x19, #32]
	mov	x3, sp
	mov	x1, x20
	bl	_csiphy_try_format
	ldr	d0, [sp, #8]
	str	d0, [x19, #16]
	ldr	x8, [sp]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	movi.2d	v0, #0xffffffffffffffff
	str	d0, [sp, #8]
	ldp	w4, w2, [x19, #32]
	mov	x3, sp
	mov	x0, x21
	mov	x1, x20
	bl	_csiphy_try_format
	mov	w0, #0
	ldr	d0, [sp, #8]
	str	d0, [x19, #24]
	b	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_csiphy_enum_frame_size
.subsections_via_symbols
