	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract_file                   ## -- Begin function extract_file
	.p2align	4, 0x90
_extract_file:                          ## @extract_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r14
	leaq	-88(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_bfd_stat_arch_elt
	testq	%rax, %rax
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	__
	movslq	%eax, %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_get_filename
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_2:
	movq	-88(%rbp), %r12
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_4:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bfd_seek
	testq	%r12, %r12
	je	LBB0_15
## %bb.5:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	%r12, %r15
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	cmpq	%r15, %r12
	jbe	LBB0_18
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	subq	%r15, %r12
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r12
	cmovaeq	%rax, %r12
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_bfd_bread
	movq	%rax, %r13
	cmpq	%r12, %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	__
	movq	%r14, %rbx
	movslq	%eax, %r14
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_my_archive
	movq	%rax, %rdi
	callq	_bfd_get_filename
	movq	%r14, %rdi
	movq	%rbx, %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fatal
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	movq	_output_filename@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	movq	_FOPEN_WB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_fopen
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_output_file@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r14, %rdi
	movl	$1, %esi
	movq	%r13, %rdx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_fwrite
	cmpq	%r13, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_output_filename@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_fatal
	jmp	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_extract_file.cold.2
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_11
LBB0_15:
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	movq	_output_filename@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	movq	_FOPEN_WB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_16
LBB0_17:
	movq	_output_file@GOTPCREL(%rip), %rdx
	movq	%rax, %rcx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, (%rdx)
LBB0_18:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_20
## %bb.19:
	callq	_fclose
LBB0_20:
	movq	_output_file@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_output_filename@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	movl	-72(%rbp), %esi
	movq	%rax, %rdi
	callq	_chmod
	movq	_preserve_dates@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.21:
	movl	-80(%rbp), %eax
	movl	%eax, -76(%rbp)
	movq	%rbx, %rdi
	callq	_bfd_get_filename
	leaq	-88(%rbp), %rsi
	movq	%rax, %rdi
	callq	_set_times
LBB0_22:
	movq	%r14, %rdi
	callq	_free
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%rbx, %rdi
	movq	%rax, %r15
	callq	_extract_file.cold.1
	movq	%r15, %rax
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function extract_file.cold.1
_extract_file.cold.1:                   ## @extract_file.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_bfd_get_filename
	movq	%rax, %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_xexit
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function extract_file.cold.2
_extract_file.cold.2:                   ## @extract_file.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_bfd_get_filename
	movq	%rax, %rdi
	callq	_perror
	pushq	$1
	popq	%rdi
	callq	_xexit
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZE,8,3                    ## @BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal stat error on %s"

	.comm	_verbose,8,3                    ## @verbose
L_.str.1:                               ## @.str.1
	.asciz	"x - %s\n"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_output_filename,8,3            ## @output_filename
	.comm	_FOPEN_WB,4,2                   ## @FOPEN_WB
	.comm	_output_file,8,3                ## @output_file
L_.str.2:                               ## @.str.2
	.asciz	"%s is not a valid archive"

L_.str.3:                               ## @.str.3
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_preserve_dates,8,3             ## @preserve_dates
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_extract_file                   ; -- Begin function extract_file
	.p2align	2
_extract_file:                          ; @extract_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x27, _BUFSIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _BUFSIZE@GOTPAGEOFF]
	ldr	x0, [x27]
	bl	_xmalloc
	mov	x19, x0
	add	x1, sp, #8
	mov	x0, x20
	bl	_bfd_stat_arch_elt
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x21, w0
	mov	x0, x20
	bl	_bfd_get_filename
	mov	x1, x0
	mov	x0, x21
	bl	_fatal
LBB0_2:
	ldr	x22, [sp, #8]
Lloh4:
	adrp	x8, _verbose@GOTPAGE
Lloh5:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_bfd_get_filename
	mov	x1, x0
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
LBB0_4:
Lloh9:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_bfd_seek
Lloh12:
	adrp	x28, _output_filename@GOTPAGE
Lloh13:
	ldr	x28, [x28, _output_filename@GOTPAGEOFF]
	cbz	x22, LBB0_15
; %bb.5:
	mov	x21, #0
	mov	x23, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x23, x24, x23
	cmp	x22, x23
	b.ls	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	sub	x9, x22, x23
	cmp	x9, x8
	csel	x24, x9, x8, lo
	mov	x0, x19
	mov	x1, x24
	mov	x2, x20
	bl	_bfd_bread
	mov	x25, x0
	cmp	x0, x24
	b.eq	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	__
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x26, w0
	mov	x0, x20
	bl	_bfd_my_archive
	bl	_bfd_get_filename
	mov	x1, x0
	mov	x0, x26
	bl	_fatal
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	cbnz	x21, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_bfd_get_filename
	str	x0, [x28]
	mov	x0, x20
	bl	_bfd_get_filename
Lloh16:
	adrp	x8, _FOPEN_WB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FOPEN_WB@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_fopen
	mov	x21, x0
	cbz	x0, LBB0_14
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh19:
	adrp	x8, _output_file@GOTPAGE
Lloh20:
	ldr	x8, [x8, _output_file@GOTPAGEOFF]
Lloh21:
	str	x21, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	w1, #1
	mov	x2, x25
	mov	x3, x21
	bl	_fwrite
	cmp	x0, x25
	b.eq	LBB0_6
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x25, [x28]
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x25
	bl	_fatal
	b	LBB0_6
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x20
	bl	_extract_file.cold.2
	b	LBB0_11
LBB0_15:
	mov	x0, x20
	bl	_bfd_get_filename
	str	x0, [x28]
	mov	x0, x20
	bl	_bfd_get_filename
Lloh27:
	adrp	x8, _FOPEN_WB@GOTPAGE
Lloh28:
	ldr	x8, [x8, _FOPEN_WB@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	bl	_fopen
	mov	x21, x0
	cbz	x0, LBB0_22
LBB0_16:
Lloh30:
	adrp	x8, _output_file@GOTPAGE
Lloh31:
	ldr	x8, [x8, _output_file@GOTPAGEOFF]
Lloh32:
	str	x21, [x8]
LBB0_17:
	cbz	x21, LBB0_19
; %bb.18:
	mov	x0, x21
	bl	_fclose
LBB0_19:
Lloh33:
	adrp	x8, _output_file@GOTPAGE
Lloh34:
	ldr	x8, [x8, _output_file@GOTPAGEOFF]
Lloh35:
	str	xzr, [x8]
	str	xzr, [x28]
	mov	x0, x20
	bl	_bfd_get_filename
	ldr	w1, [sp, #24]
	bl	_chmod
Lloh36:
	adrp	x8, _preserve_dates@GOTPAGE
Lloh37:
	ldr	x8, [x8, _preserve_dates@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %bb.20:
	ldr	w8, [sp, #16]
	str	w8, [sp, #20]
	mov	x0, x20
	bl	_bfd_get_filename
	add	x1, sp, #8
	bl	_set_times
LBB0_21:
	mov	x0, x19
	bl	_free
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
	mov	x0, x20
	bl	_extract_file.cold.1
	b	LBB0_16
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function extract_file.cold.1
_extract_file.cold.1:                   ; @extract_file.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_bfd_get_filename
	bl	_perror
	mov	w0, #1
	bl	_xexit
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function extract_file.cold.2
_extract_file.cold.2:                   ; @extract_file.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_bfd_get_filename
	bl	_perror
	mov	w0, #1
	bl	_xexit
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZE,8,3                    ; @BUFSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal stat error on %s"

	.comm	_verbose,8,3                    ; @verbose
l_.str.1:                               ; @.str.1
	.asciz	"x - %s\n"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_output_filename,8,3            ; @output_filename
	.comm	_FOPEN_WB,4,2                   ; @FOPEN_WB
	.comm	_output_file,8,3                ; @output_file
l_.str.2:                               ; @.str.2
	.asciz	"%s is not a valid archive"

l_.str.3:                               ; @.str.3
	.asciz	"%s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_preserve_dates,8,3             ; @preserve_dates
.subsections_via_symbols
