	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function mt9v011_probe
LCPI0_0:
	.long	36                              ## 0x24
	.long	640                             ## 0x280
	.long	480                             ## 0x1e0
	.long	27000000                        ## 0x19bfcc0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mt9v011_probe:                         ## @mt9v011_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	_I2C_FUNC_SMBUS_READ_BYTE@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$20, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rbx
	addq	$16, %rbx
	movq	_mt9v011_ops@GOTPCREL(%rip), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_v4l2_i2c_subdev_init
	movq	_R00_MT9V011_CHIP_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_mt9v011_read
	movq	_MT9V011_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.6:
	movq	_MT9V011_REV_B_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_v4l2_info
	movq	%r14, %rdi
	callq	_kfree
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_9
LBB0_8:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [36,640,480,27000000]
	movups	%xmm0, (%r14)
	movl	(%r15), %edx
	addl	%edx, %edx
	movq	8(%r15), %rcx
	movl	(%rcx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	movq	%rax, %r8
	callq	_v4l_info
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ## @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ## @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ## @EIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_mt9v011_ops,4,2                ## @mt9v011_ops
	.comm	_R00_MT9V011_CHIP_VERSION,4,2   ## @R00_MT9V011_CHIP_VERSION
	.comm	_MT9V011_VERSION,8,3            ## @MT9V011_VERSION
	.comm	_MT9V011_REV_B_VERSION,8,3      ## @MT9V011_REV_B_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*** unknown micron chip detected (0x%04x).\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"chip found @ 0x%02x (%s - chip version 0x%04x)\n"

	.no_dead_strip	_mt9v011_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function mt9v011_probe
lCPI0_0:
	.long	36                              ; 0x24
	.long	640                             ; 0x280
	.long	480                             ; 0x1e0
	.long	27000000                        ; 0x19bfcc0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mt9v011_probe:                         ; @mt9v011_probe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_READ_BYTE@GOTPAGEOFF]
	ldr	x0, [x0, #8]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_WRITE_BYTE_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w1, w9, w8
	bl	_i2c_check_functionality
	cbz	w0, LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #20
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	add	x21, x0, #16
Lloh9:
	adrp	x2, _mt9v011_ops@GOTPAGE
Lloh10:
	ldr	x2, [x2, _mt9v011_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_v4l2_i2c_subdev_init
Lloh11:
	adrp	x8, _R00_MT9V011_CHIP_VERSION@GOTPAGE
Lloh12:
	ldr	x8, [x8, _R00_MT9V011_CHIP_VERSION@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_mt9v011_read
	mov	x4, x0
Lloh14:
	adrp	x8, _MT9V011_VERSION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT9V011_VERSION@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
Lloh17:
	adrp	x9, _MT9V011_REV_B_VERSION@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MT9V011_REV_B_VERSION@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_6
; %bb.3:
Lloh20:
	adrp	x8, lCPI0_0@PAGE
Lloh21:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [x20]
	ldr	w8, [x19]
	lsl	w2, w8, #1
	ldr	x8, [x19, #8]
	ldr	w3, [x8]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_v4l_info
	mov	w0, #0
	b	LBB0_8
LBB0_4:
Lloh24:
	adrp	x8, _EIO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh28:
	adrp	x1, l_.str@PAGE
Lloh29:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x4
	bl	_v4l2_info
	mov	x0, x20
	bl	_kfree
Lloh30:
	adrp	x8, _EINVAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdr	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_FUNC_SMBUS_READ_BYTE,4,2   ; @I2C_FUNC_SMBUS_READ_BYTE
	.comm	_I2C_FUNC_SMBUS_WRITE_BYTE_DATA,4,2 ; @I2C_FUNC_SMBUS_WRITE_BYTE_DATA
	.comm	_EIO,4,2                        ; @EIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_mt9v011_ops,4,2                ; @mt9v011_ops
	.comm	_R00_MT9V011_CHIP_VERSION,4,2   ; @R00_MT9V011_CHIP_VERSION
	.comm	_MT9V011_VERSION,8,3            ; @MT9V011_VERSION
	.comm	_MT9V011_REV_B_VERSION,8,3      ; @MT9V011_REV_B_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*** unknown micron chip detected (0x%04x).\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"chip found @ 0x%02x (%s - chip version 0x%04x)\n"

	.no_dead_strip	_mt9v011_probe
.subsections_via_symbols
