	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2ReadUnFilteredSector        ## -- Begin function Cs2ReadUnFilteredSector
	.p2align	4, 0x90
_Cs2ReadUnFilteredSector:               ## @Cs2ReadUnFilteredSector
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movl	$16777215, -48(%rbp)            ## imm = 0xFFFFFF
	movq	$-256, -56(%rbp)
	movq	_Cs2Area@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	36(%rax), %edi
	callq	_Cs2GetPartition
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	(%r15), %rax
	cmpl	$0, 32(%rax)
	je	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
LBB0_4:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_29
## %bb.5:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	(%rbx), %rdi
	shlq	$2, %rdi
	addq	24(%rbx), %rdi
	callq	_Cs2AllocateBlock
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	%rax, (%rdx,%rcx,8)
	movq	16(%rbx), %rax
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_3
## %bb.7:
	movq	(%r15), %rax
	movq	8(%rax), %rsi
	movq	24(%rax), %rax
	movl	%r14d, %edi
	callq	*(%rax)
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	movq	(%r15), %rax
	movl	(%rax), %r12d
	cmpl	$2339, %r12d                    ## imm = 0x923
	jg	LBB0_14
## %bb.9:
	cmpl	$2048, %r12d                    ## imm = 0x800
	je	LBB0_16
## %bb.10:
	cmpl	$2336, %r12d                    ## imm = 0x920
	jne	LBB0_24
## %bb.11:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	24(%rcx), %edi
	movq	8(%rax), %rsi
	addq	$64, %rsi
	movl	$2336, %edx                     ## imm = 0x920
	jmp	LBB0_22
LBB0_14:
	cmpl	$2340, %r12d                    ## imm = 0x924
	je	LBB0_19
## %bb.15:
	cmpl	$2352, %r12d                    ## imm = 0x930
	je	LBB0_23
	jmp	LBB0_24
LBB0_16:
	movq	8(%rax), %rax
	cmpl	$2, 60(%rax)
	jne	LBB0_20
## %bb.17:
	leaq	96(%rax), %rsi
	testb	$32, 72(%rax)
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	24(%rax), %edi
	je	LBB0_21
## %bb.28:
	movl	$2324, %r12d                    ## imm = 0x914
	movl	$2324, %edx                     ## imm = 0x914
	callq	_memcpy
	movq	(%r15), %rax
	jmp	LBB0_23
LBB0_19:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	24(%rcx), %edi
	movq	8(%rax), %rsi
	addq	$48, %rsi
	movl	$2340, %edx                     ## imm = 0x924
	jmp	LBB0_22
LBB0_20:
	movq	(%rbx), %rcx
	movq	16(%rbx), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movl	24(%rcx), %edi
	addq	$64, %rax
	movq	%rax, %rsi
LBB0_21:
	movl	$2048, %edx                     ## imm = 0x800
LBB0_22:
	callq	_memcpy
	movq	(%r15), %rax
	movl	(%rax), %r12d
LBB0_23:
	movl	%r12d, 16(%rax)
LBB0_24:
	movq	8(%rax), %rsi
	leaq	-56(%rbp), %rdi
	movl	$12, %edx
	callq	_memcmp
	movq	(%r15), %rcx
	testq	%rax, %rax
	jne	LBB0_27
## %bb.25:
	movq	8(%rcx), %rax
	cmpl	$2, 60(%rax)
	jne	LBB0_27
## %bb.26:
	movl	64(%rax), %edx
	movq	(%rbx), %rsi
	movq	16(%rbx), %rdi
	movq	(%rdi,%rsi,8), %rsi
	movl	%edx, (%rsi)
	movl	68(%rax), %edx
	movl	%edx, 4(%rsi)
	movl	72(%rax), %edx
	movl	%edx, 8(%rsi)
	movl	76(%rax), %eax
	movl	%eax, 12(%rsi)
LBB0_27:
	movl	%r14d, 20(%rcx)
	movl	8(%rbx), %eax
	xorl	%ecx, %ecx
	cmpl	$-1, %eax
	cmovnel	%eax, %ecx
	movq	16(%rbx), %rax
	movq	(%rbx), %rdx
	movq	(%rax,%rdx,8), %rax
	addl	16(%rax), %ecx
	movl	%ecx, 8(%rbx)
	incq	%rdx
	movq	%rdx, (%rbx)
	jmp	LBB0_4
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l___const.Cs2ReadUnFilteredSector.syncheader: ## @__const.Cs2ReadUnFilteredSector.syncheader
	.asciz	"\000\377\377\377\377\377\377\377\377\377\377"

	.comm	_Cs2Area,8,3                    ## @Cs2Area
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2ReadUnFilteredSector        ; -- Begin function Cs2ReadUnFilteredSector
	.p2align	2
_Cs2ReadUnFilteredSector:               ; @Cs2ReadUnFilteredSector
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w8, #16777215
	str	w8, [sp, #16]
	mov	x8, #-256
	str	x8, [sp, #8]
Lloh3:
	adrp	x21, _Cs2Area@GOTPAGE
Lloh4:
	ldr	x21, [x21, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8, #36]
	bl	_Cs2GetPartition
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21]
	ldr	w8, [x8, #32]
	cbz	w8, LBB0_5
LBB0_2:
	mov	x19, #0
LBB0_3:
	ldr	x8, [sp, #24]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.4:
	mov	x0, 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
	add	sp, sp, #80
	ret
LBB0_5:
	ldr	x8, [x19, #24]
	ldr	x9, [x19]
	add	x0, x8, x9, lsl #2
	bl	_Cs2AllocateBlock
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	lsl	x9, x9, #3
	str	x0, [x8, x9]
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x9]
	cbz	x8, LBB0_2
; %bb.6:
	ldr	x8, [x21]
	ldr	x9, [x8, #24]
	ldr	x9, [x9]
	ldr	x1, [x8, #8]
	mov	x0, x20
	blr	x9
	cbz	w0, LBB0_2
; %bb.7:
	ldr	x8, [x21]
	ldr	w22, [x8]
	cmp	w22, #2339
	b.gt	LBB0_11
; %bb.8:
	cmp	w22, #2048
	b.eq	LBB0_13
; %bb.9:
	cmp	w22, #2336
	b.ne	LBB0_21
; %bb.10:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w0, [x9, #24]
	ldr	x8, [x8, #8]
	add	x1, x8, #64
	mov	w2, #2336
	b	LBB0_19
LBB0_11:
	cmp	w22, #2340
	b.eq	LBB0_16
; %bb.12:
	cmp	w22, #2352
	b.eq	LBB0_20
	b	LBB0_21
LBB0_13:
	ldr	x8, [x8, #8]
	ldr	w9, [x8, #60]
	cmp	w9, #2
	b.ne	LBB0_17
; %bb.14:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w0, [x9, #24]
	add	x1, x8, #96
	ldrb	w8, [x8, #72]
	tbz	w8, #5, LBB0_18
; %bb.15:
	mov	w22, #2324
	mov	w2, #2324
	bl	_memcpy
	ldr	x8, [x21]
	b	LBB0_20
LBB0_16:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w0, [x9, #24]
	ldr	x8, [x8, #8]
	add	x1, x8, #48
	mov	w2, #2340
	b	LBB0_19
LBB0_17:
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldr	x9, [x9, x10, lsl #3]
	ldr	w0, [x9, #24]
	add	x1, x8, #64
LBB0_18:
	mov	w2, #2048
LBB0_19:
	bl	_memcpy
	ldr	x8, [x21]
	ldr	w22, [x8]
LBB0_20:
	str	w22, [x8, #16]
LBB0_21:
	ldr	x1, [x8, #8]
	add	x0, sp, #8
	mov	w2, #12
	bl	_memcmp
	ldr	x8, [x21]
	cbnz	x0, LBB0_24
; %bb.22:
	ldr	x9, [x8, #8]
	ldr	w10, [x9, #60]
	cmp	w10, #2
	b.ne	LBB0_24
; %bb.23:
	ldr	w10, [x9, #64]
	ldr	x11, [x19, #16]
	ldr	x12, [x19]
	ldr	x11, [x11, x12, lsl #3]
	str	w10, [x11]
	ldr	w10, [x9, #68]
	str	w10, [x11, #4]
	ldr	w10, [x9, #72]
	str	w10, [x11, #8]
	ldr	w9, [x9, #76]
	str	w9, [x11, #12]
LBB0_24:
	str	w20, [x8, #20]
	ldr	w8, [x19, #8]
	cmn	w8, #1
	ldr	x9, [x19, #16]
	ldr	x10, [x19]
	ldr	x9, [x9, x10, lsl #3]
	csel	w8, wzr, w8, eq
	ldr	w9, [x9, #16]
	add	w8, w8, w9
	str	w8, [x19, #8]
	add	x8, x10, #1
	str	x8, [x19]
	b	LBB0_3
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.Cs2ReadUnFilteredSector.syncheader: ; @__const.Cs2ReadUnFilteredSector.syncheader
	.asciz	"\000\377\377\377\377\377\377\377\377\377\377"

	.comm	_Cs2Area,8,3                    ; @Cs2Area
.subsections_via_symbols
