	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ddb_i2c_add
_ddb_i2c_add:                           ## @ddb_i2c_add
	.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
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	%r8d, (%rsi)
	movq	%rdi, 72(%rsi)
	movl	%ecx, 4(%rsi)
	movq	8(%rdx), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rsi)
	movl	%ecx, %edi
	callq	_DDB_LINK_TAG
	movq	8(%r12), %rcx
	movl	8(%rbx), %edx
	imull	%r15d, %edx
	addl	4(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, 12(%rbx)
	movl	%edx, 16(%rbx)
	movl	%r13d, %edi
	callq	_DDB_LINK_TAG
	movq	(%r12), %rcx
	movl	4(%rcx), %edx
	imull	%r15d, %edx
	addl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, 20(%rbx)
	movq	_I2C_SPEED_100@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movslq	%edx, %rdx
	movq	_I2C_TIMING@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_ddbwritel
	movl	16(%rbx), %eax
	shll	$16, %eax
	movzwl	12(%rbx), %esi
	orl	%eax, %esi
	movslq	20(%rbx), %rdx
	movq	_I2C_TASKADDRESS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_ddbwritel
	leaq	64(%rbx), %rdi
	callq	_init_completion
	leaq	24(%rbx), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_i2c_set_adapdata
	movl	4(%rbx), %r8d
	movl	48(%rbx), %edi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %r9d
	callq	_snprintf
	movq	_ddb_i2c_algo@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	%rbx, 32(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 24(%rbx)
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_add_adapter                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_SPEED_100,4,2              ## @I2C_SPEED_100
	.comm	_I2C_TIMING,8,3                 ## @I2C_TIMING
	.comm	_I2C_TASKADDRESS,8,3            ## @I2C_TASKADDRESS
	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ddbridge_%02x.%x.%x"

	.comm	_ddb_i2c_algo,4,2               ## @ddb_i2c_algo
	.comm	_I2C_ADAP_CLASS_TV_DIGITAL,8,3  ## @I2C_ADAP_CLASS_TV_DIGITAL
	.comm	_I2C_CLASS_TV_ANALOG,8,3        ## @I2C_CLASS_TV_ANALOG
	.no_dead_strip	_ddb_i2c_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ddb_i2c_add
_ddb_i2c_add:                           ; @ddb_i2c_add
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	str	x0, [x1, #72]
	stp	w4, w3, [x1]
	ldr	x8, [x2, #8]
	ldr	w8, [x8]
	str	w8, [x1, #8]
	mov	x0, x3
	bl	_DDB_LINK_TAG
	ldr	x8, [x23, #8]
	ldr	w8, [x8, #4]
	ldr	w9, [x19, #8]
	madd	w8, w9, w21, w8
	orr	w8, w8, w0
	stp	w8, w8, [x19, #12]
	mov	x0, x22
	bl	_DDB_LINK_TAG
	ldr	x8, [x23]
	ldp	w9, w8, [x8]
	madd	w8, w8, w21, w9
	orr	w8, w8, w0
Lloh0:
	adrp	x9, _I2C_SPEED_100@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_SPEED_100@GOTPAGEOFF]
	str	w8, [x19, #20]
Lloh2:
	ldr	w1, [x9]
Lloh3:
	adrp	x9, _I2C_TIMING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_TIMING@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x2, x9, w8, sxtw
	mov	x0, x20
	bl	_ddbwritel
	ldrh	w1, [x19, #12]
	ldp	w8, w9, [x19, #16]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	bfi	w1, w8, #16, #16
Lloh6:
	adrp	x8, _I2C_TASKADDRESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_TASKADDRESS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x2, x8, x9
	mov	x0, x20
	bl	_ddbwritel
	add	x0, x19, #64
	bl	_init_completion
	add	x22, x19, #24
	mov	x0, x22
	mov	x1, x19
	bl	_i2c_set_adapdata
	ldr	w0, [x19, #48]
Lloh9:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w3, [x20]
	ldr	w4, [x19, #4]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x5, x21
	bl	_snprintf
Lloh14:
	adrp	x8, _ddb_i2c_algo@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ddb_i2c_algo@GOTPAGEOFF]
	stp	x19, x8, [x19, #32]
	ldr	w8, [x20, #4]
	str	w8, [x19, #24]
	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
	b	_i2c_add_adapter
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_SPEED_100,4,2              ; @I2C_SPEED_100
	.comm	_I2C_TIMING,8,3                 ; @I2C_TIMING
	.comm	_I2C_TASKADDRESS,8,3            ; @I2C_TASKADDRESS
	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ddbridge_%02x.%x.%x"

	.comm	_ddb_i2c_algo,4,2               ; @ddb_i2c_algo
	.comm	_I2C_ADAP_CLASS_TV_DIGITAL,8,3  ; @I2C_ADAP_CLASS_TV_DIGITAL
	.comm	_I2C_CLASS_TV_ANALOG,8,3        ; @I2C_CLASS_TV_ANALOG
	.no_dead_strip	_ddb_i2c_add
.subsections_via_symbols
