	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BupDeleteSave                  ## -- Begin function BupDeleteSave
	.p2align	4, 0x90
_BupDeleteSave:                         ## @BupDeleteSave
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	-36(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	leaq	-28(%rbp), %rcx
	callq	_GetDeviceStats
	movl	$-1, %r15d
	cmpl	$1, %eax
	je	LBB0_5
## %bb.1:
	movl	%ebx, %edi
	callq	_CheckHeader
	testq	%rax, %rax
	jne	LBB0_5
## %bb.2:
	movl	-36(%rbp), %ecx
	movl	-32(%rbp), %r8d
	movl	-28(%rbp), %r9d
	movl	%ebx, %edi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_FindSave2
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	-32(%rbp), %edi
	movl	-28(%rbp), %edx
	movl	%eax, %esi
	callq	_DeleteSave
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_3:
	movl	$-2, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BupDeleteSave                  ; -- Begin function BupDeleteSave
	.p2align	2
_BupDeleteSave:                         ; @BupDeleteSave
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	add	x1, sp, #12
	add	x2, sp, #8
	add	x3, sp, #4
	bl	_GetDeviceStats
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_CheckHeader
	cbz	x0, LBB0_4
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldp	w4, w3, [sp, #8]
	ldr	w5, [sp, #4]
	mov	x0, x20
	mov	x1, x19
	mov	w2, #2
	bl	_FindSave2
	cbz	w0, LBB0_6
; %bb.5:
	mov	x1, x0
	ldp	w2, w0, [sp, #4]
	bl	_DeleteSave
	mov	w0, #0
	b	LBB0_3
LBB0_6:
	mov	w0, #-2
	b	LBB0_3
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
