	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdp4_kms_init                  ## -- Begin function mdp4_kms_init
	.p2align	4, 0x90
_mdp4_kms_init:                         ## @mdp4_kms_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	%rdi, %r15
	movl	24(%rdi), %edi
	callq	_to_platform_device
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_mdp4_get_config
	movq	%rax, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$96, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	80(%rax), %rdi
	movq	_kms_funcs@GOTPCREL(%rip), %rsi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_mdp_kms_init
	movq	%r15, 72(%rbx)
	leaq	L_.str.1(%rip), %rdx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_msm_ioremap
	movq	%rax, 64(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	64(%rbx), %rdi
LBB0_3:
	callq	_PTR_ERR
	movl	%eax, %r14d
LBB0_4:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_5:
	movq	%r12, %rdi
	callq	_mdp4_destroy
	jmp	LBB0_7
LBB0_6:
	movl	24(%r15), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
LBB0_7:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_8:
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_platform_get_irq
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_13
## %bb.9:
	movl	%r14d, 80(%rbx)
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_regulator_get_exclusive
	movq	%rax, 56(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.10:
	movq	$0, 56(%rbx)
LBB0_11:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 32(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	movl	24(%r15), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	32(%rbx), %rdi
	jmp	LBB0_3
LBB0_13:
	movl	24(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
LBB0_14:
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_4
LBB0_15:
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.16:
	callq	_regulator_enable
	testl	%eax, %eax
	je	LBB0_11
## %bb.17:
	movl	%eax, %r14d
	movl	24(%r15), %edi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_14
LBB0_18:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 48(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	$0, 48(%rbx)
LBB0_20:
	cmpl	$2, (%rbx)
	jl	LBB0_23
## %bb.21:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 24(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movl	24(%r15), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	24(%rbx), %rdi
	jmp	LBB0_3
LBB0_23:
	leaq	L_.str.10(%rip), %rsi
	movq	%r12, %rdi
	callq	_devm_clk_get
	movq	%rax, 40(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movl	24(%r15), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	40(%rbx), %rdi
	jmp	LBB0_3
LBB0_25:
	movq	32(%rbx), %rdi
	movl	8(%r13), %esi
	callq	_clk_set_rate
	movq	24(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.26:
	movl	8(%r13), %esi
	callq	_clk_set_rate
LBB0_27:
	movl	24(%r15), %edi
	callq	_pm_runtime_enable
	movl	$1, 4(%rbx)
	movq	%rbx, %rdi
	callq	_mdp4_enable
	movq	_REG_MDP4_DTV_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mdp4_write
	movq	_REG_MDP4_LCDC_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mdp4_write
	movq	_REG_MDP4_DSI_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_mdp4_write
	movq	%rbx, %rdi
	callq	_mdp4_disable
	movl	$16, %edi
	callq	_mdelay
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.28:
	leaq	L_.str.12(%rip), %rdx
	movq	%r12, %rdi
	callq	_msm_gem_address_space_create
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_34
## %bb.29:
	movq	%r14, %rdi
	jmp	LBB0_3
LBB0_30:
	movl	24(%r15), %edi
	leaq	L_.str.13(%rip), %rsi
	callq	_DRM_DEV_INFO
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_31:
	movq	%rbx, %rdi
	callq	_modeset_init
	testl	%eax, %eax
	je	LBB0_35
## %bb.32:
	movl	%eax, %r14d
	movl	24(%r15), %edi
	leaq	L_.str.14(%rip), %rsi
LBB0_33:
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_5
LBB0_34:
	movq	%r14, 88(%rbx)
	movq	(%r14), %r14
	movq	(%r14), %rax
	movq	(%rax), %r13
	movq	_iommu_ports@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	*%r13
	movl	%eax, %r14d
	testl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_5
	jmp	LBB0_31
LBB0_35:
	movq	_SZ_16K@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MSM_BO_WC@GOTPCREL(%rip), %rax
	movq	_MSM_BO_SCANOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r15, %rdi
	callq	_msm_gem_new
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	16(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_37
## %bb.36:
	callq	_PTR_ERR
	movl	%eax, %r14d
	movl	24(%r15), %edi
	leaq	L_.str.15(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	$0, 16(%rbx)
	jmp	LBB0_5
LBB0_37:
	movq	88(%rbx), %rsi
	addq	$8, %rbx
	movq	%rbx, %rdx
	callq	_msm_gem_get_and_pin_iova
	testl	%eax, %eax
	je	LBB0_39
## %bb.38:
	movl	%eax, %r14d
	movl	24(%r15), %edi
	leaq	L_.str.16(%rip), %rsi
	jmp	LBB0_33
LBB0_39:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r15)
	movabsq	$8796093024256, %rax            ## imm = 0x80000000800
	movq	%rax, (%r15)
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to allocate kms\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_kms_funcs,4,2                  ## @kms_funcs
L_.str.1:                               ## @.str.1
	.asciz	"MDP4"

L_.str.2:                               ## @.str.2
	.asciz	"failed to get irq: %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"vdd"

L_.str.4:                               ## @.str.4
	.asciz	"failed to enable regulator vdd: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"core_clk"

L_.str.6:                               ## @.str.6
	.asciz	"failed to get core_clk\n"

L_.str.7:                               ## @.str.7
	.asciz	"iface_clk"

L_.str.8:                               ## @.str.8
	.asciz	"lut_clk"

L_.str.9:                               ## @.str.9
	.asciz	"failed to get lut_clk\n"

L_.str.10:                              ## @.str.10
	.asciz	"bus_clk"

L_.str.11:                              ## @.str.11
	.asciz	"failed to get axi_clk\n"

	.comm	_REG_MDP4_DTV_ENABLE,4,2        ## @REG_MDP4_DTV_ENABLE
	.comm	_REG_MDP4_LCDC_ENABLE,4,2       ## @REG_MDP4_LCDC_ENABLE
	.comm	_REG_MDP4_DSI_ENABLE,4,2        ## @REG_MDP4_DSI_ENABLE
L_.str.12:                              ## @.str.12
	.asciz	"mdp4"

	.comm	_iommu_ports,4,2                ## @iommu_ports
L_.str.13:                              ## @.str.13
	.asciz	"no iommu, fallback to phys contig buffers for scanout\n"

L_.str.14:                              ## @.str.14
	.asciz	"modeset_init failed: %d\n"

	.comm	_SZ_16K,4,2                     ## @SZ_16K
	.comm	_MSM_BO_WC,4,2                  ## @MSM_BO_WC
	.comm	_MSM_BO_SCANOUT,4,2             ## @MSM_BO_SCANOUT
L_.str.15:                              ## @.str.15
	.asciz	"could not allocate blank-cursor bo: %d\n"

L_.str.16:                              ## @.str.16
	.asciz	"could not pin blank-cursor bo: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mdp4_kms_init                  ; -- Begin function mdp4_kms_init
	.p2align	2
_mdp4_kms_init:                         ; @mdp4_kms_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x0
	ldr	w0, [x0, #24]
	bl	_to_platform_device
	mov	x22, x0
	bl	_mdp4_get_config
	mov	x23, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #96
	bl	_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x21, x0
	add	x19, x0, #80
Lloh3:
	adrp	x1, _kms_funcs@GOTPAGE
Lloh4:
	ldr	x1, [x1, _kms_funcs@GOTPAGEOFF]
	mov	x0, x19
	bl	_mdp_kms_init
	str	x20, [x21, #72]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_msm_ioremap
	str	x0, [x21, #64]
	bl	_IS_ERR
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x0, [x21, #64]
LBB0_3:
	bl	_PTR_ERR
	mov	x24, x0
LBB0_4:
	mov	x0, x19
	bl	_mdp4_destroy
	b	LBB0_6
LBB0_5:
	ldr	w0, [x20, #24]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DRM_DEV_ERROR
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_6:
	mov	x0, x24
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ERR_PTR
LBB0_7:
	mov	x0, x22
	mov	w1, #0
	bl	_platform_get_irq
	mov	x24, x0
	tbnz	w0, #31, LBB0_12
; %bb.8:
	str	w24, [x21, #80]
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_devm_regulator_get_exclusive
	str	x0, [x21, #56]
	bl	_IS_ERR
	cbz	x0, LBB0_13
; %bb.9:
	str	xzr, [x21, #56]
LBB0_10:
Lloh14:
	adrp	x1, l_.str.5@PAGE
Lloh15:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x21, #32]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.11:
	ldr	w0, [x20, #24]
Lloh16:
	adrp	x1, l_.str.6@PAGE
Lloh17:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_DRM_DEV_ERROR
	ldr	x0, [x21, #32]
	b	LBB0_3
LBB0_12:
	ldr	w0, [x20, #24]
	str	x24, [sp]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DRM_DEV_ERROR
	b	LBB0_4
LBB0_13:
	ldr	x0, [x21, #56]
	cbz	x0, LBB0_10
; %bb.14:
	bl	_regulator_enable
	cbz	w0, LBB0_10
; %bb.15:
	mov	x24, x0
	ldr	w0, [x20, #24]
	str	x24, [sp]
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_16:
	bl	_DRM_DEV_ERROR
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_4
LBB0_17:
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x21, #48]
	bl	_IS_ERR
	cbz	x0, LBB0_19
; %bb.18:
	str	xzr, [x21, #48]
LBB0_19:
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_22
; %bb.20:
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x21, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.21:
	ldr	w0, [x20, #24]
Lloh26:
	adrp	x1, l_.str.9@PAGE
Lloh27:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_DRM_DEV_ERROR
	ldr	x0, [x21, #24]
	b	LBB0_3
LBB0_22:
Lloh28:
	adrp	x1, l_.str.10@PAGE
Lloh29:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x22
	bl	_devm_clk_get
	str	x0, [x21, #40]
	bl	_IS_ERR
	cbz	x0, LBB0_24
; %bb.23:
	ldr	w0, [x20, #24]
Lloh30:
	adrp	x1, l_.str.11@PAGE
Lloh31:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_DRM_DEV_ERROR
	ldr	x0, [x21, #40]
	b	LBB0_3
LBB0_24:
	ldr	x0, [x21, #32]
	ldr	w1, [x23, #8]
	bl	_clk_set_rate
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_26
; %bb.25:
	ldr	w1, [x23, #8]
	bl	_clk_set_rate
LBB0_26:
	ldr	w0, [x20, #24]
	bl	_pm_runtime_enable
	mov	w8, #1
	str	w8, [x21, #4]
	mov	x0, x21
	bl	_mdp4_enable
Lloh32:
	adrp	x8, _REG_MDP4_DTV_ENABLE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _REG_MDP4_DTV_ENABLE@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_mdp4_write
Lloh35:
	adrp	x8, _REG_MDP4_LCDC_ENABLE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _REG_MDP4_LCDC_ENABLE@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_mdp4_write
Lloh38:
	adrp	x8, _REG_MDP4_DSI_ENABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _REG_MDP4_DSI_ENABLE@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #0
	bl	_mdp4_write
	mov	x0, x21
	bl	_mdp4_disable
	mov	w0, #16
	bl	_mdelay
	ldr	x1, [x23]
	cbz	x1, LBB0_29
; %bb.27:
Lloh41:
	adrp	x2, l_.str.12@PAGE
Lloh42:
	add	x2, x2, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_msm_gem_address_space_create
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_32
; %bb.28:
	mov	x0, x22
	b	LBB0_3
LBB0_29:
	ldr	w0, [x20, #24]
Lloh43:
	adrp	x1, l_.str.13@PAGE
Lloh44:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_DRM_DEV_INFO
LBB0_30:
	mov	x0, x21
	bl	_modeset_init
	cbz	w0, LBB0_33
; %bb.31:
	mov	x24, x0
	ldr	w0, [x20, #24]
	str	x24, [sp]
Lloh45:
	adrp	x1, l_.str.14@PAGE
Lloh46:
	add	x1, x1, l_.str.14@PAGEOFF
	b	LBB0_16
LBB0_32:
	str	x22, [x21, #88]
	ldr	x22, [x22]
	ldr	x8, [x22]
	ldr	x24, [x8]
Lloh47:
	adrp	x8, _iommu_ports@GOTPAGE
Lloh48:
	ldr	x8, [x8, _iommu_ports@GOTPAGEOFF]
Lloh49:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	blr	x24
	mov	x24, x0
	cbnz	w0, LBB0_4
	b	LBB0_30
LBB0_33:
Lloh50:
	adrp	x8, _SZ_16K@GOTPAGE
Lloh51:
	ldr	x8, [x8, _SZ_16K@GOTPAGEOFF]
Lloh52:
	adrp	x9, _MSM_BO_WC@GOTPAGE
Lloh53:
	ldr	x9, [x9, _MSM_BO_WC@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
Lloh55:
	ldr	w8, [x9]
Lloh56:
	adrp	x9, _MSM_BO_SCANOUT@GOTPAGE
Lloh57:
	ldr	x9, [x9, _MSM_BO_SCANOUT@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x20
	bl	_msm_gem_new
	str	x0, [x21, #16]
	bl	_IS_ERR
	mov	x8, x0
	ldr	x0, [x21, #16]
	cbz	x8, LBB0_35
; %bb.34:
	bl	_PTR_ERR
	mov	x24, x0
	ldr	w0, [x20, #24]
	str	x24, [sp]
Lloh59:
	adrp	x1, l_.str.15@PAGE
Lloh60:
	add	x1, x1, l_.str.15@PAGEOFF
	bl	_DRM_DEV_ERROR
	str	xzr, [x21, #16]
                                        ; kill: def $w24 killed $w24 killed $x24 def $x24
	b	LBB0_4
LBB0_35:
	ldr	x1, [x21, #88]
	add	x2, x21, #8
	bl	_msm_gem_get_and_pin_iova
	cbz	w0, LBB0_37
; %bb.36:
	mov	x24, x0
	ldr	w0, [x20, #24]
	str	x24, [sp]
Lloh61:
	adrp	x1, l_.str.16@PAGE
Lloh62:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_16
LBB0_37:
	stp	xzr, xzr, [x20, #8]
	movi.2s	v0, #8, lsl #8
	str	d0, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to allocate kms\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_kms_funcs,4,2                  ; @kms_funcs
l_.str.1:                               ; @.str.1
	.asciz	"MDP4"

l_.str.2:                               ; @.str.2
	.asciz	"failed to get irq: %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"vdd"

l_.str.4:                               ; @.str.4
	.asciz	"failed to enable regulator vdd: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"core_clk"

l_.str.6:                               ; @.str.6
	.asciz	"failed to get core_clk\n"

l_.str.7:                               ; @.str.7
	.asciz	"iface_clk"

l_.str.8:                               ; @.str.8
	.asciz	"lut_clk"

l_.str.9:                               ; @.str.9
	.asciz	"failed to get lut_clk\n"

l_.str.10:                              ; @.str.10
	.asciz	"bus_clk"

l_.str.11:                              ; @.str.11
	.asciz	"failed to get axi_clk\n"

	.comm	_REG_MDP4_DTV_ENABLE,4,2        ; @REG_MDP4_DTV_ENABLE
	.comm	_REG_MDP4_LCDC_ENABLE,4,2       ; @REG_MDP4_LCDC_ENABLE
	.comm	_REG_MDP4_DSI_ENABLE,4,2        ; @REG_MDP4_DSI_ENABLE
l_.str.12:                              ; @.str.12
	.asciz	"mdp4"

	.comm	_iommu_ports,4,2                ; @iommu_ports
l_.str.13:                              ; @.str.13
	.asciz	"no iommu, fallback to phys contig buffers for scanout\n"

l_.str.14:                              ; @.str.14
	.asciz	"modeset_init failed: %d\n"

	.comm	_SZ_16K,4,2                     ; @SZ_16K
	.comm	_MSM_BO_WC,4,2                  ; @MSM_BO_WC
	.comm	_MSM_BO_SCANOUT,4,2             ; @MSM_BO_SCANOUT
l_.str.15:                              ; @.str.15
	.asciz	"could not allocate blank-cursor bo: %d\n"

l_.str.16:                              ; @.str.16
	.asciz	"could not pin blank-cursor bo: %d\n"

.subsections_via_symbols
