	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_rot_to_dss_rot
_v4l2_rot_to_dss_rot:                   ## @v4l2_rot_to_dss_rot
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$179, %edi
	jg	LBB0_5
## %bb.1:
	testl	%edi, %edi
	je	LBB0_8
## %bb.2:
	cmpl	$90, %edi
	jne	LBB0_9
## %bb.3:
	movq	_dss_rotation_90_degree@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_5:
	cmpl	$180, %edi
	je	LBB0_11
## %bb.6:
	cmpl	$270, %edi                      ## imm = 0x10E
	jne	LBB0_9
## %bb.7:
	movq	_dss_rotation_270_degree@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_8:
	movq	_dss_rotation_0_degree@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_11:
	movq	_dss_rotation_180_degree@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dss_rotation_90_degree,4,2     ## @dss_rotation_90_degree
	.comm	_dss_rotation_180_degree,4,2    ## @dss_rotation_180_degree
	.comm	_dss_rotation_270_degree,4,2    ## @dss_rotation_270_degree
	.comm	_dss_rotation_0_degree,4,2      ## @dss_rotation_0_degree
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_v4l2_rot_to_dss_rot
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_rot_to_dss_rot
_v4l2_rot_to_dss_rot:                   ; @v4l2_rot_to_dss_rot
	.cfi_startproc
; %bb.0:
	cmp	w0, #179
	b.gt	LBB0_4
; %bb.1:
	cbz	w0, LBB0_8
; %bb.2:
	cmp	w0, #90
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x8, _dss_rotation_90_degree@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dss_rotation_90_degree@GOTPAGEOFF]
	b	LBB0_10
LBB0_4:
	cmp	w0, #180
	b.eq	LBB0_9
; %bb.5:
	cmp	w0, #270
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
Lloh2:
	adrp	x8, _dss_rotation_270_degree@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dss_rotation_270_degree@GOTPAGEOFF]
	b	LBB0_10
LBB0_7:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_8:
Lloh7:
	adrp	x8, _dss_rotation_0_degree@GOTPAGE
Lloh8:
	ldr	x8, [x8, _dss_rotation_0_degree@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
	mov	w0, #0
Lloh9:
	adrp	x8, _dss_rotation_180_degree@GOTPAGE
Lloh10:
	ldr	x8, [x8, _dss_rotation_180_degree@GOTPAGEOFF]
LBB0_10:
	ldr	w8, [x8]
	str	w8, [x1]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_dss_rotation_90_degree,4,2     ; @dss_rotation_90_degree
	.comm	_dss_rotation_180_degree,4,2    ; @dss_rotation_180_degree
	.comm	_dss_rotation_270_degree,4,2    ; @dss_rotation_270_degree
	.comm	_dss_rotation_0_degree,4,2      ; @dss_rotation_0_degree
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_v4l2_rot_to_dss_rot
.subsections_via_symbols
