	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_du_plane_hwmask
_rcar_du_plane_hwmask:                  ## @rcar_du_plane_hwmask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edx
	cmpl	$-1, %edx
	je	LBB0_1
## %bb.2:
	leal	1(%rdx), %ecx
	andb	$7, %cl
	movl	$1, %esi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %esi
	movq	8(%rdi), %rcx
	xorl	%eax, %eax
	cmpl	$2, (%rcx)
	cmovel	%esi, %eax
	btsl	%edx, %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rcar_du_plane_hwmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_du_plane_hwmask
_rcar_du_plane_hwmask:                  ; @rcar_du_plane_hwmask
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	mov	w9, #1
	lsl	w10, w9, w8
	ldr	x11, [x0, #8]
	ldr	w11, [x11]
	add	w8, w8, #1
	and	w8, w8, #0x7
	lsl	w8, w9, w8
	cmp	w11, #2
	csel	w8, w8, wzr, eq
	orr	w0, w8, w10
	ret
LBB0_2:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rcar_du_plane_hwmask
.subsections_via_symbols
