	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mixer_bind
_mixer_bind:                            ## @mixer_bind
	.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	%rdx, %r15
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r13
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_mixer_initialize
	testl	%eax, %eax
	jne	LBB0_10
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_MIXER_WIN_NR@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	%r13, %r12
	addq	$16, %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rsi
	addq	%r14, %rsi
	movq	_plane_configs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	addq	%r14, %rcx
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_exynos_plane_init
	testl	%eax, %eax
	jne	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movq	_MIXER_WIN_NR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$4, %r14
	cmpq	%rax, %rbx
	jae	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_VP_DEFAULT_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %rbx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_MXR_BIT_VP_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_7:
	movq	_DEFAULT_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	8(%r13), %rsi
	movq	_EXYNOS_DISPLAY_TYPE_HDMI@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mixer_crtc_ops@GOTPCREL(%rip), %rcx
	movq	%r15, %rdi
	movq	%r13, %r8
	callq	_exynos_drm_crtc_create
	movl	%eax, (%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%r13, %rdi
	callq	_mixer_ctx_remove
	movl	(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_devm_kfree
	movl	%ebx, %eax
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIXER_WIN_NR,4,2               ## @MIXER_WIN_NR
	.comm	_VP_DEFAULT_WIN,4,2             ## @VP_DEFAULT_WIN
	.comm	_MXR_BIT_VP_ENABLED,4,2         ## @MXR_BIT_VP_ENABLED
	.comm	_plane_configs,8,3              ## @plane_configs
	.comm	_DEFAULT_WIN,8,3                ## @DEFAULT_WIN
	.comm	_EXYNOS_DISPLAY_TYPE_HDMI,4,2   ## @EXYNOS_DISPLAY_TYPE_HDMI
	.comm	_mixer_crtc_ops,4,2             ## @mixer_crtc_ops
	.no_dead_strip	_mixer_bind
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mixer_bind
_mixer_bind:                            ; @mixer_bind
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x19, x0
	bl	_dev_get_drvdata
	mov	x20, x0
	mov	x1, x21
	bl	_mixer_initialize
	cbnz	w0, LBB0_9
; %bb.1:
Lloh0:
	adrp	x24, _MIXER_WIN_NR@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MIXER_WIN_NR@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	w8, LBB0_7
; %bb.2:
	mov	x25, #0
	mov	x22, #0
	add	x23, x20, #16
Lloh2:
	adrp	x26, _VP_DEFAULT_WIN@GOTPAGE
Lloh3:
	ldr	x26, [x26, _VP_DEFAULT_WIN@GOTPAGEOFF]
Lloh4:
	adrp	x27, _MXR_BIT_VP_ENABLED@GOTPAGE
Lloh5:
	ldr	x27, [x27, _MXR_BIT_VP_ENABLED@GOTPAGEOFF]
Lloh6:
	adrp	x28, _plane_configs@GOTPAGE
Lloh7:
	ldr	x28, [x28, _plane_configs@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20, #8]
	add	x1, x8, x25
	ldr	x8, [x28]
	add	x3, x8, x25
	mov	x0, x21
	mov	x2, x22
	bl	_exynos_plane_init
	cbnz	w0, LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	ldr	w8, [x24]
	add	x25, x25, #4
	cmp	x22, x8
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x26]
	cmp	x22, x8
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	mov	x1, x23
	bl	_test_bit
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_7:
Lloh8:
	adrp	x8, _DEFAULT_WIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DEFAULT_WIN@GOTPAGEOFF]
	ldr	x9, [x20, #8]
Lloh10:
	ldr	x8, [x8]
	add	x1, x9, x8, lsl #2
Lloh11:
	adrp	x8, _EXYNOS_DISPLAY_TYPE_HDMI@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXYNOS_DISPLAY_TYPE_HDMI@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x3, _mixer_crtc_ops@GOTPAGE
Lloh15:
	ldr	x3, [x3, _mixer_crtc_ops@GOTPAGEOFF]
	mov	x0, x21
	mov	x4, x20
	bl	_exynos_drm_crtc_create
	str	w0, [x20]
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_mixer_ctx_remove
	ldr	w0, [x20]
	bl	_PTR_ERR
	mov	x21, x0
	mov	x0, x19
	mov	x1, x20
	bl	_devm_kfree
	mov	x0, x21
LBB0_9:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MIXER_WIN_NR,4,2               ; @MIXER_WIN_NR
	.comm	_VP_DEFAULT_WIN,4,2             ; @VP_DEFAULT_WIN
	.comm	_MXR_BIT_VP_ENABLED,4,2         ; @MXR_BIT_VP_ENABLED
	.comm	_plane_configs,8,3              ; @plane_configs
	.comm	_DEFAULT_WIN,8,3                ; @DEFAULT_WIN
	.comm	_EXYNOS_DISPLAY_TYPE_HDMI,4,2   ; @EXYNOS_DISPLAY_TYPE_HDMI
	.comm	_mixer_crtc_ops,4,2             ; @mixer_crtc_ops
	.no_dead_strip	_mixer_bind
.subsections_via_symbols
