	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7740_enum_frame_interval
_ov7740_enum_frame_interval:            ## @ov7740_enum_frame_interval
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 32(%rdx)
	jne	LBB0_1
## %bb.2:
	cmpl	$0, (%rdx)
	jg	LBB0_1
## %bb.3:
	movq	8(%rdx), %rax
	movq	_VGA_WIDTH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.4:
	movq	16(%rdx), %rax
	movq	_VGA_HEIGHT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.5:
	movabsq	$257698037761, %rax             ## imm = 0x3C00000001
	movq	%rax, 24(%rdx)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VGA_WIDTH,8,3                  ## @VGA_WIDTH
	.comm	_VGA_HEIGHT,8,3                 ## @VGA_HEIGHT
	.no_dead_strip	_ov7740_enum_frame_interval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ov7740_enum_frame_interval
lCPI0_0:
	.long	1                               ; 0x1
	.long	60                              ; 0x3c
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ov7740_enum_frame_interval:            ; @ov7740_enum_frame_interval
	.cfi_startproc
; %bb.0:
	ldr	x8, [x2, #32]
	cbnz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x2]
	cmp	w8, #1
	b.ge	LBB0_5
; %bb.2:
	ldr	x8, [x2, #8]
Lloh0:
	adrp	x9, _VGA_WIDTH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VGA_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x2, #16]
Lloh3:
	adrp	x9, _VGA_HEIGHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VGA_HEIGHT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	w0, #0
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x2, #24]
	ret
LBB0_5:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VGA_WIDTH,8,3                  ; @VGA_WIDTH
	.comm	_VGA_HEIGHT,8,3                 ; @VGA_HEIGHT
	.no_dead_strip	_ov7740_enum_frame_interval
.subsections_via_symbols
