	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9m111_restore_state
_mt9m111_restore_state:                 ## @mt9m111_restore_state
	.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
	addq	$44, %rdi
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	8(%rbx), %rsi
	movq	%rbx, %rdi
	callq	_mt9m111_set_context
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mt9m111_set_pixfmt
	leaq	40(%rbx), %rsi
	movl	36(%rbx), %edx
	movl	32(%rbx), %ecx
	movq	24(%rbx), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_mt9m111_setup_geometry
	leaq	16(%rbx), %rdi
	callq	_v4l2_ctrl_handler_setup
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %esi
	movl	(%rax), %ecx
	movl	4(%rax), %edx
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mt9m111_reg_mask               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mt9m111_restore_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt9m111_restore_state
_mt9m111_restore_state:                 ; @mt9m111_restore_state
	.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
	add	x0, x0, #44
	bl	_v4l2_get_subdevdata
	mov	x20, x0
	ldr	x1, [x19, #8]
	mov	x0, x19
	bl	_mt9m111_set_context
	ldr	x8, [x19, #24]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_mt9m111_set_pixfmt
	add	x1, x19, #40
	ldp	w3, w2, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	w4, [x8]
	mov	x0, x19
	bl	_mt9m111_setup_geometry
	add	x0, x19, #16
	bl	_v4l2_ctrl_handler_setup
	ldp	x9, x8, [x19]
	ldr	w1, [x8]
	ldp	w3, w2, [x9]
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mt9m111_reg_mask
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mt9m111_restore_state
.subsections_via_symbols
