	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_vp_scan_direction
_get_vp_scan_direction:                 ## @get_vp_scan_direction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$0, (%rdx)
	movl	$0, (%rcx)
	movl	$0, (%r8)
	movq	_ROTATION_ANGLE_180@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rcx, %rdx
	movq	%r8, %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_ROTATION_ANGLE_90@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	%r8, %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_ROTATION_ANGLE_270@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_6
LBB0_5:
	movl	$1, (%rdx)
	movl	$1, (%rcx)
LBB0_6:
	testl	%esi, %esi
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	cmpl	$0, (%r8)
	sete	%al
	movl	%eax, (%r8)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ROTATION_ANGLE_180,4,2         ## @ROTATION_ANGLE_180
	.comm	_ROTATION_ANGLE_90,4,2          ## @ROTATION_ANGLE_90
	.comm	_ROTATION_ANGLE_270,4,2         ## @ROTATION_ANGLE_270
	.no_dead_strip	_get_vp_scan_direction
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_vp_scan_direction
_get_vp_scan_direction:                 ; @get_vp_scan_direction
	.cfi_startproc
; %bb.0:
	str	wzr, [x2]
	str	wzr, [x3]
	str	wzr, [x4]
Lloh0:
	adrp	x8, _ROTATION_ANGLE_180@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ROTATION_ANGLE_180@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	x2, x3
	mov	x3, x4
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _ROTATION_ANGLE_90@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ROTATION_ANGLE_90@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_4
; %bb.3:
	mov	x3, x4
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _ROTATION_ANGLE_270@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ROTATION_ANGLE_270@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_6
LBB0_5:
	mov	w8, #1
	str	w8, [x2]
	str	w8, [x3]
LBB0_6:
	cbz	w1, LBB0_8
; %bb.7:
	ldr	w8, [x4]
	cmp	w8, #0
	cset	w8, eq
	str	w8, [x4]
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ROTATION_ANGLE_180,4,2         ; @ROTATION_ANGLE_180
	.comm	_ROTATION_ANGLE_90,4,2          ; @ROTATION_ANGLE_90
	.comm	_ROTATION_ANGLE_270,4,2         ; @ROTATION_ANGLE_270
	.no_dead_strip	_get_vp_scan_direction
.subsections_via_symbols
