	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rotator_dst_set_transf
_rotator_dst_set_transf:                ## @rotator_dst_set_transf
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	_ROT_CONTROL@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_rot_read
	movq	_ROT_CONTROL_FLIP_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%eax, %ecx
	movq	_DRM_MODE_REFLECT_X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	movq	_ROT_CONTROL_FLIP_VERTICAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	orl	%ecx, %eax
	movq	_DRM_MODE_REFLECT_Y@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	je	LBB0_4
## %bb.3:
	movq	_ROT_CONTROL_FLIP_HORIZONTAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_4:
	orl	%ecx, %eax
	movq	_ROT_CONTROL_ROT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_DRM_MODE_ROTATE_90@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ROT_CONTROL_ROT_90@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	movq	_DRM_MODE_ROTATE_180@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_ROT_CONTROL_ROT_180@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_DRM_MODE_ROTATE_270@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_11
## %bb.9:
	movq	_ROT_CONTROL_ROT_270@GOTPCREL(%rip), %rax
LBB0_10:
	orl	(%rax), %edi
LBB0_11:
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_rot_write                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ROT_CONTROL,4,2                ## @ROT_CONTROL
	.comm	_ROT_CONTROL_FLIP_MASK,4,2      ## @ROT_CONTROL_FLIP_MASK
	.comm	_DRM_MODE_REFLECT_X,4,2         ## @DRM_MODE_REFLECT_X
	.comm	_ROT_CONTROL_FLIP_VERTICAL,4,2  ## @ROT_CONTROL_FLIP_VERTICAL
	.comm	_DRM_MODE_REFLECT_Y,4,2         ## @DRM_MODE_REFLECT_Y
	.comm	_ROT_CONTROL_FLIP_HORIZONTAL,4,2 ## @ROT_CONTROL_FLIP_HORIZONTAL
	.comm	_ROT_CONTROL_ROT_MASK,4,2       ## @ROT_CONTROL_ROT_MASK
	.comm	_DRM_MODE_ROTATE_90,4,2         ## @DRM_MODE_ROTATE_90
	.comm	_ROT_CONTROL_ROT_90,4,2         ## @ROT_CONTROL_ROT_90
	.comm	_DRM_MODE_ROTATE_180,4,2        ## @DRM_MODE_ROTATE_180
	.comm	_ROT_CONTROL_ROT_180,4,2        ## @ROT_CONTROL_ROT_180
	.comm	_DRM_MODE_ROTATE_270,4,2        ## @DRM_MODE_ROTATE_270
	.comm	_ROT_CONTROL_ROT_270,4,2        ## @ROT_CONTROL_ROT_270
	.no_dead_strip	_rotator_dst_set_transf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rotator_dst_set_transf
_rotator_dst_set_transf:                ; @rotator_dst_set_transf
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x20, _ROT_CONTROL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ROT_CONTROL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rot_read
Lloh2:
	adrp	x8, _ROT_CONTROL_FLIP_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ROT_CONTROL_FLIP_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh5:
	adrp	x9, _DRM_MODE_REFLECT_X@GOTPAGE
Lloh6:
	ldr	x9, [x9, _DRM_MODE_REFLECT_X@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _ROT_CONTROL_FLIP_VERTICAL@GOTPAGE
Lloh9:
	ldr	x10, [x10, _ROT_CONTROL_FLIP_VERTICAL@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _DRM_MODE_REFLECT_Y@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DRM_MODE_REFLECT_Y@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	adrp	x10, _ROT_CONTROL_FLIP_HORIZONTAL@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ROT_CONTROL_FLIP_HORIZONTAL@GOTPAGEOFF]
Lloh16:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh17:
	adrp	x9, _ROT_CONTROL_ROT_MASK@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ROT_CONTROL_ROT_MASK@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	bic	w0, w8, w9
Lloh20:
	adrp	x8, _DRM_MODE_ROTATE_90@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DRM_MODE_ROTATE_90@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_2
; %bb.1:
Lloh23:
	adrp	x8, _ROT_CONTROL_ROT_90@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ROT_CONTROL_ROT_90@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
Lloh25:
	adrp	x8, _DRM_MODE_ROTATE_180@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DRM_MODE_ROTATE_180@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.3:
Lloh28:
	adrp	x8, _ROT_CONTROL_ROT_180@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ROT_CONTROL_ROT_180@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh30:
	adrp	x8, _DRM_MODE_ROTATE_270@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DRM_MODE_ROTATE_270@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_7
; %bb.5:
Lloh33:
	adrp	x8, _ROT_CONTROL_ROT_270@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ROT_CONTROL_ROT_270@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	orr	w0, w8, w0
LBB0_7:
	ldr	w1, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rot_write
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_ROT_CONTROL,4,2                ; @ROT_CONTROL
	.comm	_ROT_CONTROL_FLIP_MASK,4,2      ; @ROT_CONTROL_FLIP_MASK
	.comm	_DRM_MODE_REFLECT_X,4,2         ; @DRM_MODE_REFLECT_X
	.comm	_ROT_CONTROL_FLIP_VERTICAL,4,2  ; @ROT_CONTROL_FLIP_VERTICAL
	.comm	_DRM_MODE_REFLECT_Y,4,2         ; @DRM_MODE_REFLECT_Y
	.comm	_ROT_CONTROL_FLIP_HORIZONTAL,4,2 ; @ROT_CONTROL_FLIP_HORIZONTAL
	.comm	_ROT_CONTROL_ROT_MASK,4,2       ; @ROT_CONTROL_ROT_MASK
	.comm	_DRM_MODE_ROTATE_90,4,2         ; @DRM_MODE_ROTATE_90
	.comm	_ROT_CONTROL_ROT_90,4,2         ; @ROT_CONTROL_ROT_90
	.comm	_DRM_MODE_ROTATE_180,4,2        ; @DRM_MODE_ROTATE_180
	.comm	_ROT_CONTROL_ROT_180,4,2        ; @ROT_CONTROL_ROT_180
	.comm	_DRM_MODE_ROTATE_270,4,2        ; @DRM_MODE_ROTATE_270
	.comm	_ROT_CONTROL_ROT_270,4,2        ; @ROT_CONTROL_ROT_270
	.no_dead_strip	_rotator_dst_set_transf
.subsections_via_symbols
