	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2AbortFile                   ## -- Begin function Cs2AbortFile
	.p2align	4, 0x90
_Cs2AbortFile:                          ## @Cs2AbortFile
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_Cs2Area@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	%edi, %ecx
	andl	$15, %ecx
	movq	_CDB_STAT_OPEN@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.1:
	movq	_CDB_STAT_NODISC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.2:
	movq	_CDB_STAT_PAUSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	%edi, (%rax)
LBB0_3:
	movl	$-1, 4(%rax)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rax)
	callq	_doCDReport
	movq	_CDB_HIRQ_CMOK@GOTPCREL(%rip), %rax
	movq	_CDB_HIRQ_EFLS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	(%rbx), %rax
	orl	%ecx, 8(%rax)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Cs2Area,8,3                    ## @Cs2Area
	.comm	_CDB_STAT_OPEN,4,2              ## @CDB_STAT_OPEN
	.comm	_CDB_STAT_NODISC,4,2            ## @CDB_STAT_NODISC
	.comm	_CDB_STAT_PAUSE,4,2             ## @CDB_STAT_PAUSE
	.comm	_CDB_HIRQ_CMOK,4,2              ## @CDB_HIRQ_CMOK
	.comm	_CDB_HIRQ_EFLS,4,2              ## @CDB_HIRQ_EFLS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Cs2AbortFile                   ; -- Begin function Cs2AbortFile
	.p2align	2
_Cs2AbortFile:                          ; @Cs2AbortFile
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _Cs2Area@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Cs2Area@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	w0, [x8]
	and	w9, w0, #0xf
Lloh2:
	adrp	x10, _CDB_STAT_OPEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _CDB_STAT_OPEN@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
Lloh5:
	adrp	x11, _CDB_STAT_NODISC@GOTPAGE
Lloh6:
	ldr	x11, [x11, _CDB_STAT_NODISC@GOTPAGEOFF]
Lloh7:
	ldr	w11, [x11]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	b.eq	LBB0_2
; %bb.1:
Lloh8:
	adrp	x9, _CDB_STAT_PAUSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CDB_STAT_PAUSE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
	str	w0, [x8]
LBB0_2:
	mov	w9, #-1
	str	w9, [x8, #4]
	stp	xzr, xzr, [x8, #16]
	bl	_doCDReport
Lloh11:
	adrp	x8, _CDB_HIRQ_CMOK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CDB_HIRQ_CMOK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _CDB_HIRQ_EFLS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CDB_HIRQ_EFLS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	x9, [x19]
	ldr	w10, [x9, #8]
	orr	w8, w8, w10
	str	w8, [x9, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_Cs2Area,8,3                    ; @Cs2Area
	.comm	_CDB_STAT_OPEN,4,2              ; @CDB_STAT_OPEN
	.comm	_CDB_STAT_NODISC,4,2            ; @CDB_STAT_NODISC
	.comm	_CDB_STAT_PAUSE,4,2             ; @CDB_STAT_PAUSE
	.comm	_CDB_HIRQ_CMOK,4,2              ; @CDB_HIRQ_CMOK
	.comm	_CDB_HIRQ_EFLS,4,2              ; @CDB_HIRQ_EFLS
.subsections_via_symbols
