	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_build_layer_data_flow   ## -- Begin function komeda_build_layer_data_flow
	.p2align	4, 0x90
_komeda_build_layer_data_flow:          ## @komeda_build_layer_data_flow
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	(%rsi), %r12
	movq	8(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %esi
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movl	36(%rbx), %r8d
	movl	32(%rbx), %r9d
	movl	28(%rbx), %eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	24(%rbx), %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	20(%rbx), %r11d
	movl	16(%rbx), %r14d
	movl	8(%rbx), %eax
	movl	12(%rbx), %r10d
	leaq	L_.str(%rip), %rdi
	pushq	%rax
	pushq	%r10
	pushq	%r14
	pushq	%r11
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_DRM_DEBUG_ATOMIC
	addq	$48, %rsp
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_komeda_layer_validate
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_komeda_scaler_validate
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	cmpq	$0, (%rbx)
	je	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_merger_is_available
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jne	LBB0_4
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_komeda_compiz_set_input        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s handling [PLANE:%d:%s]: src[x/y:%d/%d, w/h:%d/%d] disp[x/y:%d/%d, w/h:%d/%d]"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_komeda_build_layer_data_flow   ; -- Begin function komeda_build_layer_data_flow
	.p2align	2
_komeda_build_layer_data_flow:          ; @komeda_build_layer_data_flow
	.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	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x24, x0
	ldr	x22, [x1]
	ldr	x21, [x0, #8]
	ldr	w1, [x0]
	ldp	w3, w2, [x22]
	ldp	w5, w4, [x19, #32]
	ldp	w7, w6, [x19, #24]
	ldp	w9, w8, [x19, #16]
	ldp	w11, w10, [x19, #8]
	stp	w10, w11, [sp, #8]
	stp	w8, w9, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DRM_DEBUG_ATOMIC
	mov	x0, x24
	mov	x1, x23
	mov	x2, x19
	bl	_komeda_layer_validate
	cbnz	w0, LBB0_5
; %bb.1:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_komeda_scaler_validate
	cbnz	w0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.3:
	mov	x0, x21
	mov	x1, x19
	bl	_merger_is_available
	cbz	x0, LBB0_6
; %bb.4:
	mov	w0, #0
LBB0_5:
	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
LBB0_6:
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, 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
	b	_komeda_compiz_set_input
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s handling [PLANE:%d:%s]: src[x/y:%d/%d, w/h:%d/%d] disp[x/y:%d/%d, w/h:%d/%d]"

.subsections_via_symbols
