	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_file
_process_file:                          ## @process_file
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SARMAG@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_stat
	testq	%rax, %rax
	js	LBB0_1
## %bb.5:
	movl	-64(%rbp), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	movq	%rax, %rbx
	movl	(%r13), %esi
	movl	$1, %r14d
	movq	%r12, %rdi
	movl	$1, %edx
	movq	%rax, %rcx
	callq	_fread
	cmpl	$1, %eax
	jne	LBB0_10
## %bb.11:
	movq	_ARMAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r12, %rdi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rbx, %rdi
	callq	_rewind
	movq	_archive_file_offset@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_archive_file_size@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_process_object
	jmp	LBB0_14
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_3:
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_error
	movl	$1, %r14d
	jmp	LBB0_17
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movl	%eax, %r14d
	movq	(%r12), %rdi
	callq	_strerror
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	movl	$1, %r14d
	jmp	LBB0_17
LBB0_8:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_error
	movl	$1, %r14d
	jmp	LBB0_16
LBB0_10:
	leaq	L_.str.5(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_error
	jmp	LBB0_15
LBB0_12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_process_archive
LBB0_14:
	movl	%eax, %r14d
LBB0_15:
	movq	%rbx, %rdi
	callq	_fclose
LBB0_16:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_17:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.18:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SARMAG,4,2                     ## @SARMAG
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"'%s': No such file\n"

L_.str.1:                               ## @.str.1
	.asciz	"Could not locate '%s'.  System error message: %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"'%s' is not an ordinary file\n"

L_.str.3:                               ## @.str.3
	.asciz	"rb"

L_.str.4:                               ## @.str.4
	.asciz	"Input file '%s' is not readable.\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s: Failed to read file header\n"

	.comm	_ARMAG,4,2                      ## @ARMAG
	.comm	_archive_file_offset,8,3        ## @archive_file_offset
	.comm	_archive_file_size,8,3          ## @archive_file_size
	.no_dead_strip	_process_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_file
_process_file:                          ; @process_file
	.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
	sub	sp, sp, #16
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _SARMAG@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SARMAG@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	sub	x1, x29, #64
	bl	_stat
	tbnz	x0, #63, LBB0_6
; %bb.1:
	ldur	w0, [x29, #-64]
	bl	_S_ISREG
	cbz	w0, LBB0_8
; %bb.2:
Lloh7:
	adrp	x1, l_.str.3@PAGE
Lloh8:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_fopen
	cbz	x0, LBB0_10
; %bb.3:
	mov	x20, x0
	ldr	w1, [x23]
	mov	x0, x21
	mov	w2, #1
	mov	x3, x20
	bl	_fread
	cmp	w0, #1
	b.ne	LBB0_15
; %bb.4:
Lloh9:
	adrp	x8, _ARMAG@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ARMAG@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	ldr	w2, [x23]
	mov	x0, x21
	bl	_memcmp
	cbz	x0, LBB0_16
; %bb.5:
	mov	x0, x20
	bl	_rewind
Lloh12:
	adrp	x8, _archive_file_offset@GOTPAGE
Lloh13:
	ldr	x8, [x8, _archive_file_offset@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _archive_file_size@GOTPAGE
Lloh16:
	ldr	x8, [x8, _archive_file_size@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_process_object
	b	LBB0_17
LBB0_6:
Lloh18:
	adrp	x21, _errno@GOTPAGE
Lloh19:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh20:
	adrp	x9, _ENOENT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
Lloh23:
	adrp	x0, l_.str@PAGE
Lloh24:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_11
LBB0_8:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_11
LBB0_9:
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x20, x0
	ldr	x0, [x21]
	bl	_strerror
	str	x0, [sp, #-16]!
	mov	x0, x20
	mov	x1, x19
	bl	_error
	add	sp, sp, #16
	b	LBB0_12
LBB0_10:
Lloh29:
	adrp	x0, l_.str.4@PAGE
Lloh30:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_11:
	bl	__
	mov	x1, x19
	bl	_error
LBB0_12:
	mov	w19, #1
LBB0_13:
	mov	sp, x22
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.14:
	mov	x0, x19
	sub	sp, x29, #48
	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
LBB0_15:
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_error
	mov	x0, x20
	bl	_fclose
	b	LBB0_12
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	bl	_process_archive
LBB0_17:
	mov	x19, x0
	mov	x0, x20
	bl	_fclose
	b	LBB0_13
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_SARMAG,4,2                     ; @SARMAG
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"'%s': No such file\n"

l_.str.1:                               ; @.str.1
	.asciz	"Could not locate '%s'.  System error message: %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"'%s' is not an ordinary file\n"

l_.str.3:                               ; @.str.3
	.asciz	"rb"

l_.str.4:                               ; @.str.4
	.asciz	"Input file '%s' is not readable.\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s: Failed to read file header\n"

	.comm	_ARMAG,4,2                      ; @ARMAG
	.comm	_archive_file_offset,8,3        ; @archive_file_offset
	.comm	_archive_file_size,8,3          ; @archive_file_size
	.no_dead_strip	_process_file
.subsections_via_symbols
