	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggenie_switch                  ## -- Begin function ggenie_switch
	.p2align	4, 0x90
_ggenie_switch:                         ## @ggenie_switch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ggenie@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rax
	testl	%edi, %edi
	je	LBB0_13
## %bb.1:
	movq	_cart@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	8(%rdx), %r8
	movq	16(%rdx), %rdi
	movq	24(%rdx), %r9
	movl	(%rax), %edx
	testb	$1, %dl
	jne	LBB0_2
## %bb.3:
	testb	$2, %dl
	jne	LBB0_4
LBB0_5:
	testb	$4, %dl
	jne	LBB0_6
LBB0_7:
	testb	$8, %dl
	jne	LBB0_8
LBB0_9:
	testb	$16, %dl
	jne	LBB0_10
LBB0_11:
	testb	$32, %dl
	jne	LBB0_12
LBB0_25:
	popq	%rbp
	retq
LBB0_13:
	movq	8(%rdx), %rcx
	movq	16(%rdx), %rdx
	movq	_cart@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	(%rax), %edi
	testb	$32, %dil
	jne	LBB0_14
## %bb.15:
	testb	$16, %dil
	jne	LBB0_16
LBB0_17:
	testb	$8, %dil
	jne	LBB0_18
LBB0_19:
	testb	$4, %dil
	jne	LBB0_20
LBB0_21:
	testb	$2, %dil
	jne	LBB0_22
LBB0_23:
	testb	$1, %dil
	je	LBB0_25
	jmp	LBB0_24
LBB0_2:
	movq	(%rdi), %rdx
	movl	(%rdx,%rcx), %esi
	movl	%esi, (%r8)
	movl	(%r9), %esi
	movl	%esi, (%rdx,%rcx)
	movl	(%rax), %edx
	testb	$2, %dl
	je	LBB0_5
LBB0_4:
	movq	8(%rdi), %rdx
	movl	(%rdx,%rcx), %esi
	movl	%esi, 4(%r8)
	movl	4(%r9), %esi
	movl	%esi, (%rdx,%rcx)
	movl	(%rax), %edx
	testb	$4, %dl
	je	LBB0_7
LBB0_6:
	movq	16(%rdi), %rdx
	movl	(%rdx,%rcx), %esi
	movl	%esi, 8(%r8)
	movl	8(%r9), %esi
	movl	%esi, (%rdx,%rcx)
	movl	(%rax), %edx
	testb	$8, %dl
	je	LBB0_9
LBB0_8:
	movq	24(%rdi), %rdx
	movl	(%rdx,%rcx), %esi
	movl	%esi, 12(%r8)
	movl	12(%r9), %esi
	movl	%esi, (%rdx,%rcx)
	movl	(%rax), %edx
	testb	$16, %dl
	je	LBB0_11
LBB0_10:
	movq	32(%rdi), %rdx
	movl	(%rdx,%rcx), %esi
	movl	%esi, 16(%r8)
	movl	16(%r9), %esi
	movl	%esi, (%rdx,%rcx)
	movl	(%rax), %edx
	testb	$32, %dl
	je	LBB0_25
LBB0_12:
	movq	40(%rdi), %rax
	movl	(%rax,%rcx), %edx
	movl	%edx, 20(%r8)
	movl	20(%r9), %edx
	movl	%edx, (%rax,%rcx)
	popq	%rbp
	retq
LBB0_14:
	movl	20(%rcx), %r8d
	movq	40(%rdx), %rdi
	movl	%r8d, (%rdi,%rsi)
	movl	(%rax), %edi
	testb	$16, %dil
	je	LBB0_17
LBB0_16:
	movl	16(%rcx), %r8d
	movq	32(%rdx), %rdi
	movl	%r8d, (%rdi,%rsi)
	movl	(%rax), %edi
	testb	$8, %dil
	je	LBB0_19
LBB0_18:
	movl	12(%rcx), %r8d
	movq	24(%rdx), %rdi
	movl	%r8d, (%rdi,%rsi)
	movl	(%rax), %edi
	testb	$4, %dil
	je	LBB0_21
LBB0_20:
	movl	8(%rcx), %r8d
	movq	16(%rdx), %rdi
	movl	%r8d, (%rdi,%rsi)
	movl	(%rax), %edi
	testb	$2, %dil
	je	LBB0_23
LBB0_22:
	movl	4(%rcx), %r8d
	movq	8(%rdx), %rdi
	movl	%r8d, (%rdi,%rsi)
	movl	(%rax), %edi
	testb	$1, %dil
	je	LBB0_25
LBB0_24:
	movl	(%rcx), %eax
	movq	(%rdx), %rcx
	movl	%eax, (%rcx,%rsi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ggenie,32,3                    ## @ggenie
	.comm	_cart,8,3                       ## @cart
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ggenie_switch                  ; -- Begin function ggenie_switch
	.p2align	2
_ggenie_switch:                         ; @ggenie_switch
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x12, _ggenie@GOTPAGE
Lloh1:
	ldr	x12, [x12, _ggenie@GOTPAGEOFF]
	ldr	x8, [x12]
Lloh2:
	adrp	x9, _cart@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cart@GOTPAGEOFF]
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x9, [x9]
	ldp	x11, x10, [x12, #8]
	ldr	x12, [x12, #24]
	ldr	w13, [x8]
	tbnz	w13, #0, LBB0_14
; %bb.2:
	tbnz	w13, #1, LBB0_15
LBB0_3:
	tbnz	w13, #2, LBB0_16
LBB0_4:
	tbnz	w13, #3, LBB0_17
LBB0_5:
	tbnz	w13, #4, LBB0_18
LBB0_6:
	tbnz	w13, #5, LBB0_19
LBB0_7:
	ret
LBB0_8:
	ldr	x9, [x9]
	ldp	x11, x10, [x12, #8]
	ldr	w12, [x8]
	tbnz	w12, #5, LBB0_20
; %bb.9:
	tbnz	w12, #4, LBB0_21
LBB0_10:
	tbnz	w12, #3, LBB0_22
LBB0_11:
	tbnz	w12, #2, LBB0_23
LBB0_12:
	tbnz	w12, #1, LBB0_24
LBB0_13:
	tbz	w12, #0, LBB0_7
	b	LBB0_25
LBB0_14:
	ldr	x13, [x10]
	ldr	w14, [x13, x9]
	str	w14, [x11]
	ldr	w14, [x12]
	str	w14, [x13, x9]
	ldr	w13, [x8]
	tbz	w13, #1, LBB0_3
LBB0_15:
	ldr	x13, [x10, #8]
	ldr	w14, [x13, x9]
	str	w14, [x11, #4]
	ldr	w14, [x12, #4]
	str	w14, [x13, x9]
	ldr	w13, [x8]
	tbz	w13, #2, LBB0_4
LBB0_16:
	ldr	x13, [x10, #16]
	ldr	w14, [x13, x9]
	str	w14, [x11, #8]
	ldr	w14, [x12, #8]
	str	w14, [x13, x9]
	ldr	w13, [x8]
	tbz	w13, #3, LBB0_5
LBB0_17:
	ldr	x13, [x10, #24]
	ldr	w14, [x13, x9]
	str	w14, [x11, #12]
	ldr	w14, [x12, #12]
	str	w14, [x13, x9]
	ldr	w13, [x8]
	tbz	w13, #4, LBB0_6
LBB0_18:
	ldr	x13, [x10, #32]
	ldr	w14, [x13, x9]
	str	w14, [x11, #16]
	ldr	w14, [x12, #16]
	str	w14, [x13, x9]
	ldr	w13, [x8]
	tbz	w13, #5, LBB0_7
LBB0_19:
	ldr	x8, [x10, #40]
	ldr	w10, [x8, x9]
	str	w10, [x11, #20]
	ldr	w10, [x12, #20]
	str	w10, [x8, x9]
	ret
LBB0_20:
	ldr	w12, [x11, #20]
	ldr	x13, [x10, #40]
	str	w12, [x13, x9]
	ldr	w12, [x8]
	tbz	w12, #4, LBB0_10
LBB0_21:
	ldr	w12, [x11, #16]
	ldr	x13, [x10, #32]
	str	w12, [x13, x9]
	ldr	w12, [x8]
	tbz	w12, #3, LBB0_11
LBB0_22:
	ldr	w12, [x11, #12]
	ldr	x13, [x10, #24]
	str	w12, [x13, x9]
	ldr	w12, [x8]
	tbz	w12, #2, LBB0_12
LBB0_23:
	ldr	w12, [x11, #8]
	ldr	x13, [x10, #16]
	str	w12, [x13, x9]
	ldr	w12, [x8]
	tbz	w12, #1, LBB0_13
LBB0_24:
	ldr	w12, [x11, #4]
	ldr	x13, [x10, #8]
	str	w12, [x13, x9]
	ldr	w12, [x8]
	tbz	w12, #0, LBB0_7
LBB0_25:
	ldr	w8, [x11]
	ldr	x10, [x10]
	str	w8, [x10, x9]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ggenie,32,3                    ; @ggenie
	.comm	_cart,8,3                       ; @cart
.subsections_via_symbols
