	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function komeda_compiz_validate
_komeda_compiz_validate:                ## @komeda_compiz_validate
	.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, %r14
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	(%rsi), %ecx
	movl	4(%rsi), %esi
	movl	%ecx, %edx
	callq	_komeda_component_get_state_and_set_user
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	callq	_to_compiz_st
	movq	%rax, %r12
	leaq	4(%rax), %rsi
	movq	%r13, %rdi
	movq	%rax, %rdx
	callq	_pipeline_composition_size
	leaq	36(%r14), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_komeda_component_set_output
	testq	%r14, %r14
	je	LBB0_3
## %bb.2:
	movq	(%r12), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 20(%r14)
	movq	_DRM_MODE_BLEND_PIXEL_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movl	$255, (%r14)
	movq	$0, 8(%r14)
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_BLEND_PIXEL_NONE,4,2  ## @DRM_MODE_BLEND_PIXEL_NONE
	.no_dead_strip	_komeda_compiz_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function komeda_compiz_validate
_komeda_compiz_validate:                ; @komeda_compiz_validate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	ldr	w1, [x1, #4]
	ldr	w2, [x21]
	mov	x3, x2
	bl	_komeda_component_get_state_and_set_user
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_2:
	mov	x0, x22
	bl	_to_compiz_st
	mov	x22, x0
	add	x1, x0, #4
	mov	x0, x21
	mov	x2, x22
	bl	_pipeline_composition_size
	add	x0, x19, #36
	mov	x1, x20
	mov	w2, #0
	bl	_komeda_component_set_output
	cbz	x19, LBB0_4
; %bb.3:
	add	x8, x19, #20
	ldr	d0, [x22]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x8]
Lloh0:
	adrp	x8, _DRM_MODE_BLEND_PIXEL_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_BLEND_PIXEL_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
	mov	w8, #255
	str	w8, [x19]
	str	xzr, [x19, #8]
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_BLEND_PIXEL_NONE,4,2  ; @DRM_MODE_BLEND_PIXEL_NONE
	.no_dead_strip	_komeda_compiz_validate
.subsections_via_symbols
