	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_start_72a
_sd_start_72a:                          ## @sd_start_72a
	.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, %rbx
	movq	_rev72a_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_write_vector
	movl	$200, %edi
	callq	_msleep
	movq	_rev72a_init_data1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_vector
	movq	_rev72a_init_sensor1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_sensor_72a
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %r14d
	leal	-1(%r14), %eax
	movl	$39, %edx
	cmpl	$2, %eax
	ja	LBB0_2
## %bb.1:
	cltq
	leaq	l_switch.table.sd_start_72a(%rip), %rcx
	movl	(%rcx,%rax,4), %edx
LBB0_2:
	movq	%rbx, %rdi
	movl	$34560, %esi                    ## imm = 0x8700
	callq	_reg_w_val
	movq	%rbx, %rdi
	movl	$34562, %esi                    ## imm = 0x8702
	movl	$129, %edx
	callq	_reg_w_val
	movq	%rbx, %rdi
	movl	$34048, %esi                    ## imm = 0x8500
	movl	%r14d, %edx
	callq	_reg_w_val
	movq	_rev72a_init_sensor2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_write_sensor_72a
	movl	8(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movl	%eax, %r14d
	movl	4(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_setwhite
	movl	(%rbx), %edi
	callq	_v4l2_ctrl_g_ctrl
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_setautogain
	movq	%rbx, %rdi
	movl	$33042, %esi                    ## imm = 0x8112
	movl	$48, %edx
	callq	_reg_w_val
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rev72a_reset,4,2               ## @rev72a_reset
	.comm	_rev72a_init_data1,4,2          ## @rev72a_init_data1
	.comm	_rev72a_init_sensor1,4,2        ## @rev72a_init_sensor1
	.comm	_rev72a_init_sensor2,4,2        ## @rev72a_init_sensor2
	.no_dead_strip	_sd_start_72a
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.sd_start_72a
l_switch.table.sd_start_72a:
	.long	37                              ## 0x25
	.long	34                              ## 0x22
	.long	33                              ## 0x21

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_start_72a
_sd_start_72a:                          ; @sd_start_72a
	.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
Lloh0:
	adrp	x8, _rev72a_reset@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rev72a_reset@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_write_vector
	mov	w0, #200
	bl	_msleep
Lloh3:
	adrp	x8, _rev72a_init_data1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _rev72a_init_data1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_vector
Lloh6:
	adrp	x8, _rev72a_init_sensor1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _rev72a_init_sensor1@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_sensor_72a
	ldp	x9, x8, [x19]
	sbfiz	x9, x9, #2, #32
	ldr	w20, [x8, x9]
	sub	w8, w20, #1
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, l_switch.table.sd_start_72a@PAGE
Lloh10:
	add	x9, x9, l_switch.table.sd_start_72a@PAGEOFF
	ldr	w2, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w2, #39
LBB0_3:
	mov	x0, x19
	mov	w1, #34560
	bl	_reg_w_val
	mov	x0, x19
	mov	w1, #34562
	mov	w2, #129
	bl	_reg_w_val
	mov	x0, x19
	mov	w1, #34048
	mov	x2, x20
	bl	_reg_w_val
Lloh11:
	adrp	x8, _rev72a_init_sensor2@GOTPAGE
Lloh12:
	ldr	x8, [x8, _rev72a_init_sensor2@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_write_sensor_72a
	ldr	w0, [x19, #8]
	bl	_v4l2_ctrl_g_ctrl
	mov	x20, x0
	ldr	w0, [x19, #4]
	bl	_v4l2_ctrl_g_ctrl
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_setwhite
	ldr	w0, [x19]
	bl	_v4l2_ctrl_g_ctrl
	mov	x1, x0
	mov	x0, x19
	bl	_setautogain
	mov	x0, x19
	mov	w1, #33042
	mov	w2, #48
	bl	_reg_w_val
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_rev72a_reset,4,2               ; @rev72a_reset
	.comm	_rev72a_init_data1,4,2          ; @rev72a_init_data1
	.comm	_rev72a_init_sensor1,4,2        ; @rev72a_init_sensor1
	.comm	_rev72a_init_sensor2,4,2        ; @rev72a_init_sensor2
	.no_dead_strip	_sd_start_72a
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.sd_start_72a
l_switch.table.sd_start_72a:
	.long	37                              ; 0x25
	.long	34                              ; 0x22
	.long	33                              ; 0x21

.subsections_via_symbols
