	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vimc_cap_enum_framesizes
_vimc_cap_enum_framesizes:              ## @vimc_cap_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpq	$0, 32(%rdx)
	je	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_2:
	movq	%rdx, %rbx
	movl	28(%rdx), %edi
	callq	_vimc_pix_map_by_code
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	_V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_VIMC_FRAME_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_VIMC_FRAME_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_VIMC_FRAME_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_VIMC_FRAME_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, (%rbx)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_FRMSIZE_TYPE_CONTINUOUS,4,2 ## @V4L2_FRMSIZE_TYPE_CONTINUOUS
	.comm	_VIMC_FRAME_MIN_WIDTH,4,2       ## @VIMC_FRAME_MIN_WIDTH
	.comm	_VIMC_FRAME_MAX_WIDTH,4,2       ## @VIMC_FRAME_MAX_WIDTH
	.comm	_VIMC_FRAME_MIN_HEIGHT,4,2      ## @VIMC_FRAME_MIN_HEIGHT
	.comm	_VIMC_FRAME_MAX_HEIGHT,4,2      ## @VIMC_FRAME_MAX_HEIGHT
	.no_dead_strip	_vimc_cap_enum_framesizes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vimc_cap_enum_framesizes
_vimc_cap_enum_framesizes:              ; @vimc_cap_enum_framesizes
	.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
	ldr	x8, [x2, #32]
	cbz	x8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_2:
	mov	x19, x2
	ldr	w0, [x2, #28]
	bl	_vimc_pix_map_by_code
	cbz	x0, LBB0_1
; %bb.3:
	mov	w0, #0
Lloh3:
	adrp	x8, _V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_FRMSIZE_TYPE_CONTINUOUS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #24]
Lloh6:
	adrp	x8, _VIMC_FRAME_MIN_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIMC_FRAME_MIN_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _VIMC_FRAME_MAX_WIDTH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _VIMC_FRAME_MAX_WIDTH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
Lloh12:
	adrp	x8, _VIMC_FRAME_MIN_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIMC_FRAME_MIN_HEIGHT@GOTPAGEOFF]
Lloh14:
	adrp	x9, _VIMC_FRAME_MAX_HEIGHT@GOTPAGE
Lloh15:
	ldr	x9, [x9, _VIMC_FRAME_MAX_HEIGHT@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	movi.2s	v0, #1
	str	d0, [x19]
LBB0_4:
	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	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_FRMSIZE_TYPE_CONTINUOUS,4,2 ; @V4L2_FRMSIZE_TYPE_CONTINUOUS
	.comm	_VIMC_FRAME_MIN_WIDTH,4,2       ; @VIMC_FRAME_MIN_WIDTH
	.comm	_VIMC_FRAME_MAX_WIDTH,4,2       ; @VIMC_FRAME_MAX_WIDTH
	.comm	_VIMC_FRAME_MIN_HEIGHT,4,2      ; @VIMC_FRAME_MIN_HEIGHT
	.comm	_VIMC_FRAME_MAX_HEIGHT,4,2      ; @VIMC_FRAME_MAX_HEIGHT
	.no_dead_strip	_vimc_cap_enum_framesizes
.subsections_via_symbols
