	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_video_enum_frameintervals
_aspeed_video_enum_frameintervals:      ## @aspeed_video_enum_frameintervals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	cmpq	$0, 56(%rbx)
	jne	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.3:
	movq	8(%rbx), %rcx
	cmpq	8(%rax), %rcx
	jne	LBB0_1
## %bb.4:
	movq	16(%rbx), %rax
	movq	_V4L2_PIX_FMT_JPEG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.5:
	movq	_V4L2_FRMIVAL_TYPE_CONTINUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_MAX_FRAME_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movl	$1, 40(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 24(%rbx)
	movq	%rax, 32(%rbx)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ## @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_FRMIVAL_TYPE_CONTINUOUS,4,2 ## @V4L2_FRMIVAL_TYPE_CONTINUOUS
	.comm	_MAX_FRAME_RATE,4,2             ## @MAX_FRAME_RATE
	.no_dead_strip	_aspeed_video_enum_frameintervals
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_video_enum_frameintervals
_aspeed_video_enum_frameintervals:      ; @aspeed_video_enum_frameintervals
	.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, x2
	bl	_video_drvdata
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x0]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x9, [x0, #8]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #16]
Lloh0:
	adrp	x9, _V4L2_PIX_FMT_JPEG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_PIX_FMT_JPEG@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
Lloh3:
	adrp	x8, _V4L2_FRMIVAL_TYPE_CONTINUOUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_FRMIVAL_TYPE_CONTINUOUS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #48]
Lloh6:
	adrp	x8, _MAX_FRAME_RATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAX_FRAME_RATE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	w9, #1
	stp	w9, w8, [x19, #40]
	movi.2s	v0, #1
	str	d0, [x19, #24]
	mov	x8, #4294967297
	str	x8, [x19, #32]
	b	LBB0_6
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_PIX_FMT_JPEG,8,3          ; @V4L2_PIX_FMT_JPEG
	.comm	_V4L2_FRMIVAL_TYPE_CONTINUOUS,4,2 ; @V4L2_FRMIVAL_TYPE_CONTINUOUS
	.comm	_MAX_FRAME_RATE,4,2             ; @MAX_FRAME_RATE
	.no_dead_strip	_aspeed_video_enum_frameintervals
.subsections_via_symbols
