	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9v032_enum_frame_size
_mt9v032_enum_frame_size:               ## @mt9v032_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
	movl	(%rdx), %ecx
	cmpl	$2, %ecx
	jg	LBB0_2
## %bb.1:
	movq	%rdx, %rsi
	movq	8(%rdx), %rax
	movq	_MEDIA_BUS_FMT_SGRBG10_1X10@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_MT9V032_WINDOW_WIDTH_DEF@GOTPCREL(%rip), %rax
	movl	$1, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	movl	(%rax), %eax
	cltd
	idivl	%edi
	movl	%eax, 16(%rsi)
	movl	%eax, 20(%rsi)
	movq	_MT9V032_WINDOW_HEIGHT_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cltd
	idivl	%edi
	movl	%eax, 24(%rsi)
	movl	%eax, 28(%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_BUS_FMT_SGRBG10_1X10,8,3 ## @MEDIA_BUS_FMT_SGRBG10_1X10
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MT9V032_WINDOW_WIDTH_DEF,4,2   ## @MT9V032_WINDOW_WIDTH_DEF
	.comm	_MT9V032_WINDOW_HEIGHT_DEF,4,2  ## @MT9V032_WINDOW_HEIGHT_DEF
	.no_dead_strip	_mt9v032_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 mt9v032_enum_frame_size
_mt9v032_enum_frame_size:               ; @mt9v032_enum_frame_size
	.cfi_startproc
; %bb.0:
	ldr	w8, [x2]
	cmp	w8, #2
	b.gt	LBB0_3
; %bb.1:
	ldr	x9, [x2, #8]
Lloh0:
	adrp	x10, _MEDIA_BUS_FMT_SGRBG10_1X10@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MEDIA_BUS_FMT_SGRBG10_1X10@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.2:
	mov	w0, #0
Lloh3:
	adrp	x9, _MT9V032_WINDOW_WIDTH_DEF@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MT9V032_WINDOW_WIDTH_DEF@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mov	w10, #1
	lsl	w8, w10, w8
	sdiv	w9, w9, w8
	stp	w9, w9, [x2, #16]
Lloh6:
	adrp	x9, _MT9V032_WINDOW_HEIGHT_DEF@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MT9V032_WINDOW_HEIGHT_DEF@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	sdiv	w8, w9, w8
	stp	w8, w8, [x2, #24]
	ret
LBB0_3:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	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	_MEDIA_BUS_FMT_SGRBG10_1X10,8,3 ; @MEDIA_BUS_FMT_SGRBG10_1X10
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MT9V032_WINDOW_WIDTH_DEF,4,2   ; @MT9V032_WINDOW_WIDTH_DEF
	.comm	_MT9V032_WINDOW_HEIGHT_DEF,4,2  ; @MT9V032_WINDOW_HEIGHT_DEF
	.no_dead_strip	_mt9v032_enum_frame_size
.subsections_via_symbols
