	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvip_enum_frame_size           ## -- Begin function xvip_enum_frame_size
	.p2align	4, 0x90
_xvip_enum_frame_size:                  ## @xvip_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdx), %rax
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_1
## %bb.2:
	movq	%rdx, %rbx
	movq	8(%rdx), %rdx
	callq	_v4l2_subdev_get_try_format
	cmpq	$0, 40(%rbx)
	jne	LBB0_1
## %bb.3:
	movq	16(%rbx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.4:
	movq	8(%rbx), %rcx
	movq	_XVIP_PAD_SINK@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
## %bb.5:
	movq	_XVIP_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_XVIP_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_XVIP_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_XVIP_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rax), %xmm0                  ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 24(%rbx)
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_XVIP_PAD_SINK,8,3              ## @XVIP_PAD_SINK
	.comm	_XVIP_MIN_WIDTH,4,2             ## @XVIP_MIN_WIDTH
	.comm	_XVIP_MAX_WIDTH,4,2             ## @XVIP_MAX_WIDTH
	.comm	_XVIP_MIN_HEIGHT,4,2            ## @XVIP_MIN_HEIGHT
	.comm	_XVIP_MAX_HEIGHT,4,2            ## @XVIP_MAX_HEIGHT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xvip_enum_frame_size           ; -- Begin function xvip_enum_frame_size
	.p2align	2
_xvip_enum_frame_size:                  ; @xvip_enum_frame_size
	.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]
Lloh0:
	adrp	x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.1:
	mov	x19, x2
	ldr	x2, [x2, #8]
	bl	_v4l2_subdev_get_try_format
	ldr	x9, [x19, #40]
	cbnz	x9, LBB0_5
; %bb.2:
	mov	x8, x0
	ldr	x9, [x19, #16]
	ldr	x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.3:
	ldr	x9, [x19, #8]
Lloh3:
	adrp	x10, _XVIP_PAD_SINK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _XVIP_PAD_SINK@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_7
; %bb.4:
	mov	w0, #0
Lloh6:
	adrp	x8, _XVIP_MIN_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XVIP_MIN_WIDTH@GOTPAGEOFF]
Lloh8:
	adrp	x9, _XVIP_MAX_WIDTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XVIP_MAX_WIDTH@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
Lloh12:
	adrp	x8, _XVIP_MIN_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XVIP_MIN_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _XVIP_MAX_HEIGHT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XVIP_MAX_HEIGHT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	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
LBB0_7:
	mov	w0, #0
	add	x9, x19, #24
	ldr	d0, [x8, #8]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x9]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,8,3  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_XVIP_PAD_SINK,8,3              ; @XVIP_PAD_SINK
	.comm	_XVIP_MIN_WIDTH,4,2             ; @XVIP_MIN_WIDTH
	.comm	_XVIP_MAX_WIDTH,4,2             ; @XVIP_MAX_WIDTH
	.comm	_XVIP_MIN_HEIGHT,4,2            ; @XVIP_MIN_HEIGHT
	.comm	_XVIP_MAX_HEIGHT,4,2            ; @XVIP_MAX_HEIGHT
.subsections_via_symbols
