	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_files                  ## -- Begin function process_files
	.p2align	4, 0x90
_process_files:                         ## @process_files
	.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	_fw_num_blocks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_14
## %bb.1:
	xorl	%ebx, %ebx
	movq	_fw_blocks@GOTPCREL(%rip), %r12
	movq	_flash_size@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	addq	$32, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %r15
	movq	(%r15,%rbx), %rdx
	movq	8(%r15,%rbx), %rcx
	addq	%rdx, %rcx
	cmpq	(%r13), %rcx
	jg	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%r15,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-48(%rbp), %rsi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15,%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rax
	subq	(%r15,%rbx), %rax
	movq	%rax, 8(%r15,%rbx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rcx
	cmpq	%rax, %rcx
	jg	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%rcx, 24(%r15,%rbx)
	movq	_fw_num_blocks@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_13
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_3:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_7:
	movq	16(%r15,%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
LBB0_11:
	movq	16(%r15,%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
LBB0_4:
	xorl	%edi, %edi
	callq	_errmsg
	movl	$-1, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_num_blocks,4,2              ## @fw_num_blocks
	.comm	_fw_blocks,8,3                  ## @fw_blocks
	.comm	_flash_size,8,3                 ## @flash_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"block at 0x%08X is too big"

L_.str.1:                               ## @.str.1
	.asciz	"stat failed on %s"

L_.str.2:                               ## @.str.2
	.asciz	"file %s is too big"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_files                  ; -- Begin function process_files
	.p2align	2
_process_files:                         ; @process_files
	.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
Lloh0:
	adrp	x19, _fw_num_blocks@GOTPAGE
Lloh1:
	ldr	x19, [x19, _fw_num_blocks@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x20, #0
	mov	x21, #0
Lloh2:
	adrp	x22, _fw_blocks@GOTPAGE
Lloh3:
	ldr	x22, [x22, _fw_blocks@GOTPAGEOFF]
Lloh4:
	adrp	x23, _flash_size@GOTPAGE
Lloh5:
	ldr	x23, [x23, _flash_size@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	add	x20, x20, #32
	cmp	x21, w8, sxtw
	b.ge	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22]
	add	x25, x24, x20
	ldp	x2, x9, [x25]
	ldr	x10, [x23]
	add	x9, x9, x2
	cmp	x9, x10
	b.gt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x25, #16]
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, sp, #8
	bl	_stat
	tbnz	x0, #63, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #8]
	cbnz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x24, x20]
	sub	x8, x8, x9
	str	x8, [x25, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #8]
	cmp	x9, x8
	b.gt	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x24, x20
	str	x9, [x8, #24]
	ldr	w8, [x19]
	b	LBB0_2
LBB0_10:
	mov	w0, #0
	b	LBB0_15
LBB0_11:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_14
LBB0_12:
	add	x8, x24, x20
	ldr	x2, [x8, #16]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_13:
	add	x8, x24, x20
	ldr	x2, [x8, #16]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	mov	w0, #0
	bl	_errmsg
	mov	w0, #-1
LBB0_15:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_num_blocks,4,2              ; @fw_num_blocks
	.comm	_fw_blocks,8,3                  ; @fw_blocks
	.comm	_flash_size,8,3                 ; @flash_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"block at 0x%08X is too big"

l_.str.1:                               ; @.str.1
	.asciz	"stat failed on %s"

l_.str.2:                               ; @.str.2
	.asciz	"file %s is too big"

.subsections_via_symbols
