	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extract_file
_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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, -112(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rsi, %rdi
	callq	_archive_entry_mode
	andl	$511, %eax                      ## imm = 0x1FF
	movl	$420, %ecx                      ## imm = 0x1A4
	cmovnel	%eax, %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_archive_entry_mtime
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	callq	_archive_entry_mtime_nsec
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	leaq	-144(%rbp), %r14
	movq	_f_opt@GOTPCREL(%rip), %r13
	movq	_o_opt@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r15
	movq	(%rbx), %rdi
	movq	%r14, %rsi
	callq	_lstat
	testq	%rax, %rax
	jne	LBB0_13
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_u_opt@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	(%r13), %rax
	jne	LBB0_3
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r12)
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_n_opt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_31
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rbx
	movq	%r15, %rdi
	callq	_handle_existing_file
	testl	%eax, %eax
	je	LBB0_1
## %bb.12:
	cmpl	$-1, %eax
	jne	LBB0_14
	jmp	LBB0_31
LBB0_13:
	cmpq	$0, (%r13)
	jne	LBB0_31
	jmp	LBB0_14
LBB0_3:
	movl	-128(%rbp), %r14d
	movl	%r14d, %edi
	callq	_S_ISREG
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %edi
	callq	_S_ISLNK
	testq	%rax, %rax
	je	LBB0_8
LBB0_5:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	%rax, -144(%rbp)
	jg	LBB0_31
## %bb.6:
	jne	LBB0_8
## %bb.7:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -136(%rbp)
	jge	LBB0_31
LBB0_8:
	movq	(%r15), %rdi
	callq	_unlink
LBB0_14:
	movq	$0, -80(%rbp)
	movq	_UTIME_NOW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -64(%rbp)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	callq	_archive_entry_symlink
	movq	%r15, %rbx
	movq	(%r15), %rsi
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_symlink
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_error
LBB0_17:
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rdx
	xorl	%eax, %eax
	callq	_info
	movq	(%rbx), %rdi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	callq	_lchmod
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_warning
LBB0_19:
	movq	_AT_FDCWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rsi
	movq	_AT_SYMLINK_NOFOLLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-80(%rbp), %rdx
	callq	_utimensat
	testq	%rax, %rax
	je	LBB0_31
## %bb.20:
	movq	(%r15), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_warning
	jmp	LBB0_31
LBB0_21:
	movq	_O_RDWR@GOTPCREL(%rip), %rcx
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	movq	_O_TRUNC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rsi, %rdi
	movl	%eax, %esi
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	callq	_open
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_23
## %bb.22:
	movq	(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	callq	_error
LBB0_23:
	movq	(%rbx), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
	movq	(%rbx), %rsi
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %edx
	callq	_extract2fd
	movl	%eax, %r12d
	movq	_tty@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_25
## %bb.24:
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
LBB0_25:
	testl	%r12d, %r12d
	je	LBB0_27
## %bb.26:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
LBB0_27:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_info
	leaq	-80(%rbp), %rsi
	movl	%r14d, %edi
	callq	_futimens
	testq	%rax, %rax
	je	LBB0_29
## %bb.28:
	movq	(%rbx), %rsi
	leaq	L_.str.9(%rip), %rdi
	callq	_error
LBB0_29:
	movl	%r14d, %edi
	callq	_close
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	(%r15), %rsi
	leaq	L_.str.10(%rip), %rdi
	callq	_error
LBB0_31:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.32:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_u_opt,8,3                      ## @u_opt
	.comm	_f_opt,8,3                      ## @f_opt
	.comm	_o_opt,8,3                      ## @o_opt
	.comm	_n_opt,8,3                      ## @n_opt
	.comm	_UTIME_NOW,8,3                  ## @UTIME_NOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"symlink('%s')"

L_.str.1:                               ## @.str.1
	.asciz	" extracting: %s -> %s\n"

L_.str.2:                               ## @.str.2
	.asciz	"Cannot set mode for '%s'"

	.comm	_AT_FDCWD,4,2                   ## @AT_FDCWD
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ## @AT_SYMLINK_NOFOLLOW
L_.str.3:                               ## @.str.3
	.asciz	"utimensat('%s')"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
L_.str.4:                               ## @.str.4
	.asciz	"open('%s')"

L_.str.5:                               ## @.str.5
	.asciz	" extracting: %s"

	.comm	_tty,8,3                        ## @tty
L_.str.6:                               ## @.str.6
	.asciz	"  \b\b"

L_.str.7:                               ## @.str.7
	.asciz	" (text)"

L_.str.8:                               ## @.str.8
	.asciz	"\n"

L_.str.9:                               ## @.str.9
	.asciz	"futimens('%s')"

L_.str.10:                              ## @.str.10
	.asciz	"close('%s')"

	.no_dead_strip	_extract_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extract_file
_extract_file:                          ; @extract_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	mov	x0, x1
	bl	_archive_entry_mode
	ands	w8, w0, #0x1ff
	mov	w9, #420
	csel	w21, w9, w8, eq
	mov	x0, x22
	bl	_archive_entry_mtime
	mov	x23, x0
	mov	x0, x22
	bl	_archive_entry_mtime_nsec
	mov	x24, x0
Lloh3:
	adrp	x26, _u_opt@GOTPAGE
Lloh4:
	ldr	x26, [x26, _u_opt@GOTPAGEOFF]
Lloh5:
	adrp	x25, _f_opt@GOTPAGE
Lloh6:
	ldr	x25, [x25, _f_opt@GOTPAGEOFF]
Lloh7:
	adrp	x27, _o_opt@GOTPAGE
Lloh8:
	ldr	x27, [x27, _o_opt@GOTPAGEOFF]
Lloh9:
	adrp	x28, _n_opt@GOTPAGE
Lloh10:
	ldr	x28, [x28, _n_opt@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	add	x1, sp, #16
	bl	_lstat
	cbnz	x0, LBB0_7
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x25]
	orr	x8, x8, x9
	cbnz	x8, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x27]
	cbnz	x8, LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x28]
	cbnz	x8, LBB0_31
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_handle_existing_file
	cbz	w0, LBB0_1
; %bb.6:
	cmn	w0, #1
	b.ne	LBB0_14
	b	LBB0_31
LBB0_7:
	ldr	x8, [x25]
	cbnz	x8, LBB0_31
	b	LBB0_14
LBB0_8:
	ldr	w25, [sp, #32]
	mov	x0, x25
	bl	_S_ISREG
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x25
	bl	_S_ISLNK
	cbz	x0, LBB0_13
LBB0_10:
	ldr	x8, [sp, #16]
	cmp	x8, x23
	b.gt	LBB0_31
; %bb.11:
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [sp, #24]
	cmp	x8, x24
	b.ge	LBB0_31
LBB0_13:
	ldr	x0, [x19]
	bl	_unlink
LBB0_14:
Lloh11:
	adrp	x8, _UTIME_NOW@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UTIME_NOW@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	stp	xzr, x8, [sp, #40]
	stp	x23, x24, [sp, #56]
	mov	x0, x22
	bl	_archive_entry_symlink
	ldr	x1, [x19]
	cbz	x0, LBB0_21
; %bb.15:
	mov	x22, x0
	bl	_symlink
	cbz	x0, LBB0_17
; %bb.16:
	ldr	x1, [x19]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_17:
	ldr	x8, [x19]
	stp	x8, x22, [sp]
Lloh16:
	adrp	x0, l_.str.1@PAGE
Lloh17:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_info
	ldr	x0, [x19]
	mov	x1, x21
	bl	_lchmod
	cbz	x0, LBB0_19
; %bb.18:
	ldr	x1, [x19]
Lloh18:
	adrp	x0, l_.str.2@PAGE
Lloh19:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warning
LBB0_19:
Lloh20:
	adrp	x8, _AT_FDCWD@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AT_FDCWD@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	x1, [x19]
Lloh23:
	adrp	x8, _AT_SYMLINK_NOFOLLOW@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AT_SYMLINK_NOFOLLOW@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	add	x2, sp, #40
	bl	_utimensat
	cbz	x0, LBB0_31
; %bb.20:
	ldr	x1, [x19]
Lloh26:
	adrp	x0, l_.str.3@PAGE
Lloh27:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warning
	b	LBB0_31
LBB0_21:
Lloh28:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh32:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh34:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh35:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	orr	w8, w8, w9
	mov	x0, x1
	mov	x1, x8
	mov	x2, x21
	bl	_open
	mov	x21, x0
	tbz	w0, #31, LBB0_23
; %bb.22:
	ldr	x1, [x19]
Lloh37:
	adrp	x0, l_.str.4@PAGE
Lloh38:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_error
LBB0_23:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.5@PAGE
Lloh40:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_info
	ldr	x1, [x19]
	mov	x0, x20
	mov	x2, x21
	bl	_extract2fd
	mov	x20, x0
Lloh41:
	adrp	x8, _tty@GOTPAGE
Lloh42:
	ldr	x8, [x8, _tty@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.24:
Lloh44:
	adrp	x0, l_.str.6@PAGE
Lloh45:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_info
LBB0_25:
	cbz	w20, LBB0_27
; %bb.26:
Lloh46:
	adrp	x0, l_.str.7@PAGE
Lloh47:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_info
LBB0_27:
Lloh48:
	adrp	x0, l_.str.8@PAGE
Lloh49:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_info
	add	x1, sp, #40
	mov	x0, x21
	bl	_futimens
	cbz	x0, LBB0_29
; %bb.28:
	ldr	x1, [x19]
Lloh50:
	adrp	x0, l_.str.9@PAGE
Lloh51:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_error
LBB0_29:
	mov	x0, x21
	bl	_close
	cbz	x0, LBB0_31
; %bb.30:
	ldr	x1, [x19]
Lloh52:
	adrp	x0, l_.str.10@PAGE
Lloh53:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_error
LBB0_31:
	ldr	x8, [sp, #72]
Lloh54:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh55:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_33
; %bb.32:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_33:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.cfi_endproc
                                        ; -- End function
	.comm	_u_opt,8,3                      ; @u_opt
	.comm	_f_opt,8,3                      ; @f_opt
	.comm	_o_opt,8,3                      ; @o_opt
	.comm	_n_opt,8,3                      ; @n_opt
	.comm	_UTIME_NOW,8,3                  ; @UTIME_NOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"symlink('%s')"

l_.str.1:                               ; @.str.1
	.asciz	" extracting: %s -> %s\n"

l_.str.2:                               ; @.str.2
	.asciz	"Cannot set mode for '%s'"

	.comm	_AT_FDCWD,4,2                   ; @AT_FDCWD
	.comm	_AT_SYMLINK_NOFOLLOW,4,2        ; @AT_SYMLINK_NOFOLLOW
l_.str.3:                               ; @.str.3
	.asciz	"utimensat('%s')"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
l_.str.4:                               ; @.str.4
	.asciz	"open('%s')"

l_.str.5:                               ; @.str.5
	.asciz	" extracting: %s"

	.comm	_tty,8,3                        ; @tty
l_.str.6:                               ; @.str.6
	.asciz	"  \b\b"

l_.str.7:                               ; @.str.7
	.asciz	" (text)"

l_.str.8:                               ; @.str.8
	.asciz	"\n"

l_.str.9:                               ; @.str.9
	.asciz	"futimens('%s')"

l_.str.10:                              ; @.str.10
	.asciz	"close('%s')"

	.no_dead_strip	_extract_file
.subsections_via_symbols
