	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_i2c_register            ## -- Begin function tm6000_i2c_register
	.p2align	4, 0x90
_tm6000_i2c_register:                   ## @tm6000_i2c_register
	.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, %rbx
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%rdi), %r14
	movl	%eax, 56(%rdi)
	movq	_tm6000_algo@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rdi)
	movq	72(%rdi), %rax
	movq	%rax, 40(%rdi)
	movl	32(%rdi), %edi
	movq	(%rbx), %rsi
	movl	$4, %edx
	callq	_strscpy
	movq	%rbx, 24(%rbx)
	leaq	64(%rbx), %rsi
	movq	%r14, %rdi
	callq	_i2c_set_adapdata
	movq	%r14, %rdi
	callq	_i2c_add_adapter
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	%r14, 16(%rbx)
	movl	8(%rbx), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_strscpy
	movq	%rbx, %rdi
	callq	_tm6000_i2c_eeprom
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_tm6000_algo,4,2                ## @tm6000_algo
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tm6000 internal"

	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tm6000_i2c_register            ; -- Begin function tm6000_i2c_register
	.p2align	2
_tm6000_i2c_register:                   ; @tm6000_i2c_register
	.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, _THIS_MODULE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	x20, x0, #24
Lloh3:
	adrp	x9, _tm6000_algo@GOTPAGE
Lloh4:
	ldr	x9, [x9, _tm6000_algo@GOTPAGEOFF]
	str	w8, [x0, #56]
	ldr	x8, [x0, #72]
	stp	x8, x9, [x0, #40]
	ldr	w0, [x0, #32]
	ldr	x1, [x19]
	mov	w2, #4
	bl	_strscpy
	str	x19, [x19, #24]
	add	x1, x19, #64
	mov	x0, x20
	bl	_i2c_set_adapdata
	mov	x0, x20
	bl	_i2c_add_adapter
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
	str	x20, [x19, #16]
	ldr	w0, [x19, #8]
Lloh5:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strscpy
	mov	x0, x19
	bl	_tm6000_i2c_eeprom
LBB0_2:
	mov	x0, x21
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_tm6000_algo,4,2                ; @tm6000_algo
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tm6000 internal"

	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
.subsections_via_symbols
