	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdv_intel_dp_i2c_init
_cdv_intel_dp_i2c_init:                 ## @cdv_intel_dp_i2c_init
	.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
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rsi), %rbx
	leaq	L_.str(%rip), %rdi
	movq	%rdx, %rsi
	callq	_DRM_DEBUG_KMS
	leaq	32(%rbx), %r13
	movl	$0, 32(%rbx)
	movq	$0, 40(%rbx)
	movq	_cdv_intel_dp_i2c_aux_ch@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_I2C_CLASS_DDC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	(%rbx), %rdi
	movq	%r12, %rsi
	movl	$7, %edx
	callq	_strncpy
	movq	(%rbx), %rax
	movb	$0, 7(%rax)
	movq	%r13, 16(%rbx)
	movl	(%r15), %eax
	movl	%eax, 8(%rbx)
	movq	%r14, %rdi
	callq	_is_edp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_cdv_intel_edp_panel_vdd_on
LBB0_2:
	movq	%rbx, %rdi
	callq	_i2c_dp_aux_add_bus
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_is_edp
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_cdv_intel_edp_panel_vdd_off
LBB0_4:
	movl	%ebx, %eax
	addq	$8, %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	"i2c_init %s\n"

	.comm	_cdv_intel_dp_i2c_aux_ch,4,2    ## @cdv_intel_dp_i2c_aux_ch
	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_I2C_CLASS_DDC,4,2              ## @I2C_CLASS_DDC
	.no_dead_strip	_cdv_intel_dp_i2c_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdv_intel_dp_i2c_init
_cdv_intel_dp_i2c_init:                 ; @cdv_intel_dp_i2c_init
	.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, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x20, [x1]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x2
	bl	_DRM_DEBUG_KMS
	mov	x23, x20
	str	wzr, [x23, #32]!
	str	xzr, [x20, #40]
Lloh2:
	adrp	x8, _cdv_intel_dp_i2c_aux_ch@GOTPAGE
Lloh3:
	ldr	x8, [x8, _cdv_intel_dp_i2c_aux_ch@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x20, #36]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh5:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _I2C_CLASS_DDC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I2C_CLASS_DDC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #24]
	ldr	x0, [x20]
	mov	x1, x21
	mov	w2, #7
	bl	_strncpy
	ldr	x8, [x20]
	strb	wzr, [x8, #7]
	str	x23, [x20, #16]
	ldr	w8, [x22]
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_is_edp
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_cdv_intel_edp_panel_vdd_on
LBB0_2:
	mov	x0, x20
	bl	_i2c_dp_aux_add_bus
	mov	x20, x0
	mov	x0, x19
	bl	_is_edp
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_cdv_intel_edp_panel_vdd_off
LBB0_4:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c_init %s\n"

	.comm	_cdv_intel_dp_i2c_aux_ch,4,2    ; @cdv_intel_dp_i2c_aux_ch
	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_I2C_CLASS_DDC,4,2              ; @I2C_CLASS_DDC
	.no_dead_strip	_cdv_intel_dp_i2c_init
.subsections_via_symbols
