	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function seal_files
_seal_files:                            ## @seal_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	%rdi, %r14
	movq	_o_isize@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	je	LBB0_4
## %bb.1:
	xorl	%ebx, %ebx
	movq	_o_images@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	callq	_verify_seama
	testq	%rax, %rax
	js	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpq	(%r12), %rbx
	jb	LBB0_2
LBB0_4:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	%rax, %r15
	movq	_o_meta@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_o_msize@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%rax, %rdi
	xorl	%ecx, %ecx
	callq	_write_seama_header
	movl	(%r14), %esi
	movl	(%rbx), %edx
	movq	%r15, %rdi
	callq	_write_meta_data
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str.2(%rip), %r14
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	cmpq	(%r12), %rbx
	jae	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_o_images@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	%r14, %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_copy_file
	movq	%r13, %rdi
	callq	_fclose
	jmp	LBB0_9
LBB0_10:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fclose                         ## TAILCALL
LBB0_12:
	movq	(%r15), %rax
	movq	(%rax,%rbx,8), %rsi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf                         ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_o_isize,8,3                    ## @o_isize
	.comm	_o_images,8,3                   ## @o_images
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s' is not a seama file !\n"

L_.str.1:                               ## @.str.1
	.asciz	"w+"

	.comm	_o_meta,4,2                     ## @o_meta
	.comm	_o_msize,4,2                    ## @o_msize
L_.str.2:                               ## @.str.2
	.asciz	"r+"

	.no_dead_strip	_seal_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function seal_files
_seal_files:                            ; @seal_files
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x22, _o_isize@GOTPAGE
Lloh1:
	ldr	x22, [x22, _o_isize@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x20, #0
Lloh2:
	adrp	x21, _o_images@GOTPAGE
Lloh3:
	ldr	x21, [x21, _o_images@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x0, [x8, x20, lsl #3]
	mov	w1, #0
	bl	_verify_seama
	tbnz	x0, #63, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldr	x8, [x22]
	cmp	x20, x8
	b.lo	LBB0_2
LBB0_4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_12
; %bb.5:
	mov	x19, x0
Lloh6:
	adrp	x20, _o_meta@GOTPAGE
Lloh7:
	ldr	x20, [x20, _o_meta@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh8:
	adrp	x21, _o_msize@GOTPAGE
Lloh9:
	ldr	x21, [x21, _o_msize@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	w3, #0
	bl	_write_seama_header
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_write_meta_data
	ldr	x8, [x22]
	cbz	x8, LBB0_10
; %bb.6:
	mov	x23, #0
Lloh10:
	adrp	x24, _o_images@GOTPAGE
Lloh11:
	ldr	x24, [x24, _o_images@GOTPAGEOFF]
Lloh12:
	adrp	x20, l_.str.2@PAGE
Lloh13:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x23, x23, #1
	ldr	x8, [x22]
	cmp	x23, x8
	b.hs	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24]
	ldr	x0, [x8, x23, lsl #3]
	mov	x1, x20
	bl	_fopen
	cbz	x0, LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_copy_file
	mov	x0, x21
	bl	_fclose
	b	LBB0_7
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_fclose
LBB0_11:
	ldr	x8, [x21]
	ldr	x1, [x8, x20, lsl #3]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_printf
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_o_isize,8,3                    ; @o_isize
	.comm	_o_images,8,3                   ; @o_images
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s' is not a seama file !\n"

l_.str.1:                               ; @.str.1
	.asciz	"w+"

	.comm	_o_meta,4,2                     ; @o_meta
	.comm	_o_msize,4,2                    ; @o_msize
l_.str.2:                               ; @.str.2
	.asciz	"r+"

	.no_dead_strip	_seal_files
.subsections_via_symbols
