	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sti_gdp_init
_sti_gdp_init:                          ## @sti_gdp_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rdi
	movq	_GDP_NODE_PER_FIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_GDP_NODE_NB_BANK@GOTPCREL(%rip), %r13
	imull	(%r13), %r14d
	movq	(%rdi), %r12
	shll	$2, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-44(%rbp), %rdx
	movl	%r14d, %esi
	callq	_dma_alloc_wc
	testq	%rax, %rax
	je	LBB0_14
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_memset
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.2:
	movl	-44(%rbp), %eax
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	$15, %al
	jne	LBB0_16
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%r15), %rcx
	movq	%rbx, 16(%rcx,%r14)
	movl	%eax, (%rcx,%r14)
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_DRM_DEBUG_DRIVER
	movl	-44(%rbp), %eax
	addl	$4, %eax
	movl	%eax, -44(%rbp)
	testb	$15, %al
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	40(%r15), %rcx
	leaq	4(%rbx), %rdx
	movq	%rdx, 8(%rcx,%r14)
	movl	%eax, 4(%rcx,%r14)
	leaq	L_.str.3(%rip), %rdi
	movl	%r12d, %esi
	callq	_DRM_DEBUG_DRIVER
	movl	-44(%rbp), %eax
	addl	$4, %eax
	movl	%eax, -44(%rbp)
	incq	%r12
	movl	(%r13), %ecx
	addq	$24, %r14
	addq	$8, %rbx
	cmpq	%rcx, %r12
	jb	LBB0_3
LBB0_6:
	leaq	L_.str.4(%rip), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_of_device_is_compatible
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	movl	32(%r15), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_17
## %bb.8:
	cltq
	leaq	l_switch.table.sti_gdp_init(%rip), %rcx
	movq	(%rcx,%rax,8), %rbx
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_devm_clk_get
	movq	%rax, 24(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.10(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_10:
	movq	8(%r15), %rdi
	leaq	L_.str.11(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, 16(%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.12(%rip), %rdi
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_12:
	movq	8(%r15), %rdi
	leaq	L_.str.13(%rip), %rsi
	callq	_devm_clk_get
	movq	%rax, (%r15)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	leaq	L_.str.14(%rip), %rdi
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_18
LBB0_16:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_18
LBB0_17:
	leaq	L_.str.9(%rip), %rdi
LBB0_18:
	xorl	%eax, %eax
	callq	_DRM_ERROR
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDP_NODE_PER_FIELD,4,2         ## @GDP_NODE_PER_FIELD
	.comm	_GDP_NODE_NB_BANK,4,2           ## @GDP_NODE_NB_BANK
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to allocate memory for GDP node\n"

L_.str.1:                               ## @.str.1
	.asciz	"Mem alignment failed\n"

L_.str.2:                               ## @.str.2
	.asciz	"node[%d].top_field=%p\n"

L_.str.3:                               ## @.str.3
	.asciz	"node[%d].btm_field=%p\n"

L_.str.4:                               ## @.str.4
	.asciz	"st,stih407-compositor"

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

L_.str.6:                               ## @.str.6
	.asciz	"pix_gdp2"

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

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

L_.str.9:                               ## @.str.9
	.asciz	"GDP id not recognized\n"

L_.str.10:                              ## @.str.10
	.asciz	"Cannot get %s clock\n"

L_.str.11:                              ## @.str.11
	.asciz	"main_parent"

L_.str.12:                              ## @.str.12
	.asciz	"Cannot get main_parent clock\n"

L_.str.13:                              ## @.str.13
	.asciz	"aux_parent"

L_.str.14:                              ## @.str.14
	.asciz	"Cannot get aux_parent clock\n"

	.no_dead_strip	_sti_gdp_init
	.section	__DATA,__const
	.p2align	3                               ## @switch.table.sti_gdp_init
l_switch.table.sti_gdp_init:
	.quad	L_.str.8
	.quad	L_.str.7
	.quad	L_.str.6
	.quad	L_.str.5

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sti_gdp_init
_sti_gdp_init:                          ; @sti_gdp_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x0, [x0, #8]
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _GDP_NODE_PER_FIELD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GDP_NODE_PER_FIELD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x26, _GDP_NODE_NB_BANK@GOTPAGE
Lloh4:
	ldr	x26, [x26, _GDP_NODE_NB_BANK@GOTPAGEOFF]
	ldr	w9, [x26]
	mul	w8, w8, w9
	lsl	w21, w8, #2
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x2, sp, #12
	mov	x1, x21
	bl	_dma_alloc_wc
	cbz	x0, LBB0_14
; %bb.1:
	mov	x22, x0
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldr	w8, [x26]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x27, #0
	mov	x23, #0
	ldr	w8, [sp, #12]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
Lloh10:
	adrp	x24, l_.str.2@PAGE
Lloh11:
	add	x24, x24, l_.str.2@PAGEOFF
Lloh12:
	adrp	x25, l_.str.3@PAGE
Lloh13:
	add	x25, x25, l_.str.3@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	tst	w8, #0xf
	b.ne	LBB0_16
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #40]
	add	x9, x9, x27
	str	x22, [x9, #16]
	str	w8, [x9]
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	bl	_DRM_DEBUG_DRIVER
	ldr	w8, [sp, #12]
	add	w8, w8, #4
	str	w8, [sp, #12]
	tst	w8, #0xf
	b.ne	LBB0_16
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x19, #40]
	add	x9, x9, x27
	add	x2, x22, #4
	str	x2, [x9, #8]
	str	w8, [x9, #4]
	mov	x0, x25
	mov	x1, x23
	bl	_DRM_DEBUG_DRIVER
	ldr	w8, [sp, #12]
	add	w8, w8, #4
	str	w8, [sp, #12]
	add	x23, x23, #1
	ldr	w9, [x26]
	add	x27, x27, #24
	add	x22, x22, #8
	cmp	x23, x9
	b.lo	LBB0_3
LBB0_6:
Lloh14:
	adrp	x1, l_.str.4@PAGE
Lloh15:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_of_device_is_compatible
	cbz	x0, LBB0_17
; %bb.7:
	ldr	w8, [x19, #32]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_15
; %bb.8:
Lloh16:
	adrp	x9, l_switch.table.sti_gdp_init@PAGE
Lloh17:
	add	x9, x9, l_switch.table.sti_gdp_init@PAGEOFF
	ldr	x20, [x9, w8, sxtw #3]
	ldr	x0, [x19, #8]
	mov	x1, x20
	bl	_devm_clk_get
	str	x0, [x19, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.9:
	str	x20, [sp]
Lloh18:
	adrp	x0, l_.str.10@PAGE
Lloh19:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_DRM_ERROR
LBB0_10:
	ldr	x0, [x19, #8]
Lloh20:
	adrp	x1, l_.str.11@PAGE
Lloh21:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_12
; %bb.11:
Lloh22:
	adrp	x0, l_.str.12@PAGE
Lloh23:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_DRM_ERROR
LBB0_12:
	ldr	x0, [x19, #8]
Lloh24:
	adrp	x1, l_.str.13@PAGE
Lloh25:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_devm_clk_get
	str	x0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.13:
Lloh26:
	adrp	x21, l_.str.14@PAGE
Lloh27:
	add	x21, x21, l_.str.14@PAGEOFF
	b	LBB0_16
LBB0_14:
Lloh28:
	adrp	x21, l_.str@PAGE
Lloh29:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_16
LBB0_15:
Lloh30:
	adrp	x21, l_.str.9@PAGE
Lloh31:
	add	x21, x21, l_.str.9@PAGEOFF
LBB0_16:
	mov	x0, x21
	bl	_DRM_ERROR
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_GDP_NODE_PER_FIELD,4,2         ; @GDP_NODE_PER_FIELD
	.comm	_GDP_NODE_NB_BANK,4,2           ; @GDP_NODE_NB_BANK
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to allocate memory for GDP node\n"

l_.str.1:                               ; @.str.1
	.asciz	"Mem alignment failed\n"

l_.str.2:                               ; @.str.2
	.asciz	"node[%d].top_field=%p\n"

l_.str.3:                               ; @.str.3
	.asciz	"node[%d].btm_field=%p\n"

l_.str.4:                               ; @.str.4
	.asciz	"st,stih407-compositor"

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

l_.str.6:                               ; @.str.6
	.asciz	"pix_gdp2"

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

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

l_.str.9:                               ; @.str.9
	.asciz	"GDP id not recognized\n"

l_.str.10:                              ; @.str.10
	.asciz	"Cannot get %s clock\n"

l_.str.11:                              ; @.str.11
	.asciz	"main_parent"

l_.str.12:                              ; @.str.12
	.asciz	"Cannot get main_parent clock\n"

l_.str.13:                              ; @.str.13
	.asciz	"aux_parent"

l_.str.14:                              ; @.str.14
	.asciz	"Cannot get aux_parent clock\n"

	.no_dead_strip	_sti_gdp_init
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.sti_gdp_init
l_switch.table.sti_gdp_init:
	.quad	l_.str.8
	.quad	l_.str.7
	.quad	l_.str.6
	.quad	l_.str.5

.subsections_via_symbols
