	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xtpg_enum_frame_size
_xtpg_enum_frame_size:                  ## @xtpg_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, %rbx
	movq	(%rdx), %rdx
	callq	_v4l2_subdev_get_try_format
	cmpq	$0, 32(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rcx
	cmpq	(%rax), %rcx
	jne	LBB0_2
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movq	8(%rax), %xmm0                  ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 16(%rbx)
	jmp	LBB0_6
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_XVIP_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_XVIP_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	_XVIP_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_XVIP_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.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
	.no_dead_strip	_xtpg_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 xtpg_enum_frame_size
_xtpg_enum_frame_size:                  ; @xtpg_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
	mov	x19, x2
	ldr	x2, [x2]
	bl	_v4l2_subdev_get_try_format
	ldr	x9, [x19, #32]
	cbnz	x9, LBB0_4
; %bb.1:
	mov	x8, x0
	ldr	x9, [x19, #8]
	ldr	x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_4
; %bb.2:
	ldr	x9, [x19]
	cbz	x9, LBB0_6
; %bb.3:
	mov	w0, #0
	add	x9, x19, #16
	ldr	d0, [x8, #8]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x9]
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	w0, #0
Lloh3:
	adrp	x8, _XVIP_MIN_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XVIP_MIN_WIDTH@GOTPAGEOFF]
Lloh5:
	adrp	x9, _XVIP_MAX_WIDTH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _XVIP_MAX_WIDTH@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
Lloh9:
	adrp	x8, _XVIP_MIN_HEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _XVIP_MIN_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _XVIP_MAX_HEIGHT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _XVIP_MAX_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.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
	.no_dead_strip	_xtpg_enum_frame_size
.subsections_via_symbols
