	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov7670_enum_mbus_fmt
_ov7670_enum_mbus_fmt:                  ## @ov7670_enum_mbus_fmt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_N_OV7670_FMTS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jbe	LBB0_1
## %bb.2:
	movq	_ov7670_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ecx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, (%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	_N_OV7670_FMTS,4,2              ## @N_OV7670_FMTS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ov7670_formats,8,3             ## @ov7670_formats
	.no_dead_strip	_ov7670_enum_mbus_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov7670_enum_mbus_fmt
_ov7670_enum_mbus_fmt:                  ; @ov7670_enum_mbus_fmt
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _N_OV7670_FMTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_OV7670_FMTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ls	LBB0_2
; %bb.1:
	mov	w0, #0
Lloh3:
	adrp	x8, _ov7670_formats@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ov7670_formats@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	w8, [x8, w1, uxtw #2]
	str	w8, [x2]
	ret
LBB0_2:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_N_OV7670_FMTS,4,2              ; @N_OV7670_FMTS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ov7670_formats,8,3             ; @ov7670_formats
	.no_dead_strip	_ov7670_enum_mbus_fmt
.subsections_via_symbols
