	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BupGetSaveList                 ## -- Begin function BupGetSaveList
	.p2align	4, 0x90
_BupGetSaveList:                        ## @BupGetSaveList
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	-48(%rbp), %rsi
	leaq	-52(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	callq	_GetDeviceStats
	cmpl	$1, %eax
	je	LBB0_11
## %bb.1:
	movl	%ebx, %edi
	callq	_CheckHeader
	testq	%rax, %rax
	je	LBB0_2
LBB0_11:
	movl	$0, (%r14)
	xorl	%r12d, %r12d
LBB0_12:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-44(%rbp), %ebx
	shll	$2, %ebx
	movl	-48(%rbp), %eax
	addl	%eax, %eax
	xorl	%r15d, %r15d
	cmpl	%eax, %ebx
	jge	LBB0_5
## %bb.3:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	orl	$1, %edi
	addl	-52(%rbp), %edi
	callq	_MappedMemoryReadByte
	shrl	$31, %eax
	addl	%eax, %r15d
	movl	-44(%rbp), %eax
	leal	(%rbx,%rax,2), %ebx
	movl	-48(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jl	LBB0_4
LBB0_5:
	movl	%r15d, %eax
	shll	$4, %eax
	leal	(%rax,%rax,4), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r12
	movl	%r15d, (%r14)
	movl	-44(%rbp), %ebx
	shll	$2, %ebx
	movl	-48(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jge	LBB0_12
## %bb.7:
	xorl	%r14d, %r14d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	-44(%rbp), %eax
	leal	(%rbx,%rax,2), %ebx
	movl	-48(%rbp), %eax
	addl	%eax, %eax
	cmpl	%eax, %ebx
	jge	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	orl	$1, %edi
	addl	-52(%rbp), %edi
	callq	_MappedMemoryReadByte
	testl	%eax, %eax
	jns	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	-52(%rbp), %r15d
	leal	(%r15,%rbx), %edi
	addl	$9, %edi
	movslq	%r14d, %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%r14,4), %r13
	shlq	$4, %r13
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, (%rcx)
	leal	(%r15,%rbx), %edi
	addl	$11, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 4(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$13, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 8(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$15, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 12(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$17, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 16(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$19, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 20(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$21, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 24(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$23, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 28(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$25, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 32(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$27, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 36(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$29, %edi
	callq	_MappedMemoryReadByte
	movq	(%r12,%r13), %rcx
	movl	%eax, 40(%rcx)
	movl	$0, 44(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$33, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, (%rcx)
	leal	(%r15,%rbx), %edi
	addl	$35, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 4(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$37, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 8(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$39, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 12(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$41, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 16(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$43, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 20(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$45, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 24(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$47, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 28(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$49, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 32(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$51, %edi
	callq	_MappedMemoryReadByte
	movq	8(%r12,%r13), %rcx
	movl	%eax, 36(%rcx)
	movl	$0, 40(%rcx)
	leal	(%r15,%rbx), %edi
	addl	$31, %edi
	callq	_MappedMemoryReadByte
	movl	%eax, 16(%r12,%r13)
	leal	(%r15,%rbx), %edi
	addl	$61, %edi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%r12,%r13)
	movups	%xmm0, 48(%r12,%r13)
	movups	%xmm0, 64(%r12,%r13)
	callq	_MappedMemoryReadByte
	movl	%eax, %r14d
	shll	$24, %r14d
	leal	(%r15,%rbx), %edi
	addl	$63, %edi
	callq	_MappedMemoryReadByte
	movl	%eax, %r12d
	shll	$16, %r12d
	orl	%r14d, %r12d
	leal	(%r15,%rbx), %edi
	addl	$65, %edi
	callq	_MappedMemoryReadByte
	movl	%eax, %r14d
	shll	$8, %r14d
	leal	(%r15,%rbx), %edi
	addl	$67, %edi
	callq	_MappedMemoryReadByte
	orl	%r14d, %eax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	orl	%r12d, %eax
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, 20(%r12,%r13)
	leal	(%r15,%rbx), %edi
	addl	$69, %edi
	movl	-44(%rbp), %esi
	callq	_CalcSaveSize
	incq	%rax
	movq	%rax, 24(%r12,%r13)
	incl	%r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BupGetSaveList                 ; -- Begin function BupGetSaveList
	.p2align	2
_BupGetSaveList:                        ; @BupGetSaveList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x1
	mov	x19, 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, x19
	bl	_CheckHeader
	cbz	x0, LBB0_4
LBB0_2:
	mov	x19, #0
	str	wzr, [x20]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	ldr	w8, [sp, #4]
	lsl	w19, w8, #2
	ldr	w8, [sp, #12]
	cmp	w19, w8, lsl #1
	b.ge	LBB0_7
; %bb.5:
	mov	w21, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	orr	w9, w19, #0x1
	add	w0, w9, w8
	bl	_MappedMemoryReadByte
	add	w21, w21, w0, lsr #31
	ldr	w8, [sp, #4]
	add	w19, w19, w8, lsl #1
	ldr	w8, [sp, #12]
	cmp	w19, w8, lsl #1
	b.lt	LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w21, #0
LBB0_8:
	add	w8, w21, w21, lsl #2
	lsl	w0, w8, #4
	bl	_malloc
	cbz	x0, LBB0_2
; %bb.9:
	mov	x19, x0
	str	w21, [x20]
	ldr	w8, [sp, #4]
	lsl	w21, w8, #2
	ldr	w8, [sp, #12]
	cmp	w21, w8, lsl #1
	b.ge	LBB0_3
; %bb.10:
	mov	w22, #0
	mov	w23, #80
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #4]
	add	w21, w21, w8, lsl #1
	ldr	w8, [sp, #12]
	cmp	w21, w8, lsl #1
	b.ge	LBB0_3
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [sp, #8]
	orr	w9, w21, #0x1
	add	w0, w9, w8
	bl	_MappedMemoryReadByte
	tbz	w0, #31, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [sp, #8]
	add	w25, w8, w21
	add	w0, w25, #9
	smaddl	x24, w22, w23, x19
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8]
	add	w0, w25, #11
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #4]
	add	w0, w25, #13
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #8]
	add	w0, w25, #15
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #12]
	add	w0, w25, #17
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #16]
	add	w0, w25, #19
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #20]
	add	w0, w25, #21
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #24]
	add	w0, w25, #23
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #28]
	add	w0, w25, #25
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #32]
	add	w0, w25, #27
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	str	w0, [x8, #36]
	add	w0, w25, #29
	bl	_MappedMemoryReadByte
	ldr	x8, [x24]
	stp	w0, wzr, [x8, #40]
	add	w0, w25, #33
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8]
	add	w0, w25, #35
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #4]
	add	w0, w25, #37
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #8]
	add	w0, w25, #39
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #12]
	add	w0, w25, #41
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #16]
	add	w0, w25, #43
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #20]
	add	w0, w25, #45
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #24]
	add	w0, w25, #47
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #28]
	add	w0, w25, #49
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	str	w0, [x8, #32]
	add	w0, w25, #51
	bl	_MappedMemoryReadByte
	ldr	x8, [x24, #8]
	stp	w0, wzr, [x8, #36]
	add	w0, w25, #31
	bl	_MappedMemoryReadByte
	str	w0, [x24, #16]
	add	w0, w25, #61
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x24, #32]
	str	q0, [x24, #64]
	bl	_MappedMemoryReadByte
	mov	x20, x0
	add	w0, w25, #63
	bl	_MappedMemoryReadByte
	lsl	w8, w0, #16
	orr	w20, w8, w20, lsl #24
	add	w0, w25, #65
	bl	_MappedMemoryReadByte
	orr	w20, w20, w0, lsl #8
	add	w0, w25, #67
	bl	_MappedMemoryReadByte
	orr	w8, w20, w0
	str	w8, [x24, #20]
	add	w0, w25, #69
	ldr	w1, [sp, #4]
	bl	_CalcSaveSize
	add	x8, x0, #1
	str	x8, [x24, #24]
	add	w22, w22, #1
	b	LBB0_11
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
