	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_ddc
_init_ddc:                              ## @init_ddc
	.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	_REG_HDMI_DDC_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_HDMI_DDC_CTRL_SW_STATUS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_hdmi_write
	movl	(%rbx), %esi
	movq	_HDMI_DDC_CTRL_SOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_hdmi_write
	movq	_REG_HDMI_DDC_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	$2, %edi
	callq	_HDMI_DDC_SPEED_THRESHOLD
	movl	%eax, %ebx
	movl	$10, %edi
	callq	_HDMI_DDC_SPEED_PRESCALE
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	callq	_hdmi_write
	movq	_REG_HDMI_DDC_SETUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$255, %edi
	callq	_HDMI_DDC_SETUP_TIMEOUT
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_hdmi_write
	movq	_REG_HDMI_DDC_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_HDMI_DDC_REF_REFTIMER_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$27, %edi
	callq	_HDMI_DDC_REF_REFTIMER
	orl	%eax, %ebx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hdmi_write                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_HDMI_DDC_CTRL,4,2          ## @REG_HDMI_DDC_CTRL
	.comm	_HDMI_DDC_CTRL_SW_STATUS_RESET,4,2 ## @HDMI_DDC_CTRL_SW_STATUS_RESET
	.comm	_HDMI_DDC_CTRL_SOFT_RESET,4,2   ## @HDMI_DDC_CTRL_SOFT_RESET
	.comm	_REG_HDMI_DDC_SPEED,4,2         ## @REG_HDMI_DDC_SPEED
	.comm	_REG_HDMI_DDC_SETUP,4,2         ## @REG_HDMI_DDC_SETUP
	.comm	_REG_HDMI_DDC_REF,4,2           ## @REG_HDMI_DDC_REF
	.comm	_HDMI_DDC_REF_REFTIMER_ENABLE,4,2 ## @HDMI_DDC_REF_REFTIMER_ENABLE
	.no_dead_strip	_init_ddc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_ddc
_init_ddc:                              ; @init_ddc
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x20, _REG_HDMI_DDC_CTRL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _REG_HDMI_DDC_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _HDMI_DDC_CTRL_SW_STATUS_RESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HDMI_DDC_CTRL_SW_STATUS_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_write
	ldr	w1, [x20]
Lloh5:
	adrp	x8, _HDMI_DDC_CTRL_SOFT_RESET@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HDMI_DDC_CTRL_SOFT_RESET@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_hdmi_write
Lloh8:
	adrp	x8, _REG_HDMI_DDC_SPEED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _REG_HDMI_DDC_SPEED@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	w0, #2
	bl	_HDMI_DDC_SPEED_THRESHOLD
	mov	x21, x0
	mov	w0, #10
	bl	_HDMI_DDC_SPEED_PRESCALE
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	bl	_hdmi_write
Lloh11:
	adrp	x8, _REG_HDMI_DDC_SETUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _REG_HDMI_DDC_SETUP@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
	mov	w0, #255
	bl	_HDMI_DDC_SETUP_TIMEOUT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_hdmi_write
Lloh14:
	adrp	x8, _REG_HDMI_DDC_REF@GOTPAGE
Lloh15:
	ldr	x8, [x8, _REG_HDMI_DDC_REF@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x8, _HDMI_DDC_REF_REFTIMER_ENABLE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _HDMI_DDC_REF_REFTIMER_ENABLE@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
	mov	w0, #27
	bl	_HDMI_DDC_REF_REFTIMER
	orr	w2, w0, w21
	mov	x0, x19
	mov	x1, x20
	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
	b	_hdmi_write
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_HDMI_DDC_CTRL,4,2          ; @REG_HDMI_DDC_CTRL
	.comm	_HDMI_DDC_CTRL_SW_STATUS_RESET,4,2 ; @HDMI_DDC_CTRL_SW_STATUS_RESET
	.comm	_HDMI_DDC_CTRL_SOFT_RESET,4,2   ; @HDMI_DDC_CTRL_SOFT_RESET
	.comm	_REG_HDMI_DDC_SPEED,4,2         ; @REG_HDMI_DDC_SPEED
	.comm	_REG_HDMI_DDC_SETUP,4,2         ; @REG_HDMI_DDC_SETUP
	.comm	_REG_HDMI_DDC_REF,4,2           ; @REG_HDMI_DDC_REF
	.comm	_HDMI_DDC_REF_REFTIMER_ENABLE,4,2 ; @HDMI_DDC_REF_REFTIMER_ENABLE
	.no_dead_strip	_init_ddc
.subsections_via_symbols
