	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyrix_get_arr
_cyrix_get_arr:                         ## @cyrix_get_arr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	movl	%edi, %r12d
	movq	_CX86_ARR_BASE@GOTPCREL(%rip), %rax
	leal	(%r12,%r12,2), %ebx
	addl	(%rax), %ebx
	callq	_local_irq_save
	movq	_CX86_CCR3@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_getCx86
	movl	%eax, %r14d
	movl	(%r13), %edi
	andb	$15, %al
	orb	$16, %al
	movzbl	%al, %esi
	callq	_setCx86
	movzbl	%bl, %ebx
	movl	%ebx, %edi
	callq	_getCx86
	movb	%al, 3(%r15)
	leal	1(%rbx), %edi
	callq	_getCx86
	movb	%al, 2(%r15)
	addl	$2, %ebx
	movl	%ebx, %edi
	callq	_getCx86
	movb	%al, 1(%r15)
	movq	_CX86_RCR_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	%r12d, %edi
	callq	_getCx86
	movl	%eax, %r13d
	movq	_CX86_CCR3@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movzbl	%r14b, %esi
	callq	_setCx86
	callq	_local_irq_restore
	movzbl	1(%r15), %eax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shrq	%cl, (%r15)
	andq	$15, %rax
	je	LBB0_2
## %bb.1:
	cmpl	$7, %r12d
	movl	$1, %ecx
	movl	$64, %edx
	cmovbq	%rcx, %rdx
	decb	%al
	movl	%eax, %ecx
	shlq	%cl, %rdx
	jmp	LBB0_3
LBB0_2:
	xorl	%edx, %edx
LBB0_3:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rdx, (%rax)
	cmpl	$6, %r12d
	ja	LBB0_8
## %bb.4:
	cmpb	$1, %r13b
	je	LBB0_13
## %bb.5:
	cmpb	$9, %r13b
	je	LBB0_14
## %bb.6:
	cmpb	$8, %r13b
	jne	LBB0_12
	jmp	LBB0_16
LBB0_8:
	testb	%r13b, %r13b
	je	LBB0_13
## %bb.9:
	cmpb	$9, %r13b
	je	LBB0_16
## %bb.10:
	cmpb	$8, %r13b
	jne	LBB0_12
LBB0_14:
	movq	_MTRR_TYPE_WRCOMB@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_13:
	movq	_MTRR_TYPE_UNCACHABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_16:
	movq	_MTRR_TYPE_WRBACK@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:
	movq	_MTRR_TYPE_WRTHROUGH@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CX86_ARR_BASE,4,2              ## @CX86_ARR_BASE
	.comm	_CX86_CCR3,4,2                  ## @CX86_CCR3
	.comm	_CX86_RCR_BASE,4,2              ## @CX86_RCR_BASE
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_MTRR_TYPE_UNCACHABLE,4,2       ## @MTRR_TYPE_UNCACHABLE
	.comm	_MTRR_TYPE_WRBACK,4,2           ## @MTRR_TYPE_WRBACK
	.comm	_MTRR_TYPE_WRCOMB,4,2           ## @MTRR_TYPE_WRCOMB
	.comm	_MTRR_TYPE_WRTHROUGH,4,2        ## @MTRR_TYPE_WRTHROUGH
	.no_dead_strip	_cyrix_get_arr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyrix_get_arr
_cyrix_get_arr:                         ; @cyrix_get_arr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _CX86_ARR_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CX86_ARR_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w0, w0, lsl #1
	add	w23, w9, w8
	bl	_local_irq_save
Lloh3:
	adrp	x25, _CX86_CCR3@GOTPAGE
Lloh4:
	ldr	x25, [x25, _CX86_CCR3@GOTPAGEOFF]
	ldr	w0, [x25]
	bl	_getCx86
	mov	x24, x0
	ldr	w0, [x25]
	mov	w1, #16
	bfxil	w1, w24, #0, #4
	bl	_setCx86
	and	w23, w23, #0xff
	mov	x0, x23
	bl	_getCx86
	strb	w0, [x22, #3]
	add	w0, w23, #1
	bl	_getCx86
	strb	w0, [x22, #2]
	add	w0, w23, #2
	bl	_getCx86
	strb	w0, [x22, #1]
Lloh5:
	adrp	x8, _CX86_RCR_BASE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CX86_RCR_BASE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	add	w0, w8, w21
	bl	_getCx86
	mov	x23, x0
	ldr	w0, [x25]
	mov	x1, x24
	bl	_setCx86
	bl	_local_irq_restore
Lloh8:
	adrp	x8, _PAGE_SHIFT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAGE_SHIFT@GOTPAGEOFF]
	ldrb	w9, [x22, #1]
Lloh10:
	ldr	x8, [x8]
	ldr	x10, [x22]
	lsr	x8, x10, x8
	str	x8, [x22]
	ands	w8, w9, #0xf
	b.eq	LBB0_2
; %bb.1:
	cmp	w21, #7
	mov	w9, #64
	csinc	x9, x9, xzr, hs
	sub	w8, w8, #1
	lsl	x8, x9, x8
	b	LBB0_3
LBB0_2:
	mov	x8, #0
LBB0_3:
	str	x8, [x20]
	cmp	w21, #6
	b.hi	LBB0_7
; %bb.4:
	cmp	w23, #1
	b.eq	LBB0_10
; %bb.5:
	cmp	w23, #9
	b.eq	LBB0_11
; %bb.6:
	cmp	w23, #8
Lloh11:
	adrp	x8, _MTRR_TYPE_WRTHROUGH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MTRR_TYPE_WRTHROUGH@GOTPAGEOFF]
Lloh13:
	adrp	x9, _MTRR_TYPE_WRBACK@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MTRR_TYPE_WRBACK@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	b	LBB0_13
LBB0_7:
	cbz	w23, LBB0_10
; %bb.8:
	cmp	w23, #9
	b.eq	LBB0_12
; %bb.9:
	cmp	w23, #8
Lloh15:
	adrp	x8, _MTRR_TYPE_WRTHROUGH@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MTRR_TYPE_WRTHROUGH@GOTPAGEOFF]
Lloh17:
	adrp	x9, _MTRR_TYPE_WRCOMB@GOTPAGE
Lloh18:
	ldr	x9, [x9, _MTRR_TYPE_WRCOMB@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	b	LBB0_13
LBB0_10:
Lloh19:
	adrp	x8, _MTRR_TYPE_UNCACHABLE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MTRR_TYPE_UNCACHABLE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh21:
	adrp	x8, _MTRR_TYPE_WRCOMB@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MTRR_TYPE_WRCOMB@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x8, _MTRR_TYPE_WRBACK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _MTRR_TYPE_WRBACK@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_CX86_ARR_BASE,4,2              ; @CX86_ARR_BASE
	.comm	_CX86_CCR3,4,2                  ; @CX86_CCR3
	.comm	_CX86_RCR_BASE,4,2              ; @CX86_RCR_BASE
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_MTRR_TYPE_UNCACHABLE,4,2       ; @MTRR_TYPE_UNCACHABLE
	.comm	_MTRR_TYPE_WRBACK,4,2           ; @MTRR_TYPE_WRBACK
	.comm	_MTRR_TYPE_WRCOMB,4,2           ; @MTRR_TYPE_WRCOMB
	.comm	_MTRR_TYPE_WRTHROUGH,4,2        ; @MTRR_TYPE_WRTHROUGH
	.no_dead_strip	_cyrix_get_arr
.subsections_via_symbols
