	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov5640_probe
_ov5640_probe:                          ## @ov5640_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$144, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%r14, 136(%rax)
	movq	_MEDIA_BUS_FMT_UYVY8_2X8@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 132(%r13)
	movq	_V4L2_COLORSPACE_SRGB@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 116(%r13)
	callq	_V4L2_MAP_YCBCR_ENC_DEFAULT
	movl	%eax, 128(%r13)
	movq	_V4L2_QUANTIZATION_FULL_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 124(%r13)
	movl	116(%r13), %edi
	callq	_V4L2_MAP_XFER_FUNC_DEFAULT
	movl	%eax, 120(%r13)
	movabsq	$2061584302720, %rax            ## imm = 0x1E000000280
	movq	%rax, 104(%r13)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 112(%r13)
	movl	$1, 96(%r13)
	movq	_ov5640_framerates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_OV5640_30_FPS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, 100(%r13)
	movq	%rcx, (%r13)
	movq	_ov5640_mode_data@GOTPCREL(%rip), %rax
	movq	_OV5640_MODE_VGA_640_480@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$2, %rcx
	addq	(%rax), %rcx
	movq	%rcx, 80(%r13)
	movq	%rcx, 88(%r13)
	movl	$52, 8(%r13)
	movq	%r14, %rdi
	callq	_dev_fwnode
	leaq	L_.str(%rip), %rsi
	leaq	-44(%rbp), %rdx
	movl	%eax, %edi
	callq	_fwnode_property_read_u32
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	movq	%r14, %rdi
	callq	_dev_fwnode
	xorl	%r15d, %r15d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_fwnode_graph_get_next_endpoint
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:
	movq	%rax, %rbx
	leaq	72(%r13), %rsi
	movq	%rax, %rdi
	callq	_v4l2_fwnode_endpoint_parse
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_fwnode_handle_put
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_30
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_30
LBB0_3:
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	je	LBB0_7
## %bb.4:
	cmpl	$180, %edx
	jne	LBB0_6
## %bb.5:
	movl	$1, 12(%r13)
	jmp	LBB0_7
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	jmp	LBB0_30
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_clk_get
	movq	%rax, 64(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	movq	64(%r13), %rdi
LBB0_19:
	callq	_PTR_ERR
	movl	%eax, %r15d
LBB0_30:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
	jmp	LBB0_7
LBB0_14:
	movq	64(%r13), %rdi
	callq	_clk_get_rate
	movq	%rax, 16(%r13)
	movq	_OV5640_XCLK_MIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_16
## %bb.15:
	movq	_OV5640_XCLK_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_16
## %bb.17:
	movq	_GPIOD_OUT_HIGH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 56(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	56(%r13), %rdi
	jmp	LBB0_19
LBB0_16:
	leaq	L_.str.6(%rip), %rsi
	xorl	%r15d, %r15d
	movq	%r14, %rdi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_20:
	movl	(%rbx), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	callq	_devm_gpiod_get_optional
	movq	%rax, 48(%r13)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	48(%r13), %rdi
	jmp	LBB0_19
LBB0_22:
	leaq	24(%r13), %r12
	movq	_ov5640_subdev_ops@GOTPCREL(%rip), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPCREL(%rip), %rax
	movq	_V4L2_SUBDEV_FL_HAS_EVENTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, 24(%r13)
	movq	_MEDIA_PAD_FL_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	40(%r13), %rdx
	movl	%eax, 40(%r13)
	movq	_MEDIA_ENT_F_CAM_SENSOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	28(%r13), %r14
	movl	%eax, 28(%r13)
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_media_entity_pads_init
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.23:
	movq	%r13, %rdi
	callq	_ov5640_get_regulators
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_30
## %bb.24:
	leaq	32(%r13), %rbx
	movq	%rbx, %rdi
	callq	_mutex_init
	movq	%r13, %rdi
	callq	_ov5640_check_chip_id
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_29
## %bb.25:
	movq	%r13, %rdi
	callq	_ov5640_init_controls
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_29
## %bb.26:
	movq	%r12, %rdi
	callq	_v4l2_async_register_subdev_sensor_common
	testl	%eax, %eax
	je	LBB0_27
## %bb.28:
	movl	%eax, %r15d
	addq	$36, %r13
	movq	%r13, %rdi
	callq	_v4l2_ctrl_handler_free
LBB0_29:
	movq	%rbx, %rdi
	callq	_mutex_destroy
	movq	%r14, %rdi
	callq	_media_entity_cleanup
	jmp	LBB0_30
LBB0_27:
	xorl	%r15d, %r15d
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,4,2    ## @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ## @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_QUANTIZATION_FULL_RANGE,4,2 ## @V4L2_QUANTIZATION_FULL_RANGE
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_ov5640_framerates,8,3          ## @ov5640_framerates
	.comm	_OV5640_30_FPS,8,3              ## @OV5640_30_FPS
	.comm	_ov5640_mode_data,8,3           ## @ov5640_mode_data
	.comm	_OV5640_MODE_VGA_640_480,8,3    ## @OV5640_MODE_VGA_640_480
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rotation"

L_.str.1:                               ## @.str.1
	.asciz	"%u degrees rotation is not supported, ignoring...\n"

L_.str.2:                               ## @.str.2
	.asciz	"endpoint node not found\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.3:                               ## @.str.3
	.asciz	"Could not parse endpoint\n"

L_.str.4:                               ## @.str.4
	.asciz	"xclk"

L_.str.5:                               ## @.str.5
	.asciz	"failed to get xclk\n"

	.comm	_OV5640_XCLK_MIN,8,3            ## @OV5640_XCLK_MIN
	.comm	_OV5640_XCLK_MAX,8,3            ## @OV5640_XCLK_MAX
L_.str.6:                               ## @.str.6
	.asciz	"xclk frequency out of range: %d Hz\n"

L_.str.7:                               ## @.str.7
	.asciz	"powerdown"

	.comm	_GPIOD_OUT_HIGH,4,2             ## @GPIOD_OUT_HIGH
L_.str.8:                               ## @.str.8
	.asciz	"reset"

	.comm	_ov5640_subdev_ops,4,2          ## @ov5640_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ## @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_SUBDEV_FL_HAS_EVENTS,4,2  ## @V4L2_SUBDEV_FL_HAS_EVENTS
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ## @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ## @MEDIA_ENT_F_CAM_SENSOR
	.no_dead_strip	_ov5640_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 ov5640_probe
lCPI0_0:
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ov5640_probe:                          ; @ov5640_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #144
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	str	x20, [x0, #136]
Lloh3:
	adrp	x8, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEDIA_BUS_FMT_UYVY8_2X8@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #132]
Lloh6:
	adrp	x8, _V4L2_COLORSPACE_SRGB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _V4L2_COLORSPACE_SRGB@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	str	w0, [x19, #116]
	bl	_V4L2_MAP_YCBCR_ENC_DEFAULT
Lloh9:
	adrp	x8, _V4L2_QUANTIZATION_FULL_RANGE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _V4L2_QUANTIZATION_FULL_RANGE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w0, [x19, #124]
	ldr	w0, [x19, #116]
	bl	_V4L2_MAP_XFER_FUNC_DEFAULT
	str	w0, [x19, #120]
Lloh12:
	adrp	x8, lCPI0_0@PAGE
Lloh13:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #104]
Lloh14:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19, #112]
	mov	w8, #1
	str	w8, [x19, #96]
Lloh17:
	adrp	x8, _ov5640_framerates@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ov5640_framerates@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
Lloh20:
	adrp	x9, _OV5640_30_FPS@GOTPAGE
Lloh21:
	ldr	x9, [x9, _OV5640_30_FPS@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [x19, #100]
	str	x9, [x19]
Lloh23:
	adrp	x8, _ov5640_mode_data@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ov5640_mode_data@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
Lloh26:
	adrp	x9, _OV5640_MODE_VGA_640_480@GOTPAGE
Lloh27:
	ldr	x9, [x9, _OV5640_MODE_VGA_640_480@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	stp	x8, x8, [x19, #80]
	mov	w8, #52
	str	w8, [x19, #8]
	mov	x0, x20
	bl	_dev_fwnode
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	bl	_fwnode_property_read_u32
	cbz	w0, LBB0_6
LBB0_2:
	mov	x0, x20
	bl	_dev_fwnode
	mov	x1, #0
	bl	_fwnode_graph_get_next_endpoint
	cbz	x0, LBB0_9
; %bb.3:
	mov	x22, x0
	add	x1, x19, #72
	bl	_v4l2_fwnode_endpoint_parse
	mov	x21, x0
	mov	x0, x22
	bl	_fwnode_handle_put
	cbz	w21, LBB0_13
; %bb.4:
Lloh31:
	adrp	x1, l_.str.3@PAGE
Lloh32:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_12
LBB0_5:
Lloh33:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_11
LBB0_6:
	ldr	w2, [sp, #12]
	cbz	w2, LBB0_2
; %bb.7:
	cmp	w2, #180
	b.ne	LBB0_16
; %bb.8:
	mov	w8, #1
	str	w8, [x19, #12]
	b	LBB0_2
LBB0_9:
Lloh35:
	adrp	x1, l_.str.2@PAGE
Lloh36:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_10:
	mov	x0, x20
	bl	_dev_err
Lloh37:
	adrp	x8, _EINVAL@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_11:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_12:
	mov	x0, x21
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_devm_clk_get
	str	x0, [x19, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.14:
Lloh41:
	adrp	x1, l_.str.5@PAGE
Lloh42:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x19, #64]
LBB0_15:
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_12
LBB0_16:
Lloh43:
	adrp	x1, l_.str.1@PAGE
Lloh44:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
	b	LBB0_2
LBB0_17:
	ldr	x0, [x19, #64]
	bl	_clk_get_rate
	str	x0, [x19, #16]
Lloh45:
	adrp	x8, _OV5640_XCLK_MIN@GOTPAGE
Lloh46:
	ldr	x8, [x8, _OV5640_XCLK_MIN@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	cmp	x0, x8
	b.lt	LBB0_21
; %bb.18:
Lloh48:
	adrp	x8, _OV5640_XCLK_MAX@GOTPAGE
Lloh49:
	ldr	x8, [x8, _OV5640_XCLK_MAX@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_21
; %bb.19:
Lloh51:
	adrp	x21, _GPIOD_OUT_HIGH@GOTPAGE
Lloh52:
	ldr	x21, [x21, _GPIOD_OUT_HIGH@GOTPAGEOFF]
	ldr	w2, [x21]
Lloh53:
	adrp	x1, l_.str.7@PAGE
Lloh54:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_optional
	str	x0, [x19, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.20:
	ldr	x0, [x19, #56]
	b	LBB0_15
LBB0_21:
	str	x0, [sp]
Lloh55:
	adrp	x1, l_.str.6@PAGE
Lloh56:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_10
LBB0_22:
	ldr	w2, [x21]
Lloh57:
	adrp	x1, l_.str.8@PAGE
Lloh58:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get_optional
	str	x0, [x19, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_24
; %bb.23:
	ldr	x0, [x19, #48]
	b	LBB0_15
LBB0_24:
	add	x22, x19, #24
Lloh59:
	adrp	x2, _ov5640_subdev_ops@GOTPAGE
Lloh60:
	ldr	x2, [x2, _ov5640_subdev_ops@GOTPAGEOFF]
	mov	x0, x22
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
Lloh61:
	adrp	x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGE
Lloh62:
	ldr	x8, [x8, _V4L2_SUBDEV_FL_HAS_DEVNODE@GOTPAGEOFF]
Lloh63:
	adrp	x9, _V4L2_SUBDEV_FL_HAS_EVENTS@GOTPAGE
Lloh64:
	ldr	x9, [x9, _V4L2_SUBDEV_FL_HAS_EVENTS@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19, #24]
	orr	w8, w8, w9
	str	w8, [x19, #24]
Lloh67:
	adrp	x8, _MEDIA_PAD_FL_SOURCE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _MEDIA_PAD_FL_SOURCE@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGE
Lloh71:
	ldr	x9, [x9, _MEDIA_ENT_F_CAM_SENSOR@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	mov	x20, x19
	str	w9, [x20, #28]!
	mov	x2, x20
	str	w8, [x2, #12]!
	mov	x0, x20
	mov	w1, #1
	bl	_media_entity_pads_init
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.25:
	mov	x0, x19
	bl	_ov5640_get_regulators
	mov	x21, x0
	cbnz	w0, LBB0_12
; %bb.26:
	add	x23, x19, #32
	mov	x0, x23
	bl	_mutex_init
	mov	x0, x19
	bl	_ov5640_check_chip_id
	mov	x21, x0
	cbnz	w0, LBB0_30
; %bb.27:
	mov	x0, x19
	bl	_ov5640_init_controls
	mov	x21, x0
	cbnz	w0, LBB0_30
; %bb.28:
	mov	x0, x22
	bl	_v4l2_async_register_subdev_sensor_common
	mov	x21, x0
	cbz	w0, LBB0_12
; %bb.29:
	add	x0, x19, #36
	bl	_v4l2_ctrl_handler_free
LBB0_30:
	mov	x0, x23
	bl	_mutex_destroy
	mov	x0, x20
	bl	_media_entity_cleanup
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdrp	Lloh12, Lloh14
	.loh AdrpLdr	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh65
	.loh AdrpLdrGot	Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MEDIA_BUS_FMT_UYVY8_2X8,4,2    ; @MEDIA_BUS_FMT_UYVY8_2X8
	.comm	_V4L2_COLORSPACE_SRGB,4,2       ; @V4L2_COLORSPACE_SRGB
	.comm	_V4L2_QUANTIZATION_FULL_RANGE,4,2 ; @V4L2_QUANTIZATION_FULL_RANGE
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_ov5640_framerates,8,3          ; @ov5640_framerates
	.comm	_OV5640_30_FPS,8,3              ; @OV5640_30_FPS
	.comm	_ov5640_mode_data,8,3           ; @ov5640_mode_data
	.comm	_OV5640_MODE_VGA_640_480,8,3    ; @OV5640_MODE_VGA_640_480
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rotation"

l_.str.1:                               ; @.str.1
	.asciz	"%u degrees rotation is not supported, ignoring...\n"

l_.str.2:                               ; @.str.2
	.asciz	"endpoint node not found\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.3:                               ; @.str.3
	.asciz	"Could not parse endpoint\n"

l_.str.4:                               ; @.str.4
	.asciz	"xclk"

l_.str.5:                               ; @.str.5
	.asciz	"failed to get xclk\n"

	.comm	_OV5640_XCLK_MIN,8,3            ; @OV5640_XCLK_MIN
	.comm	_OV5640_XCLK_MAX,8,3            ; @OV5640_XCLK_MAX
l_.str.6:                               ; @.str.6
	.asciz	"xclk frequency out of range: %d Hz\n"

l_.str.7:                               ; @.str.7
	.asciz	"powerdown"

	.comm	_GPIOD_OUT_HIGH,4,2             ; @GPIOD_OUT_HIGH
l_.str.8:                               ; @.str.8
	.asciz	"reset"

	.comm	_ov5640_subdev_ops,4,2          ; @ov5640_subdev_ops
	.comm	_V4L2_SUBDEV_FL_HAS_DEVNODE,4,2 ; @V4L2_SUBDEV_FL_HAS_DEVNODE
	.comm	_V4L2_SUBDEV_FL_HAS_EVENTS,4,2  ; @V4L2_SUBDEV_FL_HAS_EVENTS
	.comm	_MEDIA_PAD_FL_SOURCE,4,2        ; @MEDIA_PAD_FL_SOURCE
	.comm	_MEDIA_ENT_F_CAM_SENSOR,4,2     ; @MEDIA_ENT_F_CAM_SENSOR
	.no_dead_strip	_ov5640_probe
.subsections_via_symbols
