	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t112_init_camera
_mt9t112_init_camera:                   ## @mt9t112_init_camera
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_mt9t112_reset
	movl	%eax, %esi
	callq	_ECHECKER
	movq	%rbx, %rdi
	callq	_mt9t112_init_pll
	movl	%eax, %esi
	callq	_ECHECKER
	movq	%rbx, %rdi
	callq	_mt9t112_init_setting
	movl	%eax, %esi
	callq	_ECHECKER
	movq	%rbx, %rdi
	callq	_mt9t112_auto_focus_setting
	movl	%eax, %esi
	callq	_ECHECKER
	movq	%rbx, %rsi
	movl	$24, %edx
	movl	$4, %ecx
	xorl	%r8d, %r8d
	callq	_mt9t112_reg_mask_set
	movq	%rbx, %rsi
	movl	$12420, %edx                    ## imm = 0x3084
	movl	$9225, %ecx                     ## imm = 0x2409
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$12434, %edx                    ## imm = 0x3092
	movl	$2633, %ecx                     ## imm = 0xA49
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$12436, %edx                    ## imm = 0x3094
	movl	$18761, %ecx                    ## imm = 0x4949
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$12438, %edx                    ## imm = 0x3096
	movl	$18768, %ecx                    ## imm = 0x4950
	callq	_mt9t112_reg_write
	movl	$26, %edi
	movl	$160, %esi
	callq	_VAR
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$2606, %ecx                     ## imm = 0xA2E
	callq	_mt9t112_mcu_write
	movl	$27, %edi
	movl	$160, %esi
	callq	_VAR
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$2606, %ecx                     ## imm = 0xA2E
	callq	_mt9t112_mcu_write
	movl	$27, %edi
	movl	$144, %esi
	callq	_VAR
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$3252, %ecx                     ## imm = 0xCB4
	callq	_mt9t112_mcu_write
	movl	$27, %edi
	movl	$142, %esi
	callq	_VAR8
	movq	%rbx, %rsi
	movl	%eax, %edx
	movl	$1, %ecx
	callq	_mt9t112_mcu_write
	movq	%rbx, %rsi
	movl	$12652, %edx                    ## imm = 0x316C
	movl	$13583, %ecx                    ## imm = 0x350F
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$30, %edx
	movl	$1911, %ecx                     ## imm = 0x777
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mt9t112_reg_write              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt9t112_init_camera
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t112_init_camera
_mt9t112_init_camera:                   ; @mt9t112_init_camera
	.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
	bl	_mt9t112_reset
	mov	x1, x0
	bl	_ECHECKER
	mov	x0, x19
	bl	_mt9t112_init_pll
	mov	x1, x0
	bl	_ECHECKER
	mov	x0, x19
	bl	_mt9t112_init_setting
	mov	x1, x0
	bl	_ECHECKER
	mov	x0, x19
	bl	_mt9t112_auto_focus_setting
	mov	x1, x0
	bl	_ECHECKER
	mov	x1, x19
	mov	w2, #24
	mov	w3, #4
	mov	w4, #0
	bl	_mt9t112_reg_mask_set
	mov	x1, x19
	mov	w2, #12420
	mov	w3, #9225
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #12434
	mov	w3, #2633
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #12436
	mov	w3, #18761
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #12438
	mov	w3, #18768
	bl	_mt9t112_reg_write
	mov	w0, #26
	mov	w1, #160
	bl	_VAR
	mov	x1, x19
	mov	x2, x0
	mov	w3, #2606
	bl	_mt9t112_mcu_write
	mov	w0, #27
	mov	w1, #160
	bl	_VAR
	mov	x1, x19
	mov	x2, x0
	mov	w3, #2606
	bl	_mt9t112_mcu_write
	mov	w0, #27
	mov	w1, #144
	bl	_VAR
	mov	x1, x19
	mov	x2, x0
	mov	w3, #3252
	bl	_mt9t112_mcu_write
	mov	w0, #27
	mov	w1, #142
	bl	_VAR8
	mov	x1, x19
	mov	x2, x0
	mov	w3, #1
	bl	_mt9t112_mcu_write
	mov	x1, x19
	mov	w2, #12652
	mov	w3, #13583
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #30
	mov	w3, #1911
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt9t112_reg_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt9t112_init_camera
.subsections_via_symbols
