	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function Cs2Reset
LCPI0_0:
	.long	4294967295                      ## 0xffffffff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
	.long	255                             ## 0xff
LCPI0_1:
	.long	150                             ## 0x96
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	65                              ## 0x41
LCPI0_2:
	.long	4294967295                      ## 0xffffffff
	.long	4294967295                      ## 0xffffffff
	.long	2048                            ## 0x800
	.long	2048                            ## 0x800
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Cs2Reset
	.p2align	4, 0x90
_Cs2Reset:                              ## @Cs2Reset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_Cs2Area@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	280(%rax), %rcx
	xorl	%eax, %eax
	callq	*(%rcx)
	movabsq	$1095216660735, %r14            ## imm = 0xFF000000FF
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.1:
	je	LBB0_5
## %bb.2:
	cmpl	$3, %eax
	jne	LBB0_3
## %bb.6:
	movq	_CDB_STAT_OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_CDB_STAT_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, 272(%rax)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [150,0,0,65]
	movups	%xmm0, (%rax)
	movabsq	$4294967297, %rcx               ## imm = 0x100000001
	movq	%rcx, 16(%rax)
	jmp	LBB0_8
LBB0_5:
	movq	_CDB_STAT_NODISC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ecx
	movq	(%r15), %rax
	movl	%ecx, 272(%rax)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [4294967295,255,255,255]
	movups	%xmm0, (%rax)
	movq	%r14, 16(%rax)
	jmp	LBB0_8
LBB0_3:
	movq	(%r15), %rax
LBB0_8:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 256(%rax)
	movaps	LCPI0_2(%rip), %xmm1            ## xmm1 = [4294967295,4294967295,2048,2048]
	movups	%xmm1, 24(%rax)
	movl	$1, 40(%rax)
	movups	%xmm0, 232(%rax)
	movq	$0, 248(%rax)
	movl	$67, 216(%rax)
	movw	$20290, 220(%rax)               ## imm = 0x4F42
	movb	$75, 222(%rax)
	movabsq	$281470681808895, %rcx          ## imm = 0xFFFF0000FFFF
	movq	%rcx, 224(%rax)
	movq	$-1, 44(%rax)
	movups	%xmm0, 184(%rax)
	movups	%xmm0, 200(%rax)
	movq	_MAX_SELECTORS@GOTPCREL(%rip), %r9
	cmpq	$0, (%r9)
	je	LBB0_16
## %bb.9:
	movq	176(%rax), %rcx
	xorl	%edx, %edx
	movabsq	$1099511627775, %rsi            ## imm = 0xFFFFFFFFFF
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	$0, 72(%rcx)
	movq	%rsi, (%rcx)
	movups	%xmm0, 8(%rcx)
	movups	%xmm0, 24(%rcx)
	movups	%xmm0, 40(%rcx)
	movups	%xmm0, 56(%rcx)
	incq	%rdx
	movq	(%r9), %rdi
	addq	$80, %rcx
	cmpq	%rdi, %rdx
	jb	LBB0_10
## %bb.11:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.12:
	xorl	%r11d, %r11d
	movq	_MAX_BLOCKS@GOTPCREL(%rip), %r8
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r11
	cmpq	(%r9), %r11
	jae	LBB0_17
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_22 Depth 2
	movq	168(%rax), %rcx
	movq	%r11, %rdx
	shlq	$5, %rdx
	movl	$-1, (%rcx,%rdx)
	movq	$0, 24(%rcx,%rdx)
	movq	(%r8), %r10
	testq	%r10, %r10
	je	LBB0_25
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	cmpq	$1, %r10
	jne	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=1
                                        ## implicit-def: $rax
	xorl	%edi, %edi
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r10, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_22:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	16(%rcx,%rdx), %rax
	movq	$0, (%rax,%rdi,8)
	movq	(%r15), %rax
	movq	168(%rax), %rax
	movq	8(%rax,%rdx), %rcx
	movl	$255, (%rcx,%rdi,4)
	movq	16(%rax,%rdx), %rax
	movq	$0, 8(%rax,%rdi,8)
	movq	(%r15), %rax
	movq	168(%rax), %rcx
	movq	8(%rcx,%rdx), %rsi
	movl	$255, 4(%rsi,%rdi,4)
	addq	$2, %rdi
	cmpq	%rdi, %rbx
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_13 Depth=1
	testb	$1, %r10b
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	16(%rcx,%rdx), %rax
	movq	$0, (%rax,%rdi,8)
	movq	(%r15), %rax
	movq	168(%rax), %rcx
	movq	8(%rcx,%rdx), %rcx
	movl	$255, (%rcx,%rdi,4)
	jmp	LBB0_25
LBB0_16:
	movq	_MAX_BLOCKS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
LBB0_17:
	testq	%r10, %r10
	je	LBB0_20
## %bb.18:
	movl	$8, %ebx
	xorl	%r12d, %r12d
	movq	_MAX_BLOCKS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	160(%rax), %rax
	movl	$-1, -8(%rax,%rbx)
	movq	(%rax,%rbx), %rdi
	xorl	%esi, %esi
	movl	$2352, %edx                     ## imm = 0x930
	callq	_memset
	incq	%r12
	movq	(%r15), %rax
	addq	$16, %rbx
	cmpq	(%r13), %r12
	jb	LBB0_19
LBB0_20:
	movl	$200, 52(%rax)
	movq	152(%rax), %rdi
	movl	$255, %esi
	movl	$8, %edx
	callq	_memset
	movq	(%r15), %rax
	leaq	120(%rax), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%rax)
	movq	$0, 144(%rax)
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	(%r15), %rax
	movq	$0, 112(%rax)
	movabsq	$4294967296000255, %rcx         ## imm = 0xF4240000000FF
	movq	%rcx, 56(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 96(%rax)
	movups	%xmm0, 80(%rax)
	xorl	%edi, %edi
	callq	_Cs2SetTiming
	movq	(%r15), %rax
	movq	72(%rax), %rcx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rcx)
	movq	%r14, 16(%rcx)
	movups	%xmm0, 24(%rcx)
	movq	%r14, 40(%rcx)
	movq	64(%rax), %rax
	movups	%xmm0, (%rax)
	movups	%xmm0, 16(%rax)
	movups	%xmm0, 32(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_CDB_STAT_PAUSE,4,2             ## @CDB_STAT_PAUSE
	.comm	_CDB_STAT_NODISC,4,2            ## @CDB_STAT_NODISC
	.comm	_CDB_STAT_OPEN,4,2              ## @CDB_STAT_OPEN
	.comm	_MAX_SELECTORS,8,3              ## @MAX_SELECTORS
	.comm	_MAX_BLOCKS,8,3                 ## @MAX_BLOCKS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function Cs2Reset
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
	.long	255                             ; 0xff
lCPI0_1:
	.long	150                             ; 0x96
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	65                              ; 0x41
lCPI0_2:
	.long	4294967295                      ; 0xffffffff
	.long	4294967295                      ; 0xffffffff
	.long	2048                            ; 0x800
	.long	2048                            ; 0x800
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
lCPI0_3:
	.long	255                             ; 0xff
	.long	1000000                         ; 0xf4240
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_Cs2Reset
	.p2align	2
_Cs2Reset:                              ; @Cs2Reset
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x19, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x8, [x8, #280]
	ldr	x8, [x8]
	blr	x8
	cmp	w0, #2
	b.lo	LBB0_4
; %bb.1:
	b.eq	LBB0_5
; %bb.2:
	cmp	w0, #3
	b.ne	LBB0_8
; %bb.3:
Lloh2:
	adrp	x8, _CDB_STAT_OPEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CDB_STAT_OPEN@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh4:
	adrp	x8, _CDB_STAT_PAUSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CDB_STAT_PAUSE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x8]
	ldr	x8, [x19]
	str	w9, [x8, #272]
Lloh7:
	adrp	x9, lCPI0_1@PAGE
Lloh8:
	ldr	q0, [x9, lCPI0_1@PAGEOFF]
	str	q0, [x8]
	movi.2s	v0, #1
	b	LBB0_7
LBB0_5:
Lloh9:
	adrp	x8, _CDB_STAT_NODISC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CDB_STAT_NODISC@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x8]
	ldr	x8, [x19]
	str	w9, [x8, #272]
Lloh11:
	adrp	x9, lCPI0_0@PAGE
Lloh12:
	ldr	q0, [x9, lCPI0_0@PAGEOFF]
	str	q0, [x8]
	movi	d0, #0x0000ff000000ff
LBB0_7:
	str	d0, [x8, #16]
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19]
LBB0_9:
	stp	xzr, xzr, [x8, #256]
Lloh13:
	adrp	x9, lCPI0_2@PAGE
Lloh14:
	ldr	q0, [x9, lCPI0_2@PAGEOFF]
	stur	q0, [x8, #24]
	mov	w9, #1
	str	w9, [x8, #40]
	stp	xzr, xzr, [x8, #232]
	str	xzr, [x8, #248]
	mov	w9, #67
	str	w9, [x8, #216]
	mov	w9, #20290
	strh	w9, [x8, #220]
	mov	w9, #75
	strb	w9, [x8, #222]
	movi	d0, #0x00ffff0000ffff
	str	d0, [x8, #224]
	movi.2d	v0, #0xffffffffffffffff
	stur	d0, [x8, #44]
	movi.2d	v0, #0000000000000000
	stur	q0, [x8, #184]
	stur	q0, [x8, #200]
Lloh15:
	adrp	x9, _MAX_SELECTORS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MAX_SELECTORS@GOTPAGEOFF]
	ldr	x10, [x9]
Lloh17:
	adrp	x20, _MAX_BLOCKS@GOTPAGE
Lloh18:
	ldr	x20, [x20, _MAX_BLOCKS@GOTPAGEOFF]
	cbz	x10, LBB0_18
; %bb.10:
	mov	x10, #0
	ldr	x11, [x8, #176]
	movi	d1, #0x0000ffffffffff
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	str	xzr, [x11, #72]
	stur	q0, [x11, #8]
	stur	q0, [x11, #24]
	stur	q0, [x11, #40]
	stur	q0, [x11, #56]
	str	d1, [x11], #80
	add	x10, x10, #1
	ldr	x12, [x9]
	cmp	x10, x12
	b.lo	LBB0_11
; %bb.12:
	cbz	x12, LBB0_18
; %bb.13:
	mov	x10, #0
	mov	w11, #-1
	mov	w13, #255
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	x10, x10, #1
	ldr	x14, [x9]
	cmp	x10, x14
	b.hs	LBB0_19
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x14, [x8, #168]
	add	x12, x14, x10, lsl #5
	str	w11, [x12]
	str	xzr, [x12, #24]
	ldr	x12, [x20]
	cbz	x12, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x15, #0
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x16, x10, #5
	add	x8, x14, x16
	ldr	x8, [x8, #16]
	str	xzr, [x8, x15, lsl #3]
	ldr	x8, [x19]
	ldr	x14, [x8, #168]
	add	x16, x14, x16
	ldr	x16, [x16, #8]
	str	w13, [x16, x15, lsl #2]
	add	x15, x15, #1
	cmp	x12, x15
	b.ne	LBB0_17
	b	LBB0_14
LBB0_18:
	ldr	x12, [x20]
LBB0_19:
	cbz	x12, LBB0_22
; %bb.20:
	mov	x21, #0
	mov	x22, #0
	mov	w23, #-1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #160]
	add	x8, x8, x21
	str	w23, [x8]
	ldr	x0, [x8, #8]
	mov	w1, #0
	mov	w2, #2352
	bl	_memset
	add	x22, x22, #1
	ldr	x9, [x20]
	ldr	x8, [x19]
	add	x21, x21, #16
	cmp	x22, x9
	b.lo	LBB0_21
LBB0_22:
	mov	w9, #200
	str	w9, [x8, #52]
	ldr	x0, [x8, #152]
	mov	w1, #255
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19]
	add	x0, x8, #120
	stp	xzr, xzr, [x8, #136]
	str	xzr, [x8, #128]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19]
	stp	xzr, xzr, [x8, #104]
	stp	xzr, xzr, [x8, #88]
Lloh19:
	adrp	x9, lCPI0_3@PAGE
Lloh20:
	ldr	d0, [x9, lCPI0_3@PAGEOFF]
	str	d0, [x8, #56]
	str	xzr, [x8, #80]
	mov	w0, #0
	bl	_Cs2SetTiming
	ldr	x8, [x19]
	ldr	x9, [x8, #72]
	stp	xzr, xzr, [x9]
	movi	d0, #0x0000ff000000ff
	str	d0, [x9, #16]
	stp	xzr, xzr, [x9, #24]
	str	d0, [x9, #40]
	ldr	x8, [x8, #64]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8]
	str	q0, [x8, #32]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdr	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdr	Lloh13, Lloh14
	.loh AdrpLdr	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_CDB_STAT_PAUSE,4,2             ; @CDB_STAT_PAUSE
	.comm	_CDB_STAT_NODISC,4,2            ; @CDB_STAT_NODISC
	.comm	_CDB_STAT_OPEN,4,2              ; @CDB_STAT_OPEN
	.comm	_MAX_SELECTORS,8,3              ; @MAX_SELECTORS
	.comm	_MAX_BLOCKS,8,3                 ; @MAX_BLOCKS
.subsections_via_symbols
