	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_plane_install_properties  ## -- Begin function omap_plane_install_properties
	.p2align	4, 0x90
_omap_plane_install_properties:         ## @omap_plane_install_properties
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %r15
	cmpq	$0, 8(%r15)
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.2:
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRM_MODE_ROTATE_90@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	orl	%esi, %edx
	movq	_DRM_MODE_ROTATE_180@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DRM_MODE_ROTATE_270@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_drm_plane_create_rotation_property
	movq	(%rbx), %rsi
LBB0_3:
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.4:
	addq	$8, %rbx
	cmpq	%r14, %rbx
	je	LBB0_6
## %bb.5:
	movq	_DRM_MODE_ROTATE_0@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_drm_object_attach_property
LBB0_6:
	movq	(%r15), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_drm_object_attach_property     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ## @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_90,4,2         ## @DRM_MODE_ROTATE_90
	.comm	_DRM_MODE_ROTATE_180,4,2        ## @DRM_MODE_ROTATE_180
	.comm	_DRM_MODE_ROTATE_270,4,2        ## @DRM_MODE_ROTATE_270
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap_plane_install_properties  ; -- Begin function omap_plane_install_properties
	.p2align	2
_omap_plane_install_properties:         ; @omap_plane_install_properties
	.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, x1
	ldr	x8, [x0, #16]
	ldr	x21, [x8]
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x20, x0
	ldr	x1, [x0]
	cbnz	x1, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DRM_MODE_ROTATE_90@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRM_MODE_ROTATE_90@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w1
Lloh6:
	adrp	x9, _DRM_MODE_ROTATE_180@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DRM_MODE_ROTATE_180@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _DRM_MODE_ROTATE_270@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DRM_MODE_ROTATE_270@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh12:
	adrp	x9, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh13:
	ldr	x9, [x9, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh16:
	ldr	x9, [x9, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x20
	bl	_drm_plane_create_rotation_property
	ldr	x1, [x20]
LBB0_3:
	add	x8, x20, #8
	cmp	x1, #0
	ccmp	x8, x19, #4, ne
	b.eq	LBB0_5
; %bb.4:
Lloh18:
	adrp	x8, _DRM_MODE_ROTATE_0@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DRM_MODE_ROTATE_0@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_drm_object_attach_property
LBB0_5:
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #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
	b	_drm_object_attach_property
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_DRM_MODE_ROTATE_0,4,2          ; @DRM_MODE_ROTATE_0
	.comm	_DRM_MODE_ROTATE_90,4,2         ; @DRM_MODE_ROTATE_90
	.comm	_DRM_MODE_ROTATE_180,4,2        ; @DRM_MODE_ROTATE_180
	.comm	_DRM_MODE_ROTATE_270,4,2        ; @DRM_MODE_ROTATE_270
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
.subsections_via_symbols
