	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9m111_dump_registers
_mt9m111_dump_registers:                ## @mt9m111_dump_registers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movq	_MT9M111_SENSOR_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_MT9M111_PAGE_MAP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	-48(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_write_sensor
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_read_sensor
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_info
	incl	%ebx
	cmpl	$255, %ebx
	jne	LBB0_1
## %bb.2:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movq	_MT9M111_COLORPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	leaq	-48(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_write_sensor
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_read_sensor
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_info
	incl	%ebx
	cmpl	$255, %ebx
	jne	LBB0_3
## %bb.4:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	movq	_MT9M111_CAMERA_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movl	(%r13), %esi
	leaq	-48(%rbp), %r14
	movq	%r12, %rdi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_write_sensor
	leaq	L_.str.2(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r14, %rdx
	movl	$2, %ecx
	callq	_m5602_read_sensor
	movl	-48(%rbp), %edx
	movl	-44(%rbp), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_pr_info
	incl	%ebx
	cmpl	$255, %ebx
	jne	LBB0_5
## %bb.6:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_info
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Dumping the mt9m111 register state\n"

L_.str.1:                               ## @.str.1
	.asciz	"Dumping the mt9m111 sensor core registers\n"

	.comm	_MT9M111_SENSOR_CORE,4,2        ## @MT9M111_SENSOR_CORE
	.comm	_MT9M111_PAGE_MAP,4,2           ## @MT9M111_PAGE_MAP
L_.str.2:                               ## @.str.2
	.asciz	"register 0x%x contains 0x%x%x\n"

L_.str.3:                               ## @.str.3
	.asciz	"Dumping the mt9m111 color pipeline registers\n"

	.comm	_MT9M111_COLORPIPE,4,2          ## @MT9M111_COLORPIPE
L_.str.4:                               ## @.str.4
	.asciz	"Dumping the mt9m111 camera control registers\n"

	.comm	_MT9M111_CAMERA_CONTROL,4,2     ## @MT9M111_CAMERA_CONTROL
L_.str.5:                               ## @.str.5
	.asciz	"mt9m111 register state dump complete\n"

	.no_dead_strip	_mt9m111_dump_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9m111_dump_registers
_mt9m111_dump_registers:                ; @mt9m111_dump_registers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	str	xzr, [sp, #24]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
Lloh4:
	adrp	x8, _MT9M111_SENSOR_CORE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MT9M111_SENSOR_CORE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #28]
Lloh7:
	adrp	x22, _MT9M111_PAGE_MAP@GOTPAGE
Lloh8:
	ldr	x22, [x22, _MT9M111_PAGE_MAP@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #2
	bl	_m5602_write_sensor
	mov	w20, #0
Lloh9:
	adrp	x21, l_.str.2@PAGE
Lloh10:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w3, #2
	bl	_m5602_read_sensor
	ldp	w8, w9, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	bl	_pr_info
	add	w20, w20, #1
	cmp	w20, #255
	b.ne	LBB0_1
; %bb.2:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_pr_info
Lloh13:
	adrp	x8, _MT9M111_COLORPIPE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MT9M111_COLORPIPE@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #2
	bl	_m5602_write_sensor
	mov	w20, #0
Lloh16:
	adrp	x21, l_.str.2@PAGE
Lloh17:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w3, #2
	bl	_m5602_read_sensor
	ldp	w8, w9, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	bl	_pr_info
	add	w20, w20, #1
	cmp	w20, #255
	b.ne	LBB0_3
; %bb.4:
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_pr_info
Lloh20:
	adrp	x8, _MT9M111_CAMERA_CONTROL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MT9M111_CAMERA_CONTROL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	mov	w3, #2
	bl	_m5602_write_sensor
	mov	w20, #0
Lloh23:
	adrp	x21, l_.str.2@PAGE
Lloh24:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w3, #2
	bl	_m5602_read_sensor
	ldp	w8, w9, [sp, #24]
	stp	x8, x9, [sp, #8]
	str	x20, [sp]
	mov	x0, x21
	bl	_pr_info
	add	w20, w20, #1
	cmp	w20, #255
	b.ne	LBB0_5
; %bb.6:
Lloh25:
	adrp	x0, l_.str.5@PAGE
Lloh26:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_pr_info
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Dumping the mt9m111 register state\n"

l_.str.1:                               ; @.str.1
	.asciz	"Dumping the mt9m111 sensor core registers\n"

	.comm	_MT9M111_SENSOR_CORE,4,2        ; @MT9M111_SENSOR_CORE
	.comm	_MT9M111_PAGE_MAP,4,2           ; @MT9M111_PAGE_MAP
l_.str.2:                               ; @.str.2
	.asciz	"register 0x%x contains 0x%x%x\n"

l_.str.3:                               ; @.str.3
	.asciz	"Dumping the mt9m111 color pipeline registers\n"

	.comm	_MT9M111_COLORPIPE,4,2          ; @MT9M111_COLORPIPE
l_.str.4:                               ; @.str.4
	.asciz	"Dumping the mt9m111 camera control registers\n"

	.comm	_MT9M111_CAMERA_CONTROL,4,2     ; @MT9M111_CAMERA_CONTROL
l_.str.5:                               ; @.str.5
	.asciz	"mt9m111 register state dump complete\n"

	.no_dead_strip	_mt9m111_dump_registers
.subsections_via_symbols
