	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov5675_test_pattern
_ov5675_test_pattern:                   ## @ov5675_test_pattern
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %eax
	decl	%eax
	movq	_OV5675_TEST_PATTERN_BAR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_OV5675_TEST_PATTERN_ENABLE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movq	_OV5675_REG_TEST_PATTERN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_OV5675_REG_VALUE_08BIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %ecx
	popq	%rbp
	jmp	_ov5675_write_reg               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OV5675_TEST_PATTERN_BAR_SHIFT,4,2 ## @OV5675_TEST_PATTERN_BAR_SHIFT
	.comm	_OV5675_TEST_PATTERN_ENABLE,4,2 ## @OV5675_TEST_PATTERN_ENABLE
	.comm	_OV5675_REG_TEST_PATTERN,4,2    ## @OV5675_REG_TEST_PATTERN
	.comm	_OV5675_REG_VALUE_08BIT,4,2     ## @OV5675_REG_VALUE_08BIT
	.no_dead_strip	_ov5675_test_pattern
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov5675_test_pattern
_ov5675_test_pattern:                   ; @ov5675_test_pattern
	.cfi_startproc
; %bb.0:
	cbz	w1, LBB0_2
; %bb.1:
	sub	w8, w1, #1
Lloh0:
	adrp	x9, _OV5675_TEST_PATTERN_BAR_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OV5675_TEST_PATTERN_BAR_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _OV5675_TEST_PATTERN_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OV5675_TEST_PATTERN_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w3, w8, w9
	b	LBB0_3
LBB0_2:
	mov	w3, #0
LBB0_3:
Lloh6:
	adrp	x8, _OV5675_REG_TEST_PATTERN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OV5675_REG_TEST_PATTERN@GOTPAGEOFF]
Lloh8:
	adrp	x9, _OV5675_REG_VALUE_08BIT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _OV5675_REG_VALUE_08BIT@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	ldr	w2, [x9]
	b	_ov5675_write_reg
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_OV5675_TEST_PATTERN_BAR_SHIFT,4,2 ; @OV5675_TEST_PATTERN_BAR_SHIFT
	.comm	_OV5675_TEST_PATTERN_ENABLE,4,2 ; @OV5675_TEST_PATTERN_ENABLE
	.comm	_OV5675_REG_TEST_PATTERN,4,2    ; @OV5675_REG_TEST_PATTERN
	.comm	_OV5675_REG_VALUE_08BIT,4,2     ; @OV5675_REG_VALUE_08BIT
	.no_dead_strip	_ov5675_test_pattern
.subsections_via_symbols
