	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setorientation
_setorientation:                        ## @setorientation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	xorl	%eax, %eax
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_23
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_7:
	movl	$-129, %ecx
	addl	4(%rdi), %ecx
	cmpl	$6, %ecx
	ja	LBB0_23
## %bb.8:
	movl	$9, %edx
	btl	%ecx, %edx
	jb	LBB0_21
## %bb.9:
	movl	$36, %edx
	btl	%ecx, %edx
	jb	LBB0_6
## %bb.10:
	movl	$80, %edx
	btl	%ecx, %edx
	jb	LBB0_11
	jmp	LBB0_23
LBB0_2:
	movl	4(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_23
## %bb.3:
	movl	$5, %edx
	btl	%ecx, %edx
	jb	LBB0_21
## %bb.4:
	movl	$72, %edx
	btl	%ecx, %edx
	jb	LBB0_11
## %bb.5:
	movl	$160, %edx
	btl	%ecx, %edx
	jb	LBB0_6
	jmp	LBB0_23
LBB0_12:
	movl	4(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$7, %ecx
	ja	LBB0_23
## %bb.13:
	movl	$5, %edx
	btl	%ecx, %edx
	jb	LBB0_6
## %bb.14:
	movl	$18, %edx
	btl	%ecx, %edx
	jb	LBB0_11
## %bb.15:
	movl	$160, %edx
	jmp	LBB0_20
LBB0_16:
	movl	4(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_23
## %bb.17:
	movl	$5, %edx
	btl	%ecx, %edx
	jb	LBB0_11
## %bb.18:
	movl	$18, %edx
	btl	%ecx, %edx
	jb	LBB0_6
## %bb.19:
	movl	$72, %edx
LBB0_20:
	btl	%ecx, %edx
	jae	LBB0_23
LBB0_21:
	movq	_FLIP_HORIZONTALLY@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_11:
	movq	_FLIP_HORIZONTALLY@GOTPCREL(%rip), %rcx
	movq	_FLIP_VERTICALLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_FLIP_VERTICALLY@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_12
	.long	L0_0_set_16
	.end_data_region
                                        ## -- End function
	.comm	_FLIP_HORIZONTALLY,4,2          ## @FLIP_HORIZONTALLY
	.comm	_FLIP_VERTICALLY,4,2            ## @FLIP_VERTICALLY
	.no_dead_strip	_setorientation
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setorientation
_setorientation:                        ; @setorientation
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	sub	w9, w9, #128
	cmp	w9, #7
	b.hi	LBB0_24
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	mov	w0, #0
	ldr	w8, [x8, #4]
	sub	w8, w8, #129
	cmp	w8, #6
	b.hi	LBB0_23
; %bb.3:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #9
	tst	w9, w10
	b.ne	LBB0_19
; %bb.4:
	mov	w10, #36
	tst	w9, w10
	b.ne	LBB0_21
; %bb.5:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #80
	tst	w8, w9
	b.ne	LBB0_20
	b	LBB0_23
LBB0_6:
	mov	w0, #0
	ldr	w8, [x8, #4]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_23
; %bb.7:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #5
	tst	w9, w10
	b.ne	LBB0_19
; %bb.8:
	mov	w10, #72
	tst	w9, w10
	b.ne	LBB0_20
; %bb.9:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #160
	tst	w8, w9
	b.ne	LBB0_21
	b	LBB0_23
LBB0_10:
	mov	w0, #0
	ldr	w8, [x8, #4]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_23
; %bb.11:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #5
	tst	w9, w10
	b.ne	LBB0_21
; %bb.12:
	mov	w10, #18
	tst	w9, w10
	b.ne	LBB0_20
; %bb.13:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #160
	b	LBB0_18
LBB0_14:
	mov	w0, #0
	ldr	w8, [x8, #4]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_23
; %bb.15:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #5
	tst	w9, w10
	b.ne	LBB0_20
; %bb.16:
	mov	w10, #18
	tst	w9, w10
	b.ne	LBB0_21
; %bb.17:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #72
LBB0_18:
	tst	w8, w9
	b.eq	LBB0_23
LBB0_19:
Lloh2:
	adrp	x8, _FLIP_HORIZONTALLY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLIP_HORIZONTALLY@GOTPAGEOFF]
	b	LBB0_22
LBB0_20:
Lloh4:
	adrp	x8, _FLIP_HORIZONTALLY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FLIP_HORIZONTALLY@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _FLIP_VERTICALLY@GOTPAGE
Lloh8:
	ldr	x9, [x9, _FLIP_VERTICALLY@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ret
LBB0_21:
Lloh10:
	adrp	x8, _FLIP_VERTICALLY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLIP_VERTICALLY@GOTPAGEOFF]
LBB0_22:
	ldr	w0, [x8]
LBB0_23:
	ret
LBB0_24:
	mov	w0, #0
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
                                        ; -- End function
	.comm	_FLIP_HORIZONTALLY,4,2          ; @FLIP_HORIZONTALLY
	.comm	_FLIP_VERTICALLY,4,2            ; @FLIP_VERTICALLY
	.no_dead_strip	_setorientation
.subsections_via_symbols
