	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_init
_sd_init:                               ## @sd_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$231, %esi
	movl	$58, %edx
	callq	_ov534_reg_write
	movq	%r14, %rdi
	movl	$224, %esi
	movl	$8, %edx
	callq	_ov534_reg_write
	movl	$100, %edi
	callq	_msleep
	movq	_OV534_REG_ADDRESS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	$66, %edx
	callq	_ov534_reg_write
	movq	%r14, %rdi
	movl	$18, %esi
	movl	$128, %edx
	callq	_sccb_reg_write
	movl	$10, %edi
	callq	_msleep
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_sccb_reg_read
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_sccb_reg_read
	movl	%eax, %ebx
	shll	$8, %ebx
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_sccb_reg_read
	movq	%r14, %rdi
	movl	$11, %esi
	callq	_sccb_reg_read
	orl	%eax, %ebx
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_PDEBUG
	movq	_bridge_init@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_reg_w_array
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ov534_set_led
	movq	_sensor_init@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_sccb_w_array
	movq	%r14, %rdi
	movl	$224, %esi
	movl	$9, %edx
	callq	_ov534_reg_write
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_ov534_set_led
	movq	%r14, %rdi
	callq	_set_frame_rate
	movl	(%r14), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OV534_REG_ADDRESS,4,2          ## @OV534_REG_ADDRESS
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Sensor ID: %04x"

	.comm	_bridge_init,4,2                ## @bridge_init
	.comm	_sensor_init,4,2                ## @sensor_init
	.no_dead_strip	_sd_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_init
_sd_init:                               ; @sd_init
	.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, x0
	mov	w1, #231
	mov	w2, #58
	bl	_ov534_reg_write
	mov	x0, x19
	mov	w1, #224
	mov	w2, #8
	bl	_ov534_reg_write
	mov	w0, #100
	bl	_msleep
Lloh0:
	adrp	x8, _OV534_REG_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OV534_REG_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #66
	bl	_ov534_reg_write
	mov	x0, x19
	mov	w1, #18
	mov	w2, #128
	bl	_sccb_reg_write
	mov	w0, #10
	bl	_msleep
	mov	x0, x19
	mov	w1, #10
	bl	_sccb_reg_read
	mov	x0, x19
	mov	w1, #10
	bl	_sccb_reg_read
	mov	x20, x0
	mov	x0, x19
	mov	w1, #11
	bl	_sccb_reg_read
	mov	x0, x19
	mov	w1, #11
	bl	_sccb_reg_read
	orr	w2, w0, w20, lsl #8
Lloh3:
	adrp	x8, _D_PROBE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PDEBUG
Lloh8:
	adrp	x8, _bridge_init@GOTPAGE
Lloh9:
	ldr	x8, [x8, _bridge_init@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_reg_w_array
	mov	x0, x19
	mov	w1, #1
	bl	_ov534_set_led
Lloh11:
	adrp	x8, _sensor_init@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sensor_init@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	mov	x0, x20
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_sccb_w_array
	mov	x0, x19
	mov	w1, #224
	mov	w2, #9
	bl	_ov534_reg_write
	mov	x0, x19
	mov	w1, #0
	bl	_ov534_set_led
	mov	x0, x19
	bl	_set_frame_rate
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OV534_REG_ADDRESS,4,2          ; @OV534_REG_ADDRESS
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Sensor ID: %04x"

	.comm	_bridge_init,4,2                ; @bridge_init
	.comm	_sensor_init,4,2                ; @sensor_init
	.no_dead_strip	_sd_init
.subsections_via_symbols
