	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mcam_vidioc_enum_framesizes
_mcam_vidioc_enum_framesizes:           ## @mcam_vidioc_enum_framesizes
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -32(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	72(%rbx), %eax
	movl	%eax, -24(%rbp)
	movq	(%rbx), %rdi
	callq	_mcam_find_format
	movq	(%rax), %rcx
	cmpq	(%rbx), %rcx
	jne	LBB0_1
## %bb.2:
	movl	8(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_enum_frame_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %r8
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_sensor_call
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	-64(%rbp), %rax
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movq	-40(%rbp), %rsi
	cmpq	%rdx, %rax
	jne	LBB0_6
## %bb.4:
	cmpq	%rsi, %rcx
	jne	LBB0_6
## %bb.5:
	movq	_V4L2_FRMSIZE_TYPE_DISCRETE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 48(%rbx)
	movq	%rax, 56(%rbx)
	movq	%rcx, 64(%rbx)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	movq	_V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	movl	%edi, 48(%rbx)
	movq	%rax, 8(%rbx)
	movq	%rdx, 16(%rbx)
	movq	%rcx, 24(%rbx)
	movq	%rsi, 32(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 40(%rbx)
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_pad,4,2                        ## @pad
	.comm	_enum_frame_size,4,2            ## @enum_frame_size
	.comm	_V4L2_FRMSIZE_TYPE_DISCRETE,4,2 ## @V4L2_FRMSIZE_TYPE_DISCRETE
	.comm	_V4L2_FRMSIZE_TYPE_CONTINUOUS,4,2 ## @V4L2_FRMSIZE_TYPE_CONTINUOUS
	.no_dead_strip	_mcam_vidioc_enum_framesizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mcam_vidioc_enum_framesizes
_mcam_vidioc_enum_framesizes:           ; @mcam_vidioc_enum_framesizes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_video_drvdata
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	str	q0, [sp, #32]
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
	stp	q0, q0, [sp]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19, #72]
	stp	w8, w9, [sp, #36]
	ldr	x0, [x19]
	bl	_mcam_find_format
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x0, #8]
	str	w8, [sp, #32]
Lloh3:
	adrp	x8, _pad@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _enum_frame_size@GOTPAGE
Lloh7:
	ldr	x8, [x8, _enum_frame_size@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x0, x20
	mov	x3, #0
	bl	_sensor_call
	cbnz	w0, LBB0_6
; %bb.2:
	ldp	x8, x10, [sp]
	ldp	x9, x11, [sp, #16]
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.3:
	cmp	x9, x11
	b.ne	LBB0_7
; %bb.4:
	mov	w0, #0
Lloh9:
	adrp	x10, _V4L2_FRMSIZE_TYPE_DISCRETE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _V4L2_FRMSIZE_TYPE_DISCRETE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	str	w10, [x19, #48]
	stp	x8, x9, [x19, #56]
	b	LBB0_6
LBB0_5:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	mov	w0, #0
Lloh15:
	adrp	x12, _V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPAGE
Lloh16:
	ldr	x12, [x12, _V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	str	w12, [x19, #48]
	stp	x8, x10, [x19, #8]
	stp	x9, x11, [x19, #24]
	movi.2s	v0, #1
	str	d0, [x19, #40]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_pad,4,2                        ; @pad
	.comm	_enum_frame_size,4,2            ; @enum_frame_size
	.comm	_V4L2_FRMSIZE_TYPE_DISCRETE,4,2 ; @V4L2_FRMSIZE_TYPE_DISCRETE
	.comm	_V4L2_FRMSIZE_TYPE_CONTINUOUS,4,2 ; @V4L2_FRMSIZE_TYPE_CONTINUOUS
	.no_dead_strip	_mcam_vidioc_enum_framesizes
.subsections_via_symbols
