	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9t112_init_pll
_mt9t112_init_pll:                      ## @mt9t112_init_pll
	.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
	callq	_to_mt9t112
	movq	%rax, %r14
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$3, %ecx
	movl	$1, %r8d
	callq	_mt9t112_reg_mask_set
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$8517, %ecx                     ## imm = 0x2145
	callq	_mt9t112_reg_write
	movq	(%r14), %rax
	movl	32(%rax), %esi
	movl	28(%rax), %edx
	movl	24(%rax), %ecx
	movl	20(%rax), %r8d
	movl	16(%rax), %r9d
	movl	12(%rax), %r10d
	movl	8(%rax), %r11d
	movl	(%rax), %r14d
	movl	4(%rax), %eax
	movq	%rbx, %rdi
	pushq	%r14
	pushq	%rax
	pushq	%r11
	pushq	%r10
	callq	_mt9t112_set_pll_dividers
	addq	$32, %rsp
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$9509, %ecx                     ## imm = 0x2525
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$9511, %ecx                     ## imm = 0x2527
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$13351, %ecx                    ## imm = 0x3427
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$12327, %ecx                    ## imm = 0x3027
	callq	_mt9t112_reg_write
	movl	$10, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$20, %edx
	movl	$12358, %ecx                    ## imm = 0x3046
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$22, %edx
	movl	$1024, %ecx                     ## imm = 0x400
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$34, %edx
	movl	$400, %ecx                      ## imm = 0x190
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$15236, %edx                    ## imm = 0x3B84
	movl	$530, %ecx                      ## imm = 0x212
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$46, %edx
	movl	$1280, %ecx                     ## imm = 0x500
	callq	_mt9t112_reg_write
	movq	%rbx, %rsi
	movl	$24, %edx
	movl	$2, %ecx
	movl	$2, %r8d
	callq	_mt9t112_reg_mask_set
	movq	%rbx, %rsi
	movl	$15234, %edx                    ## imm = 0x3B82
	movl	$4, %ecx
	movl	$4, %r8d
	callq	_mt9t112_reg_mask_set
	movq	%rbx, %rsi
	movl	$24, %edx
	movl	$4, %ecx
	movl	$4, %r8d
	callq	_mt9t112_reg_mask_set
	movq	%rbx, %rsi
	movl	$24, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_mt9t112_reg_mask_set
	movl	$50, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$1556, %edx                     ## imm = 0x614
	movl	$1, %ecx
	callq	_mt9t112_reg_write
	movl	$1, %edi
	callq	_mdelay
	movq	%rbx, %rsi
	movl	$24, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mt9t112_reg_read               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt9t112_init_pll
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9t112_init_pll
_mt9t112_init_pll:                      ; @mt9t112_init_pll
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	_to_mt9t112
	mov	x20, x0
	mov	x1, x19
	mov	w2, #20
	mov	w3, #3
	mov	w4, #1
	bl	_mt9t112_reg_mask_set
	mov	x1, x19
	mov	w2, #20
	mov	w3, #8517
	bl	_mt9t112_reg_write
	ldr	x8, [x20]
	ldp	w2, w1, [x8, #28]
	ldp	w4, w3, [x8, #20]
	ldp	w6, w5, [x8, #12]
	ldp	w9, w7, [x8, #4]
	ldr	w8, [x8]
	stp	w9, w8, [sp]
	mov	x0, x19
	bl	_mt9t112_set_pll_dividers
	mov	x1, x19
	mov	w2, #20
	mov	w3, #9509
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #20
	mov	w3, #9511
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #20
	mov	w3, #13351
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #20
	mov	w3, #12327
	bl	_mt9t112_reg_write
	mov	w0, #10
	bl	_mdelay
	mov	x1, x19
	mov	w2, #20
	mov	w3, #12358
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #22
	mov	w3, #1024
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #34
	mov	w3, #400
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #15236
	mov	w3, #530
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #46
	mov	w3, #1280
	bl	_mt9t112_reg_write
	mov	x1, x19
	mov	w2, #24
	mov	w3, #2
	mov	w4, #2
	bl	_mt9t112_reg_mask_set
	mov	x1, x19
	mov	w2, #15234
	mov	w3, #4
	mov	w4, #4
	bl	_mt9t112_reg_mask_set
	mov	x1, x19
	mov	w2, #24
	mov	w3, #4
	mov	w4, #4
	bl	_mt9t112_reg_mask_set
	mov	x1, x19
	mov	w2, #24
	mov	w3, #1
	mov	w4, #0
	bl	_mt9t112_reg_mask_set
	mov	w0, #50
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #1556
	mov	w3, #1
	bl	_mt9t112_reg_write
	mov	w0, #1
	bl	_mdelay
	mov	x1, x19
	mov	w2, #24
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_mt9t112_reg_read
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt9t112_init_pll
.subsections_via_symbols
