	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function calc_rotation
_calc_rotation:                         ## @calc_rotation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 4(%rdi)
	movl	(%rdi), %eax
	je	LBB0_8
## %bb.1:
	cmpl	$128, %eax
	je	LBB0_2
## %bb.3:
	cmpl	$130, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.5:
	movl	$128, %eax
	popq	%rbp
	retq
LBB0_2:
	movl	$129, %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_dss_rotation_0_degree@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
LBB0_7:
	movl	$130, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dss_rotation_0_degree,4,2      ## @dss_rotation_0_degree
	.no_dead_strip	_calc_rotation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function calc_rotation
_calc_rotation:                         ; @calc_rotation
	.cfi_startproc
; %bb.0:
	ldp	w0, w8, [x0]
	cbz	w8, LBB0_6
; %bb.1:
	cmp	w0, #128
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #130
	b.eq	LBB0_5
; %bb.3:
	mov	w8, #130
	mov	w9, #128
	cmp	w0, #129
	csel	w0, w8, w9, ne
	ret
LBB0_4:
	mov	w0, #129
	ret
LBB0_5:
Lloh0:
	adrp	x8, _dss_rotation_0_degree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dss_rotation_0_degree@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_dss_rotation_0_degree,4,2      ; @dss_rotation_0_degree
	.no_dead_strip	_calc_rotation
.subsections_via_symbols
