	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_ddi_init                 ## -- Begin function intel_ddi_init
	.p2align	4, 0x90
_intel_ddi_init:                        ## @intel_ddi_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
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %rbx
	movl	(%r14), %esi
	movl	$64, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_PORT_A@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_6
## %bb.3:
	xorl	%r12d, %r12d
	jmp	LBB0_4
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	(%r14), %esi
	movl	$64, %edi
	callq	_kzalloc
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:
	movq	%rbx, %r14
	addq	$60, %r14
	movq	_DRM_MODE_ENCODER_TMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_intel_ddi_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_drm_encoder_init
	movq	_intel_ddi_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_encoder_helper_add
	movq	_intel_enable_ddi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	movq	_intel_ddi_pre_enable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 52(%rbx)
	movq	_intel_disable_ddi@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movq	_intel_ddi_post_disable@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 44(%rbx)
	movq	_intel_ddi_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movl	%r15d, (%rbx)
	movl	%r15d, %edi
	callq	_DDI_BUF_CTL
	movq	%rax, %rdi
	callq	_I915_READ
	movq	_DDI_BUF_PORT_REVERSAL@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, 4(%rbx)
	testq	%r12, %r12
	je	LBB0_5
## %bb.9:
	movl	%r15d, %edi
	callq	_DDI_BUF_CTL
	jmp	LBB0_10
LBB0_5:
	xorl	%eax, %eax
LBB0_10:
	movq	%rax, 16(%rbx)
	movl	%r15d, %edi
	callq	_DDI_BUF_CTL
	movq	%rax, 8(%rbx)
	movq	_INTEL_OUTPUT_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	$7, 24(%rbx)
	movq	_intel_ddi_hot_plug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_intel_hdmi_init_connector
LBB0_12:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_dp_init_connector        ## TAILCALL
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_8:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_PORT_A,4,2                     ## @PORT_A
	.comm	_intel_ddi_funcs,4,2            ## @intel_ddi_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ## @DRM_MODE_ENCODER_TMDS
	.comm	_intel_ddi_helper_funcs,4,2     ## @intel_ddi_helper_funcs
	.comm	_intel_enable_ddi,4,2           ## @intel_enable_ddi
	.comm	_intel_ddi_pre_enable,4,2       ## @intel_ddi_pre_enable
	.comm	_intel_disable_ddi,4,2          ## @intel_disable_ddi
	.comm	_intel_ddi_post_disable,4,2     ## @intel_ddi_post_disable
	.comm	_intel_ddi_get_hw_state,4,2     ## @intel_ddi_get_hw_state
	.comm	_DDI_BUF_PORT_REVERSAL,4,2      ## @DDI_BUF_PORT_REVERSAL
	.comm	_INTEL_OUTPUT_UNKNOWN,4,2       ## @INTEL_OUTPUT_UNKNOWN
	.comm	_intel_ddi_hot_plug,4,2         ## @intel_ddi_hot_plug
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function intel_ddi_init
lCPI0_0:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_intel_ddi_init
	.p2align	2
_intel_ddi_init:                        ; @intel_ddi_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, x1
	mov	x23, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	ldr	w1, [x22]
	mov	w0, #64
	bl	_kzalloc
	cbz	x0, LBB0_13
; %bb.2:
	mov	x20, x0
Lloh2:
	adrp	x8, _PORT_A@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_A@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.3:
	mov	x22, #0
	b	LBB0_6
LBB0_4:
	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
LBB0_5:
	ldr	w1, [x22]
	mov	w0, #64
	bl	_kzalloc
	mov	x22, x0
	cbz	x0, LBB0_12
LBB0_6:
	add	x24, x19, #60
Lloh5:
	adrp	x8, _DRM_MODE_ENCODER_TMDS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRM_MODE_ENCODER_TMDS@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x2, _intel_ddi_funcs@GOTPAGE
Lloh9:
	ldr	x2, [x2, _intel_ddi_funcs@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x24
	bl	_drm_encoder_init
Lloh10:
	adrp	x1, _intel_ddi_helper_funcs@GOTPAGE
Lloh11:
	ldr	x1, [x1, _intel_ddi_helper_funcs@GOTPAGEOFF]
	mov	x0, x24
	bl	_drm_encoder_helper_add
Lloh12:
	adrp	x8, _intel_enable_ddi@GOTPAGE
Lloh13:
	ldr	x8, [x8, _intel_enable_ddi@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #56]
Lloh15:
	adrp	x8, _intel_ddi_pre_enable@GOTPAGE
Lloh16:
	ldr	x8, [x8, _intel_ddi_pre_enable@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _intel_disable_ddi@GOTPAGE
Lloh19:
	ldr	x9, [x9, _intel_disable_ddi@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
Lloh21:
	adrp	x8, _intel_ddi_post_disable@GOTPAGE
Lloh22:
	ldr	x8, [x8, _intel_ddi_post_disable@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _intel_ddi_get_hw_state@GOTPAGE
Lloh25:
	ldr	x9, [x9, _intel_ddi_get_hw_state@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	str	w21, [x19]
	mov	x0, x21
	bl	_DDI_BUF_CTL
	bl	_I915_READ
Lloh27:
	adrp	x8, _DDI_BUF_PORT_REVERSAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DDI_BUF_PORT_REVERSAL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	and	w8, w8, w0
	str	w8, [x19, #4]
	cbz	x22, LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_DDI_BUF_CTL
	b	LBB0_9
LBB0_8:
	mov	x0, #0
LBB0_9:
	str	x0, [x19, #16]
	mov	x0, x21
	bl	_DDI_BUF_CTL
	str	x0, [x19, #8]
Lloh30:
	adrp	x8, _INTEL_OUTPUT_UNKNOWN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _INTEL_OUTPUT_UNKNOWN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, lCPI0_0@PAGE
Lloh34:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [x19, #24]
Lloh35:
	adrp	x9, _intel_ddi_hot_plug@GOTPAGE
Lloh36:
	ldr	x9, [x9, _intel_ddi_hot_plug@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #32]
	cbz	x22, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x22
	bl	_intel_hdmi_init_connector
LBB0_11:
	mov	x0, x19
	mov	x1, 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
	b	_intel_dp_init_connector
LBB0_12:
	mov	x0, x20
	bl	_kfree
LBB0_13:
	mov	x0, x19
	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	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdrp	Lloh33, Lloh35
	.loh AdrpLdr	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_PORT_A,4,2                     ; @PORT_A
	.comm	_intel_ddi_funcs,4,2            ; @intel_ddi_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ; @DRM_MODE_ENCODER_TMDS
	.comm	_intel_ddi_helper_funcs,4,2     ; @intel_ddi_helper_funcs
	.comm	_intel_enable_ddi,4,2           ; @intel_enable_ddi
	.comm	_intel_ddi_pre_enable,4,2       ; @intel_ddi_pre_enable
	.comm	_intel_disable_ddi,4,2          ; @intel_disable_ddi
	.comm	_intel_ddi_post_disable,4,2     ; @intel_ddi_post_disable
	.comm	_intel_ddi_get_hw_state,4,2     ; @intel_ddi_get_hw_state
	.comm	_DDI_BUF_PORT_REVERSAL,4,2      ; @DDI_BUF_PORT_REVERSAL
	.comm	_INTEL_OUTPUT_UNKNOWN,4,2       ; @INTEL_OUTPUT_UNKNOWN
	.comm	_intel_ddi_hot_plug,4,2         ; @intel_ddi_hot_plug
.subsections_via_symbols
