	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_plane_setup_opacity
_tegra_plane_setup_opacity:             ## @tegra_plane_setup_opacity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	(%rsi), %edi
	movl	%edi, %ecx
	andl	$-4, %ecx
	xorl	%r14d, %r14d
	movl	$0, %eax
	cmpl	$128, %ecx
	je	LBB0_4
## %bb.1:
	leaq	-20(%rbp), %rsi
	callq	_tegra_plane_format_get_alpha
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movl	-20(%rbp), %eax
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_4:
	movl	%eax, 4(%rbx)
	jmp	LBB0_5
LBB0_2:
	movl	%eax, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_tegra_plane_setup_opacity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_plane_setup_opacity
_tegra_plane_setup_opacity:             ; @tegra_plane_setup_opacity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	ldr	w0, [x1]
	and	w8, w0, #0xfffffffc
	cmp	w8, #128
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
	add	x1, sp, #12
	bl	_tegra_plane_format_get_alpha
	tbnz	w0, #31, LBB0_5
; %bb.3:
	ldr	w8, [sp, #12]
	str	w8, [x19]
	mov	w8, #1
LBB0_4:
	mov	w0, #0
	str	w8, [x19, #4]
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_tegra_plane_setup_opacity
.subsections_via_symbols
