	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_eac_in
_prepare_eac_in:                        ## @prepare_eac_in
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	cmpq	$0, 24(%rax)
	movq	16(%rax), %r8
	je	LBB0_2
## %bb.1:
	testq	%r8, %r8
	movq	_TOP_LEFT@GOTPCREL(%rip), %r11
	movq	_BOTTOM_LEFT@GOTPCREL(%rip), %r9
	movq	%r9, %rdi
	cmoveq	%r11, %rdi
	movq	_TOP_RIGHT@GOTPCREL(%rip), %rsi
	movq	_BOTTOM_RIGHT@GOTPCREL(%rip), %r10
	jmp	LBB0_3
LBB0_2:
	testq	%r8, %r8
	movq	_TOP_RIGHT@GOTPCREL(%rip), %r11
	movq	_BOTTOM_RIGHT@GOTPCREL(%rip), %r9
	movq	%r9, %rdi
	cmoveq	%r11, %rdi
	movq	_TOP_LEFT@GOTPCREL(%rip), %rsi
	movq	_BOTTOM_LEFT@GOTPCREL(%rip), %r10
LBB0_3:
	movq	%r10, %rdx
	cmoveq	%rsi, %rdx
	cmoveq	%r9, %r11
	cmoveq	%r10, %rsi
	testq	%r8, %r8
	movq	(%rdi), %r8
	movq	(%rax), %rdi
	movq	_RIGHT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%r8, (%rdi,%rcx,8)
	movq	(%rdx), %rcx
	movq	_LEFT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdi,%rdx,8)
	movq	(%r11), %rcx
	movq	_UP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdi,%rdx,8)
	movq	(%rsi), %rcx
	movq	_DOWN@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdi,%rdx,8)
	movq	_TOP_MIDDLE@GOTPCREL(%rip), %r9
	movq	_BOTTOM_MIDDLE@GOTPCREL(%rip), %r8
	movq	%r8, %rcx
	cmoveq	%r9, %rcx
	movq	(%rcx), %rcx
	movq	_FRONT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdi,%rdx,8)
	movq	%r9, %rcx
	cmoveq	%r8, %rcx
	movq	(%rcx), %rcx
	movq	_BACK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rdi,%rdx,8)
	cmpq	$0, 16(%rax)
	je	LBB0_5
## %bb.4:
	movq	_ROT_0@GOTPCREL(%rip), %rsi
	movq	_ROT_90@GOTPCREL(%rip), %r11
	movq	_ROT_270@GOTPCREL(%rip), %rcx
	movq	%rsi, %r10
	jmp	LBB0_6
LBB0_5:
	movq	_ROT_90@GOTPCREL(%rip), %r10
	movq	_ROT_270@GOTPCREL(%rip), %rsi
	movq	_ROT_0@GOTPCREL(%rip), %rcx
	movq	%rcx, %r11
LBB0_6:
	movq	(%rcx), %rdi
	movq	8(%rax), %rdx
	movq	_TOP_LEFT@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movq	%rdi, (%rdx,%rbx,8)
	movq	(%r11), %rdx
	movq	8(%rax), %rdi
	movq	(%r9), %rbx
	movq	%rdx, (%rdi,%rbx,8)
	movq	(%rcx), %rcx
	movq	8(%rax), %rdx
	movq	_TOP_RIGHT@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	%rcx, (%rdx,%rdi,8)
	movq	(%rsi), %rcx
	movq	8(%rax), %rdx
	movq	_BOTTOM_LEFT@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	%rcx, (%rdx,%rdi,8)
	movq	(%r10), %rcx
	movq	8(%rax), %rdx
	movq	(%r8), %rdi
	movq	%rcx, (%rdx,%rdi,8)
	movq	(%rsi), %rcx
	movq	8(%rax), %rax
	movq	_BOTTOM_RIGHT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rcx, (%rax,%rdx,8)
	xorl	%eax, %eax
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BOTTOM_LEFT,8,3                ## @BOTTOM_LEFT
	.comm	_RIGHT,8,3                      ## @RIGHT
	.comm	_BOTTOM_RIGHT,8,3               ## @BOTTOM_RIGHT
	.comm	_LEFT,8,3                       ## @LEFT
	.comm	_TOP_LEFT,8,3                   ## @TOP_LEFT
	.comm	_UP,8,3                         ## @UP
	.comm	_TOP_RIGHT,8,3                  ## @TOP_RIGHT
	.comm	_DOWN,8,3                       ## @DOWN
	.comm	_BOTTOM_MIDDLE,8,3              ## @BOTTOM_MIDDLE
	.comm	_FRONT,8,3                      ## @FRONT
	.comm	_TOP_MIDDLE,8,3                 ## @TOP_MIDDLE
	.comm	_BACK,8,3                       ## @BACK
	.comm	_ROT_270,8,3                    ## @ROT_270
	.comm	_ROT_90,8,3                     ## @ROT_90
	.comm	_ROT_0,8,3                      ## @ROT_0
	.no_dead_strip	_prepare_eac_in
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_eac_in
_prepare_eac_in:                        ; @prepare_eac_in
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldp	x13, x14, [x8, #16]
Lloh0:
	adrp	x12, _TOP_LEFT@GOTPAGE
Lloh1:
	ldr	x12, [x12, _TOP_LEFT@GOTPAGEOFF]
Lloh2:
	adrp	x11, _TOP_RIGHT@GOTPAGE
Lloh3:
	ldr	x11, [x11, _TOP_RIGHT@GOTPAGEOFF]
Lloh4:
	adrp	x10, _BOTTOM_LEFT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _BOTTOM_LEFT@GOTPAGEOFF]
Lloh6:
	adrp	x9, _BOTTOM_RIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BOTTOM_RIGHT@GOTPAGEOFF]
	cmp	x13, #0
	cbz	x14, LBB0_2
; %bb.1:
	csel	x17, x12, x10, eq
	csel	x14, x11, x9, eq
	csel	x15, x10, x12, eq
	csel	x16, x9, x11, eq
	b	LBB0_3
LBB0_2:
	csel	x17, x11, x9, eq
	csel	x14, x12, x10, eq
	csel	x15, x9, x11, eq
	csel	x16, x10, x12, eq
LBB0_3:
	ldr	x17, [x17]
Lloh8:
	adrp	x0, _RIGHT@GOTPAGE
Lloh9:
	ldr	x0, [x0, _RIGHT@GOTPAGEOFF]
	ldr	x1, [x8]
Lloh10:
	ldr	x0, [x0]
	str	x17, [x1, x0, lsl #3]
Lloh11:
	adrp	x17, _LEFT@GOTPAGE
Lloh12:
	ldr	x17, [x17, _LEFT@GOTPAGEOFF]
	ldr	x14, [x14]
Lloh13:
	ldr	x17, [x17]
	str	x14, [x1, x17, lsl #3]
Lloh14:
	adrp	x14, _UP@GOTPAGE
Lloh15:
	ldr	x14, [x14, _UP@GOTPAGEOFF]
	ldr	x15, [x15]
Lloh16:
	ldr	x14, [x14]
	str	x15, [x1, x14, lsl #3]
Lloh17:
	adrp	x14, _DOWN@GOTPAGE
Lloh18:
	ldr	x14, [x14, _DOWN@GOTPAGEOFF]
	ldr	x15, [x16]
Lloh19:
	ldr	x14, [x14]
	str	x15, [x1, x14, lsl #3]
Lloh20:
	adrp	x15, _TOP_MIDDLE@GOTPAGE
Lloh21:
	ldr	x15, [x15, _TOP_MIDDLE@GOTPAGEOFF]
Lloh22:
	adrp	x14, _BOTTOM_MIDDLE@GOTPAGE
Lloh23:
	ldr	x14, [x14, _BOTTOM_MIDDLE@GOTPAGEOFF]
	cmp	x13, #0
	csel	x13, x15, x14, eq
Lloh24:
	adrp	x16, _FRONT@GOTPAGE
Lloh25:
	ldr	x16, [x16, _FRONT@GOTPAGEOFF]
	ldr	x13, [x13]
Lloh26:
	ldr	x16, [x16]
	str	x13, [x1, x16, lsl #3]
	csel	x13, x14, x15, eq
	ldr	x13, [x13]
Lloh27:
	adrp	x16, _BACK@GOTPAGE
Lloh28:
	ldr	x16, [x16, _BACK@GOTPAGEOFF]
Lloh29:
	ldr	x16, [x16]
	str	x13, [x1, x16, lsl #3]
	ldr	x13, [x8, #16]
	cbz	x13, LBB0_5
; %bb.4:
Lloh30:
	adrp	x13, _ROT_0@GOTPAGE
Lloh31:
	ldr	x13, [x13, _ROT_0@GOTPAGEOFF]
Lloh32:
	adrp	x0, _ROT_90@GOTPAGE
Lloh33:
	ldr	x0, [x0, _ROT_90@GOTPAGEOFF]
Lloh34:
	adrp	x17, _ROT_270@GOTPAGE
Lloh35:
	ldr	x17, [x17, _ROT_270@GOTPAGEOFF]
	mov	x16, x13
	b	LBB0_6
LBB0_5:
Lloh36:
	adrp	x16, _ROT_90@GOTPAGE
Lloh37:
	ldr	x16, [x16, _ROT_90@GOTPAGEOFF]
Lloh38:
	adrp	x13, _ROT_270@GOTPAGE
Lloh39:
	ldr	x13, [x13, _ROT_270@GOTPAGEOFF]
Lloh40:
	adrp	x17, _ROT_0@GOTPAGE
Lloh41:
	ldr	x17, [x17, _ROT_0@GOTPAGEOFF]
	mov	x0, x17
LBB0_6:
	ldr	x1, [x17]
	ldr	x2, [x8, #8]
	ldr	x12, [x12]
	str	x1, [x2, x12, lsl #3]
	ldr	x12, [x0]
	ldr	x0, [x8, #8]
	ldr	x15, [x15]
	str	x12, [x0, x15, lsl #3]
	ldr	x12, [x17]
	ldr	x15, [x8, #8]
	ldr	x11, [x11]
	str	x12, [x15, x11, lsl #3]
	ldr	x11, [x13]
	ldr	x12, [x8, #8]
	ldr	x10, [x10]
	str	x11, [x12, x10, lsl #3]
	ldr	x10, [x16]
	ldr	x11, [x8, #8]
	ldr	x12, [x14]
	str	x10, [x11, x12, lsl #3]
	ldr	x10, [x13]
	ldr	x8, [x8, #8]
	ldr	x9, [x9]
	str	x10, [x8, x9, lsl #3]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_BOTTOM_LEFT,8,3                ; @BOTTOM_LEFT
	.comm	_RIGHT,8,3                      ; @RIGHT
	.comm	_BOTTOM_RIGHT,8,3               ; @BOTTOM_RIGHT
	.comm	_LEFT,8,3                       ; @LEFT
	.comm	_TOP_LEFT,8,3                   ; @TOP_LEFT
	.comm	_UP,8,3                         ; @UP
	.comm	_TOP_RIGHT,8,3                  ; @TOP_RIGHT
	.comm	_DOWN,8,3                       ; @DOWN
	.comm	_BOTTOM_MIDDLE,8,3              ; @BOTTOM_MIDDLE
	.comm	_FRONT,8,3                      ; @FRONT
	.comm	_TOP_MIDDLE,8,3                 ; @TOP_MIDDLE
	.comm	_BACK,8,3                       ; @BACK
	.comm	_ROT_270,8,3                    ; @ROT_270
	.comm	_ROT_90,8,3                     ; @ROT_90
	.comm	_ROT_0,8,3                      ; @ROT_0
	.no_dead_strip	_prepare_eac_in
.subsections_via_symbols
