	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_dp_init                  ## -- Begin function intel_dp_init
	.p2align	4, 0x90
_intel_dp_init:                         ## @intel_dp_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	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$48, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	(%r14), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, %r14
	addq	$44, %r14
	movq	_DRM_MODE_ENCODER_TMDS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_intel_dp_enc_funcs@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_drm_encoder_init
	movq	_intel_dp_helper_funcs@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_drm_encoder_helper_add
	movq	_intel_enable_dp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	_intel_pre_enable_dp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 36(%rbx)
	movq	_intel_disable_dp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	_intel_post_disable_dp@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_intel_dp_get_hw_state@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx)
	movl	%r15d, 4(%rbx)
	movq	_INTEL_OUTPUT_DISPLAYPORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	$7, 8(%rbx)
	movq	_intel_dp_hot_plug@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intel_dp_init_connector        ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	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	_intel_dp_enc_funcs,4,2         ## @intel_dp_enc_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ## @DRM_MODE_ENCODER_TMDS
	.comm	_intel_dp_helper_funcs,4,2      ## @intel_dp_helper_funcs
	.comm	_intel_enable_dp,4,2            ## @intel_enable_dp
	.comm	_intel_pre_enable_dp,4,2        ## @intel_pre_enable_dp
	.comm	_intel_disable_dp,4,2           ## @intel_disable_dp
	.comm	_intel_post_disable_dp,4,2      ## @intel_post_disable_dp
	.comm	_intel_dp_get_hw_state,4,2      ## @intel_dp_get_hw_state
	.comm	_INTEL_OUTPUT_DISPLAYPORT,4,2   ## @INTEL_OUTPUT_DISPLAYPORT
	.comm	_intel_dp_hot_plug,4,2          ## @intel_dp_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_dp_init
lCPI0_0:
	.long	7                               ; 0x7
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_intel_dp_init
	.p2align	2
_intel_dp_init:                         ; @intel_dp_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	x19, x2
	mov	x20, x1
	mov	x23, x0
Lloh0:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w0, #48
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w1, [x22]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x22, x0
	add	x24, x21, #44
Lloh2:
	adrp	x8, _DRM_MODE_ENCODER_TMDS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DRM_MODE_ENCODER_TMDS@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
Lloh5:
	adrp	x2, _intel_dp_enc_funcs@GOTPAGE
Lloh6:
	ldr	x2, [x2, _intel_dp_enc_funcs@GOTPAGEOFF]
	mov	x0, x23
	mov	x1, x24
	bl	_drm_encoder_init
Lloh7:
	adrp	x1, _intel_dp_helper_funcs@GOTPAGE
Lloh8:
	ldr	x1, [x1, _intel_dp_helper_funcs@GOTPAGEOFF]
	mov	x0, x24
	bl	_drm_encoder_helper_add
Lloh9:
	adrp	x8, _intel_enable_dp@GOTPAGE
Lloh10:
	ldr	x8, [x8, _intel_enable_dp@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _intel_pre_enable_dp@GOTPAGE
Lloh13:
	ldr	x9, [x9, _intel_pre_enable_dp@GOTPAGEOFF]
	str	w8, [x21, #40]
Lloh14:
	ldr	w8, [x9]
Lloh15:
	adrp	x9, _intel_disable_dp@GOTPAGE
Lloh16:
	ldr	x9, [x9, _intel_disable_dp@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #32]
Lloh18:
	adrp	x8, _intel_post_disable_dp@GOTPAGE
Lloh19:
	ldr	x8, [x8, _intel_post_disable_dp@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _intel_dp_get_hw_state@GOTPAGE
Lloh22:
	ldr	x9, [x9, _intel_dp_get_hw_state@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #24]
Lloh24:
	adrp	x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _INTEL_OUTPUT_DISPLAYPORT@GOTPAGEOFF]
	stp	w19, w20, [x21]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, lCPI0_0@PAGE
Lloh28:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
Lloh29:
	adrp	x9, _intel_dp_hot_plug@GOTPAGE
Lloh30:
	ldr	x9, [x9, _intel_dp_hot_plug@GOTPAGEOFF]
	str	d0, [x21, #8]
Lloh31:
	ldr	w9, [x9]
	stp	w9, w8, [x21, #16]
	mov	x0, x21
	mov	x1, 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	_intel_dp_init_connector
LBB0_3:
	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_4:
	mov	x0, x21
	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	Lloh29, Lloh30, Lloh31
	.loh AdrpAdrp	Lloh27, Lloh29
	.loh AdrpLdr	Lloh27, Lloh28
	.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 AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_intel_dp_enc_funcs,4,2         ; @intel_dp_enc_funcs
	.comm	_DRM_MODE_ENCODER_TMDS,4,2      ; @DRM_MODE_ENCODER_TMDS
	.comm	_intel_dp_helper_funcs,4,2      ; @intel_dp_helper_funcs
	.comm	_intel_enable_dp,4,2            ; @intel_enable_dp
	.comm	_intel_pre_enable_dp,4,2        ; @intel_pre_enable_dp
	.comm	_intel_disable_dp,4,2           ; @intel_disable_dp
	.comm	_intel_post_disable_dp,4,2      ; @intel_post_disable_dp
	.comm	_intel_dp_get_hw_state,4,2      ; @intel_dp_get_hw_state
	.comm	_INTEL_OUTPUT_DISPLAYPORT,4,2   ; @INTEL_OUTPUT_DISPLAYPORT
	.comm	_intel_dp_hot_plug,4,2          ; @intel_dp_hot_plug
.subsections_via_symbols
