	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sr030pc30_probe
_sr030pc30_probe:                       ## @sr030pc30_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	callq	_sr030pc30_detect
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$72, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	leaq	64(%rax), %rdi
	movq	(%r14), %rax
	movq	%rax, 56(%r12)
	movq	_sr030pc30_ops@GOTPCREL(%rip), %rdx
	movq	%r14, %rsi
	callq	_v4l2_i2c_subdev_init
	leaq	48(%r12), %r14
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_v4l2_ctrl_handler_init
	movq	_V4L2_CID_AUTO_WHITE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	_sr030pc30_ctrl_ops@GOTPCREL(%rip), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 16(%r12)
	movq	_V4L2_CID_RED_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 40(%r12)
	movq	_V4L2_CID_BLUE_BALANCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$127, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 32(%r12)
	movq	_V4L2_CID_EXPOSURE_AUTO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movl	$1, %r8d
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 8(%r12)
	movq	_V4L2_CID_EXPOSURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_EXPOS_MIN_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_EXPOS_MAX_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$30, (%rsp)
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$1, %r9d
	callq	_v4l2_ctrl_new_std
	movq	%rax, 24(%r12)
	movq	%r14, 64(%r12)
	movl	48(%r12), %ebx
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_free
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_5:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_8:
	leaq	16(%r12), %rsi
	movq	%r12, %rbx
	addq	$8, %rbx
	movl	$3, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	_V4L2_EXPOSURE_MANUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$2, %edi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_v4l2_ctrl_auto_cluster
	movq	%r14, %rdi
	callq	_v4l2_ctrl_handler_setup
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, (%r12)
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No platform data!"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_sr030pc30_ops,4,2              ## @sr030pc30_ops
	.comm	_sr030pc30_ctrl_ops,4,2         ## @sr030pc30_ctrl_ops
	.comm	_V4L2_CID_AUTO_WHITE_BALANCE,4,2 ## @V4L2_CID_AUTO_WHITE_BALANCE
	.comm	_V4L2_CID_RED_BALANCE,4,2       ## @V4L2_CID_RED_BALANCE
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ## @V4L2_CID_BLUE_BALANCE
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ## @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ## @V4L2_CID_EXPOSURE
	.comm	_EXPOS_MIN_MS,4,2               ## @EXPOS_MIN_MS
	.comm	_EXPOS_MAX_MS,4,2               ## @EXPOS_MAX_MS
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ## @V4L2_EXPOSURE_MANUAL
	.no_dead_strip	_sr030pc30_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 sr030pc30_probe
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sr030pc30_probe:                       ; @sr030pc30_probe
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x0, x20
	bl	_sr030pc30_detect
	mov	x22, x0
	cbnz	w0, LBB0_7
; %bb.2:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #72
	bl	_devm_kzalloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x19, x0
	add	x0, x0, #64
	ldr	x8, [x20]
	str	x8, [x19, #56]
Lloh3:
	adrp	x2, _sr030pc30_ops@GOTPAGE
Lloh4:
	ldr	x2, [x2, _sr030pc30_ops@GOTPAGEOFF]
	mov	x1, x20
	bl	_v4l2_i2c_subdev_init
	add	x20, x19, #48
	mov	x0, x20
	mov	w1, #6
	bl	_v4l2_ctrl_handler_init
Lloh5:
	adrp	x8, _V4L2_CID_AUTO_WHITE_BALANCE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_CID_AUTO_WHITE_BALANCE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x22, _sr030pc30_ctrl_ops@GOTPAGE
Lloh9:
	ldr	x22, [x22, _sr030pc30_ctrl_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x21, x19
	str	x0, [x21, #16]!
Lloh10:
	adrp	x8, _V4L2_CID_RED_BALANCE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _V4L2_CID_RED_BALANCE@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #64
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #40]
Lloh13:
	adrp	x8, _V4L2_CID_BLUE_BALANCE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _V4L2_CID_BLUE_BALANCE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #127
	mov	w5, #1
	mov	w6, #64
	bl	_v4l2_ctrl_new_std
	str	x0, [x19, #32]
Lloh16:
	adrp	x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE_AUTO@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w3, #0
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	bl	_v4l2_ctrl_new_std
	mov	x23, x19
	str	x0, [x23, #8]!
Lloh19:
	adrp	x8, _V4L2_CID_EXPOSURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _V4L2_CID_EXPOSURE@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
Lloh22:
	adrp	x8, _EXPOS_MIN_MS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EXPOS_MIN_MS@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
Lloh25:
	adrp	x8, _EXPOS_MAX_MS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EXPOS_MAX_MS@GOTPAGEOFF]
Lloh27:
	ldr	w4, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	w5, #1
	mov	w6, #30
	bl	_v4l2_ctrl_new_std
	str	x0, [x23, #16]
	str	x20, [x19, #64]
	ldr	w22, [x19, #48]
	cbz	w22, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_v4l2_ctrl_handler_free
	b	LBB0_7
LBB0_5:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh30:
	adrp	x8, _EIO@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_7:
	mov	x0, x22
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh32:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
	mov	w0, #3
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
Lloh34:
	adrp	x8, _V4L2_EXPOSURE_MANUAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _V4L2_EXPOSURE_MANUAL@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
	mov	w0, #2
	mov	x1, x23
	mov	w3, #0
	bl	_v4l2_ctrl_auto_cluster
	mov	x0, x20
	bl	_v4l2_ctrl_handler_setup
Lloh37:
	adrp	x8, lCPI0_0@PAGE
Lloh38:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdr	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No platform data!"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_sr030pc30_ops,4,2              ; @sr030pc30_ops
	.comm	_sr030pc30_ctrl_ops,4,2         ; @sr030pc30_ctrl_ops
	.comm	_V4L2_CID_AUTO_WHITE_BALANCE,4,2 ; @V4L2_CID_AUTO_WHITE_BALANCE
	.comm	_V4L2_CID_RED_BALANCE,4,2       ; @V4L2_CID_RED_BALANCE
	.comm	_V4L2_CID_BLUE_BALANCE,4,2      ; @V4L2_CID_BLUE_BALANCE
	.comm	_V4L2_CID_EXPOSURE_AUTO,4,2     ; @V4L2_CID_EXPOSURE_AUTO
	.comm	_V4L2_CID_EXPOSURE,4,2          ; @V4L2_CID_EXPOSURE
	.comm	_EXPOS_MIN_MS,4,2               ; @EXPOS_MIN_MS
	.comm	_EXPOS_MAX_MS,4,2               ; @EXPOS_MAX_MS
	.comm	_V4L2_EXPOSURE_MANUAL,4,2       ; @V4L2_EXPOSURE_MANUAL
	.no_dead_strip	_sr030pc30_probe
.subsections_via_symbols
