	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt9m032_probe
_mt9m032_probe:                         ## @mt9m032_probe
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	(%rdi), %r14
	testq	%r14, %r14
	je	LBB0_7
## %bb.1:
	movq	16(%r13), %rdi
	movq	_I2C_FUNC_SMBUS_WORD_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	cmpq	$0, (%r13)
	je	LBB0_9
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movl	$112, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_mutex_init
	movq	%r14, 32(%r15)
	leaq	8(%r15), %rbx
	movq	_mt9m032_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r15)
	movq	_MT9M032_CHIP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_mt9m032_read
	movq	_MT9M032_CHIP_VERSION_VALUE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_12
## %bb.5:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	8(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_info
	movabsq	$128849018881, %rax             ## imm = 0x1E00000001
	movq	%rax, 100(%r15)
	movq	_MT9M032_COLUMN_START_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 96(%r15)
	movq	_MT9M032_ROW_START_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 92(%r15)
	movq	_MT9M032_COLUMN_SIZE_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r15)
	movq	_MT9M032_ROW_SIZE_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 84(%r15)
	movl	%eax, 80(%r15)
	movl	%ecx, 76(%r15)
	movq	_MEDIA_BUS_FMT_Y8_1X8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%r15)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r15)
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%r15)
	leaq	4(%r15), %r12
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_GAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, (%rsp)
	movq	_mt9m032_ctrl_ops@GOTPCREL(%rip), %rbx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_HFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 48(%r15)
	movq	_V4L2_CID_VFLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 56(%r15)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MT9M032_SHUTTER_WIDTH_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_MT9M032_SHUTTER_WIDTH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_MT9M032_SHUTTER_WIDTH_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	_V4L2_CID_PIXEL_RATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r14), %ecx
	movl	%ecx, (%rsp)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%ecx, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movl	4(%r15), %ebx
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.6:
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_42
LBB0_7:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_44
LBB0_8:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_dev_warn
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_44
LBB0_12:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_43
LBB0_13:
	leaq	48(%r15), %rsi
	movl	$2, %edi
	callq	_v4l2_ctrl_cluster
	movq	%r12, 16(%r15)
	movq	_MEDIA_ENT_F_CAM_SENSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rdx
	addq	$40, %rdx
	movl	%eax, 40(%r15)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_media_entity_pads_init
	testl	%eax, %eax
	js	LBB0_28
## %bb.14:
	movq	_MT9M032_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.15:
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.16:
	movq	%r15, %rdi
	callq	_mt9m032_setup_pll
	testl	%eax, %eax
	js	LBB0_40
## %bb.17:
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$11000, %esi                    ## imm = 0x2AF8
	callq	_usleep_range
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_setup
	testl	%eax, %eax
	js	LBB0_40
## %bb.18:
	movq	%r15, %rdi
	callq	_mt9m032_update_geom_timing
	testl	%eax, %eax
	js	LBB0_40
## %bb.19:
	movq	%r13, %rdi
	movl	$65, %esi
	xorl	%edx, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.20:
	movq	%r13, %rdi
	movl	$66, %esi
	movl	$3, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.21:
	movq	%r13, %rdi
	movl	$67, %esi
	movl	$3, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.22:
	movq	%r13, %rdi
	movl	$127, %esi
	xorl	%edx, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.23:
	movq	32(%r15), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_25
## %bb.24:
	movq	_MT9M032_PIX_CLK_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MT9M032_PIX_CLK_CTRL_INV_PIXCLK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
LBB0_25:
	movq	_MT9M032_RESTART@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r13, %rdi
	movl	$1, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.26:
	movl	$100, %edi
	callq	_msleep
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_mt9m032_write
	testl	%eax, %eax
	js	LBB0_40
## %bb.27:
	movl	$100, %edi
	callq	_msleep
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_update_formatter2
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_44
	jmp	LBB0_41
LBB0_40:
	movl	%eax, %ebx
LBB0_41:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_media_entity_cleanup
	jmp	LBB0_42
LBB0_28:
	movl	%eax, %ebx
LBB0_42:
	movq	%r12, %rdi
	callq	_v4l2_ctrl_handler_free
LBB0_43:
	movq	%r15, %rdi
	callq	_mutex_destroy
LBB0_44:
	movl	%ebx, %eax
	addq	$24, %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	"No platform data\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ## @I2C_FUNC_SMBUS_WORD_DATA
L_.str.1:                               ## @.str.1
	.asciz	"I2C-Adapter doesn't support I2C_FUNC_SMBUS_WORD\n"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mt9m032_ops,4,2                ## @mt9m032_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MT9M032_CHIP_VERSION,4,2       ## @MT9M032_CHIP_VERSION
	.comm	_MT9M032_CHIP_VERSION_VALUE,4,2 ## @MT9M032_CHIP_VERSION_VALUE
L_.str.2:                               ## @.str.2
	.asciz	"MT9M032 not detected, wrong version 0x%04x\n"

L_.str.3:                               ## @.str.3
	.asciz	"MT9M032 detected at address 0x%02x\n"

	.comm	_MT9M032_COLUMN_START_DEF,4,2   ## @MT9M032_COLUMN_START_DEF
	.comm	_MT9M032_ROW_START_DEF,4,2      ## @MT9M032_ROW_START_DEF
	.comm	_MT9M032_COLUMN_SIZE_DEF,4,2    ## @MT9M032_COLUMN_SIZE_DEF
	.comm	_MT9M032_ROW_SIZE_DEF,4,2       ## @MT9M032_ROW_SIZE_DEF
	.comm	_MEDIA_BUS_FMT_Y8_1X8,4,2       ## @MEDIA_BUS_FMT_Y8_1X8
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_mt9m032_ctrl_ops,4,2           ## @mt9m032_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ## @V4L2_CID_GAIN
	.comm	_V4L2_CID_HFLIP,4,2             ## @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ## @V4L2_CID_VFLIP
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_MT9M032_SHUTTER_WIDTH_MIN,4,2  ## @MT9M032_SHUTTER_WIDTH_MIN
	.comm	_MT9M032_SHUTTER_WIDTH_MAX,4,2  ## @MT9M032_SHUTTER_WIDTH_MAX
	.comm	_MT9M032_SHUTTER_WIDTH_DEF,4,2  ## @MT9M032_SHUTTER_WIDTH_DEF
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ## @V4L2_CID_PIXEL_RATE
L_.str.4:                               ## @.str.4
	.asciz	"control initialization error %d\n"

	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ## @MEDIA_ENT_F_CAM_SENSOR
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_MT9M032_RESET,4,2              ## @MT9M032_RESET
	.comm	_MT9M032_PIX_CLK_CTRL,4,2       ## @MT9M032_PIX_CLK_CTRL
	.comm	_MT9M032_PIX_CLK_CTRL_INV_PIXCLK,4,2 ## @MT9M032_PIX_CLK_CTRL_INV_PIXCLK
	.comm	_MT9M032_RESTART,4,2            ## @MT9M032_RESTART
	.no_dead_strip	_mt9m032_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mt9m032_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	30                              ; 0x1e
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mt9m032_probe:                         ; @mt9m032_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x0
	ldr	x25, [x0]
	cbz	x25, LBB0_7
; %bb.1:
	ldr	x0, [x21, #16]
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_WORD_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
	cbz	w0, LBB0_8
; %bb.2:
	ldr	x8, [x21]
	cbz	x8, LBB0_9
; %bb.3:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #112
	bl	_devm_kzalloc
	cbz	x0, LBB0_10
; %bb.4:
	mov	x19, x0
	bl	_mutex_init
	str	x25, [x19, #32]
	add	x20, x19, #8
Lloh6:
	adrp	x2, _mt9m032_ops@GOTPAGE
Lloh7:
	ldr	x2, [x2, _mt9m032_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	bl	_v4l2_i2c_subdev_init
Lloh8:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	w9, [x19, #24]
	orr	w8, w9, w8
	str	w8, [x19, #24]
Lloh11:
	adrp	x8, _MT9M032_CHIP_VERSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT9M032_CHIP_VERSION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mt9m032_read
                                        ; kill: def $w0 killed $w0 def $x0
Lloh14:
	adrp	x8, _MT9M032_CHIP_VERSION_VALUE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT9M032_CHIP_VERSION_VALUE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.5:
	ldr	w2, [x21, #8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_dev_info
Lloh19:
	adrp	x8, lCPI0_0@PAGE
Lloh20:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
Lloh21:
	adrp	x8, _MT9M032_COLUMN_START_DEF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MT9M032_COLUMN_START_DEF@GOTPAGEOFF]
	stur	d0, [x19, #100]
Lloh23:
	ldr	w8, [x8]
	str	w8, [x19, #96]
Lloh24:
	adrp	x8, _MT9M032_ROW_START_DEF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MT9M032_ROW_START_DEF@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _MT9M032_COLUMN_SIZE_DEF@GOTPAGE
Lloh28:
	ldr	x9, [x9, _MT9M032_COLUMN_SIZE_DEF@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _MT9M032_ROW_SIZE_DEF@GOTPAGE
Lloh31:
	ldr	x10, [x10, _MT9M032_ROW_SIZE_DEF@GOTPAGEOFF]
	stp	w9, w8, [x19, #88]
Lloh32:
	ldr	w8, [x10]
	stp	w9, w8, [x19, #80]
Lloh33:
	adrp	x9, _MEDIA_BUS_FMT_Y8_1X8@GOTPAGE
Lloh34:
	ldr	x9, [x9, _MEDIA_BUS_FMT_Y8_1X8@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #72]
Lloh36:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
Lloh39:
	adrp	x9, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh40:
	ldr	x9, [x9, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	add	x22, x19, #4
	stp	w9, w8, [x19, #64]
	mov	x0, x22
	mov	w1, #5
	bl	_v4l2_ctrl_handler_init
Lloh42:
	adrp	x8, _V4L2_CID_GAIN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _V4L2_CID_GAIN@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
Lloh45:
	adrp	x23, _mt9m032_ctrl_ops@GOTPAGE
Lloh46:
	ldr	x23, [x23, _mt9m032_ctrl_ops@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x23
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #64
	bl	_v4l2_ctrl_new_std
Lloh47:
	adrp	x8, _V4L2_CID_HFLIP@GOTPAGE
Lloh48:
	ldr	x8, [x8, _V4L2_CID_HFLIP@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	mov	x24, x19
	str	x0, [x24, #48]!
Lloh50:
	adrp	x8, _V4L2_CID_VFLIP@GOTPAGE
Lloh51:
	ldr	x8, [x8, _V4L2_CID_VFLIP@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #0
	bl	_v4l2_ctrl_new_std
	str	x0, [x24, #8]
Lloh53:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh54:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
Lloh56:
	adrp	x8, _MT9M032_SHUTTER_WIDTH_MIN@GOTPAGE
Lloh57:
	ldr	x8, [x8, _MT9M032_SHUTTER_WIDTH_MIN@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
Lloh59:
	adrp	x8, _MT9M032_SHUTTER_WIDTH_MAX@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MT9M032_SHUTTER_WIDTH_MAX@GOTPAGEOFF]
Lloh61:
	ldr	w4, [x8]
Lloh62:
	adrp	x8, _MT9M032_SHUTTER_WIDTH_DEF@GOTPAGE
Lloh63:
	ldr	x8, [x8, _MT9M032_SHUTTER_WIDTH_DEF@GOTPAGEOFF]
Lloh64:
	ldr	w6, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	w5, #1
	bl	_v4l2_ctrl_new_std
Lloh65:
	adrp	x8, _V4L2_CID_PIXEL_RATE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _V4L2_CID_PIXEL_RATE@GOTPAGEOFF]
Lloh67:
	ldr	w2, [x8]
	ldr	w3, [x25]
	mov	x0, x22
	mov	x1, x23
	mov	x4, x3
	mov	w5, #1
	mov	x6, x3
	bl	_v4l2_ctrl_new_std
	ldr	w23, [x19, #4]
	cbz	w23, LBB0_14
; %bb.6:
	str	x23, [sp]
Lloh68:
	adrp	x1, l_.str.4@PAGE
Lloh69:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_dev_err
	b	LBB0_32
LBB0_7:
Lloh70:
	adrp	x1, l_.str@PAGE
Lloh71:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh72:
	adrp	x8, _EINVAL@GOTPAGE
Lloh73:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh74:
	adrp	x1, l_.str.1@PAGE
Lloh75:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_dev_warn
Lloh76:
	adrp	x8, _EIO@GOTPAGE
Lloh77:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh78:
	adrp	x8, _ENODEV@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:
Lloh80:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh81:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_12:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_13:
	str	x0, [sp]
Lloh82:
	adrp	x1, l_.str.2@PAGE
Lloh83:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_dev_err
Lloh84:
	adrp	x8, _ENODEV@GOTPAGE
Lloh85:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh86:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_33
LBB0_14:
	mov	w0, #2
	mov	x1, x24
	bl	_v4l2_ctrl_cluster
Lloh87:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh88:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	mov	x2, x19
	str	w8, [x2, #40]!
	stur	x22, [x2, #-24]
Lloh90:
	adrp	x8, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGE
Lloh91:
	ldr	x8, [x8, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGEOFF]
Lloh92:
	ldr	w8, [x8]
	stur	w8, [x2, #-32]
	mov	x0, x20
	mov	w1, #1
	bl	_media_entity_pads_init
	tbnz	w0, #31, LBB0_31
; %bb.15:
Lloh93:
	adrp	x24, _MT9M032_RESET@GOTPAGE
Lloh94:
	ldr	x24, [x24, _MT9M032_RESET@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #1
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.16:
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #0
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.17:
	mov	x0, x19
	bl	_mt9m032_setup_pll
	tbnz	w0, #31, LBB0_29
; %bb.18:
	mov	w0, #10000
	mov	w1, #11000
	bl	_usleep_range
	mov	x0, x22
	bl	_v4l2_ctrl_handler_setup
	tbnz	w0, #31, LBB0_29
; %bb.19:
	mov	x0, x19
	bl	_mt9m032_update_geom_timing
	tbnz	w0, #31, LBB0_29
; %bb.20:
	mov	x0, x21
	mov	w1, #65
	mov	w2, #0
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.21:
	mov	x0, x21
	mov	w1, #66
	mov	w2, #3
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.22:
	mov	x0, x21
	mov	w1, #67
	mov	w2, #3
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.23:
	mov	x0, x21
	mov	w1, #127
	mov	w2, #0
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.24:
	ldr	x8, [x19, #32]
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_26
; %bb.25:
Lloh95:
	adrp	x8, _MT9M032_PIX_CLK_CTRL@GOTPAGE
Lloh96:
	ldr	x8, [x8, _MT9M032_PIX_CLK_CTRL@GOTPAGEOFF]
Lloh97:
	ldr	w1, [x8]
Lloh98:
	adrp	x8, _MT9M032_PIX_CLK_CTRL_INV_PIXCLK@GOTPAGE
Lloh99:
	ldr	x8, [x8, _MT9M032_PIX_CLK_CTRL_INV_PIXCLK@GOTPAGEOFF]
Lloh100:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
LBB0_26:
Lloh101:
	adrp	x24, _MT9M032_RESTART@GOTPAGE
Lloh102:
	ldr	x24, [x24, _MT9M032_RESTART@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #1
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.27:
	mov	w0, #100
	bl	_msleep
	ldr	w1, [x24]
	mov	x0, x21
	mov	w2, #0
	bl	_mt9m032_write
	tbnz	w0, #31, LBB0_29
; %bb.28:
	mov	w0, #100
	bl	_msleep
	mov	x0, x19
	mov	w1, #0
	bl	_update_formatter2
	mov	x23, x0
	tbz	w0, #31, LBB0_12
	b	LBB0_30
LBB0_29:
	mov	x23, x0
LBB0_30:
	mov	x0, x20
	bl	_media_entity_cleanup
	b	LBB0_32
LBB0_31:
	mov	x23, x0
LBB0_32:
	mov	x0, x22
	bl	_v4l2_ctrl_handler_free
LBB0_33:
	mov	x0, x19
	bl	_mutex_destroy
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdrp	Lloh19, Lloh21
	.loh AdrpLdr	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh101, Lloh102
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No platform data\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_I2C_FUNC_SMBUS_WORD_DATA,4,2   ; @I2C_FUNC_SMBUS_WORD_DATA
l_.str.1:                               ; @.str.1
	.asciz	"I2C-Adapter doesn't support I2C_FUNC_SMBUS_WORD\n"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mt9m032_ops,4,2                ; @mt9m032_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_MT9M032_CHIP_VERSION,4,2       ; @MT9M032_CHIP_VERSION
	.comm	_MT9M032_CHIP_VERSION_VALUE,4,2 ; @MT9M032_CHIP_VERSION_VALUE
l_.str.2:                               ; @.str.2
	.asciz	"MT9M032 not detected, wrong version 0x%04x\n"

l_.str.3:                               ; @.str.3
	.asciz	"MT9M032 detected at address 0x%02x\n"

	.comm	_MT9M032_COLUMN_START_DEF,4,2   ; @MT9M032_COLUMN_START_DEF
	.comm	_MT9M032_ROW_START_DEF,4,2      ; @MT9M032_ROW_START_DEF
	.comm	_MT9M032_COLUMN_SIZE_DEF,4,2    ; @MT9M032_COLUMN_SIZE_DEF
	.comm	_MT9M032_ROW_SIZE_DEF,4,2       ; @MT9M032_ROW_SIZE_DEF
	.comm	_MEDIA_BUS_FMT_Y8_1X8,4,2       ; @MEDIA_BUS_FMT_Y8_1X8
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_mt9m032_ctrl_ops,4,2           ; @mt9m032_ctrl_ops
	.comm	_V4L2_CID_GAIN,4,2              ; @V4L2_CID_GAIN
	.comm	_V4L2_CID_HFLIP,4,2             ; @V4L2_CID_HFLIP
	.comm	_V4L2_CID_VFLIP,4,2             ; @V4L2_CID_VFLIP
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_MT9M032_SHUTTER_WIDTH_MIN,4,2  ; @MT9M032_SHUTTER_WIDTH_MIN
	.comm	_MT9M032_SHUTTER_WIDTH_MAX,4,2  ; @MT9M032_SHUTTER_WIDTH_MAX
	.comm	_MT9M032_SHUTTER_WIDTH_DEF,4,2  ; @MT9M032_SHUTTER_WIDTH_DEF
	.comm	_V4L2_CID_PIXEL_RATE,4,2        ; @V4L2_CID_PIXEL_RATE
l_.str.4:                               ; @.str.4
	.asciz	"control initialization error %d\n"

	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ; @MEDIA_ENT_F_CAM_SENSOR
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_MT9M032_RESET,4,2              ; @MT9M032_RESET
	.comm	_MT9M032_PIX_CLK_CTRL,4,2       ; @MT9M032_PIX_CLK_CTRL
	.comm	_MT9M032_PIX_CLK_CTRL_INV_PIXCLK,4,2 ; @MT9M032_PIX_CLK_CTRL_INV_PIXCLK
	.comm	_MT9M032_RESTART,4,2            ; @MT9M032_RESTART
	.no_dead_strip	_mt9m032_probe
.subsections_via_symbols
