	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_i2c_module
_init_i2c_module:                       ## @init_i2c_module
	.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	%rsi, %rbx
	movq	%rdi, %r12
	callq	_i2c_get_adapdata
	movq	%rax, %r15
	leaq	16(%rax), %r13
	leaq	-56(%rbp), %rdi
	xorl	%r14d, %r14d
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	-48(%rbp), %edi
	movl	(%rbx), %esi
	movl	$4, %edx
	callq	_strscpy
	movl	28(%rbx), %eax
	movl	%eax, -52(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -56(%rbp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	leaq	-56(%rbp), %rdx
	xorl	%ecx, %ecx
	callq	_v4l2_i2c_new_subdev_board
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_3
## %bb.2:
	movq	%rax, 8(%r15)
LBB0_3:
	xorl	%r14d, %r14d
	cmpq	$0, 8(%rbx)
	je	LBB0_6
## %bb.4:
	movq	%rax, (%r15)
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_6:
	movl	%r14d, %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	"go7007: probing for module i2c:%s failed\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_init_i2c_module
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_i2c_module
_init_i2c_module:                       ; @init_i2c_module
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	bl	_i2c_get_adapdata
	mov	x20, x0
	add	x22, x0, #16
	mov	x0, sp
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w0, [sp, #8]
	ldr	w1, [x19]
	mov	w2, #4
	bl	_strscpy
	ldr	d0, [x19, #24]
	str	d0, [sp]
	mov	x2, sp
	mov	x0, x22
	mov	x1, x21
	mov	x3, #0
	bl	_v4l2_i2c_new_subdev_board
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_3
; %bb.2:
	str	x0, [x20, #8]
LBB0_3:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_6
; %bb.4:
	mov	w8, #0
	str	x0, [x20]
	b	LBB0_6
LBB0_5:
	ldr	w1, [x19]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_6:
	mov	x0, x8
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"go7007: probing for module i2c:%s failed\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_init_i2c_module
.subsections_via_symbols
