	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %r15
	movl	%edi, %ebx
	movq	_LC_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_setlocale
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_listf@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movq	_O_CLOEXEC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_open
	movq	_cwdfd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r12
	cmpb	$0, (%rax)
	jne	LBB0_5
LBB0_4:
	movq	__PATH_TMP@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_5:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_strlen
	leaq	5(%rax), %rcx
	shlq	$2, %rax
	xorq	$-4, %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	movq	%rax, %r13
	cmpq	$5, %rcx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rbx), %rcx
	leaq	4(%r13), %rax
	cmpb	$47, -6(%r12,%rbx)
	je	LBB0_6
LBB0_8:
	movq	%rbx, %rdi
	callq	_malloc
	movq	_tempfile@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	cmpq	$5, %rbx
	je	LBB0_12
## %bb.11:
	leaq	-5(%rbx), %rdx
	movq	%rax, %rdi
	movq	%r12, %rsi
	callq	_memcpy
	movq	(%r14), %rax
LBB0_12:
	movq	%r15, %rsi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%rax, %rcx
	subq	%r13, %rcx
	movq	_tempbase@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movl	$47, -20(%rax,%rbx,4)
	callq	_options
	xorl	%eax, %eax
	callq	_gen_init
	testq	%rax, %rax
	js	LBB0_23
## %bb.13:
	xorl	%eax, %eax
	callq	_tty_init
	testq	%rax, %rax
	js	LBB0_23
## %bb.14:
	movq	_act@GOTPCREL(%rip), %rcx
	movl	$-129, %eax
	addl	(%rcx), %eax
	cmpl	$3, %eax
	ja	LBB0_22
## %bb.15:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_16:
	xorl	%eax, %eax
	callq	_extract
	jmp	LBB0_23
LBB0_1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%edi, %edi
	callq	_syswarn
	jmp	LBB0_23
LBB0_9:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_paxwarn
LBB0_23:
	movq	_exit_val@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	xorl	%eax, %eax
	callq	_list
	jmp	LBB0_23
LBB0_21:
	xorl	%eax, %eax
	callq	_copy
	jmp	LBB0_23
LBB0_17:
	xorl	%eax, %eax
	callq	_archive
	jmp	LBB0_23
LBB0_18:
	movq	_gzip_program@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.19:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_20:
	xorl	%eax, %eax
	callq	_append
	jmp	LBB0_23
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_21
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_LC_ALL,4,2                     ## @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_stderr,4,2                     ## @stderr
	.comm	_listf,4,2                      ## @listf
L_.str.1:                               ## @.str.1
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ## @O_CLOEXEC
	.comm	_cwdfd,8,3                      ## @cwdfd
	.comm	_errno,4,2                      ## @errno
L_.str.2:                               ## @.str.2
	.asciz	"Can't open current working directory."

	.comm	_exit_val,4,2                   ## @exit_val
L_.str.3:                               ## @.str.3
	.asciz	"TMPDIR"

	.comm	__PATH_TMP,8,3                  ## @_PATH_TMP
	.comm	_tempfile,8,3                   ## @tempfile
L_.str.4:                               ## @.str.4
	.asciz	"Cannot allocate memory for temp file name."

	.comm	_tempbase,8,3                   ## @tempbase
	.comm	_act,4,2                        ## @act
	.comm	_gzip_program,8,3               ## @gzip_program
L_.str.5:                               ## @.str.5
	.asciz	"can not gzip while appending"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _LC_ALL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LC_ALL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_setlocale
Lloh5:
	adrp	x8, _stderr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _listf@GOTPAGE
Lloh9:
	ldr	x9, [x9, _listf@GOTPAGEOFF]
Lloh10:
	adrp	x10, _O_RDONLY@GOTPAGE
Lloh11:
	ldr	x10, [x10, _O_RDONLY@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
Lloh13:
	ldr	w8, [x10]
Lloh14:
	adrp	x9, _O_CLOEXEC@GOTPAGE
Lloh15:
	ldr	x9, [x9, _O_CLOEXEC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	orr	w1, w9, w8
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_open
Lloh19:
	adrp	x8, _cwdfd@GOTPAGE
Lloh20:
	ldr	x8, [x8, _cwdfd@GOTPAGEOFF]
Lloh21:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_15
; %bb.1:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_3
; %bb.2:
	mov	x21, x0
	ldrb	w8, [x0]
	cbnz	w8, LBB0_4
LBB0_3:
Lloh24:
	adrp	x8, __PATH_TMP@GOTPAGE
Lloh25:
	ldr	x8, [x8, __PATH_TMP@GOTPAGEOFF]
Lloh26:
	ldr	x21, [x8]
LBB0_4:
	sub	x24, x21, #1
	mov	x0, x21
	bl	_strlen
	mov	x8, #-4
	sub	x8, x8, x0, lsl #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x22, x0
	mov	x23, x8
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x0, x22, #1
	ldrb	w9, [x24, x22]
	add	x8, x23, #4
	cmp	w9, #47
	b.eq	LBB0_5
LBB0_7:
	add	x0, x22, #5
	bl	_malloc
Lloh27:
	adrp	x24, _tempfile@GOTPAGE
Lloh28:
	ldr	x24, [x24, _tempfile@GOTPAGEOFF]
	str	x0, [x24]
	cbz	x0, LBB0_16
; %bb.8:
	cbz	x22, LBB0_10
; %bb.9:
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x0, [x24]
LBB0_10:
	sub	x8, x0, x23
Lloh29:
	adrp	x9, _tempbase@GOTPAGE
Lloh30:
	ldr	x9, [x9, _tempbase@GOTPAGEOFF]
Lloh31:
	str	x8, [x9]
	mov	w8, #47
	str	w8, [x0, x22, lsl #2]
	mov	x0, x20
	mov	x1, x19
	bl	_options
	bl	_gen_init
	tbnz	x0, #63, LBB0_17
; %bb.11:
	bl	_tty_init
	tbnz	x0, #63, LBB0_17
; %bb.12:
Lloh32:
	adrp	x8, _act@GOTPAGE
Lloh33:
	ldr	x8, [x8, _act@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	sub	w8, w8, #129
	cmp	w8, #3
	b.hi	LBB0_18
; %bb.13:
Lloh35:
	adrp	x9, lJTI0_0@PAGE
Lloh36:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_14
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_14:
	bl	_extract
	b	LBB0_17
LBB0_15:
Lloh37:
	adrp	x8, _errno@GOTPAGE
Lloh38:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x2, l_.str.2@PAGE
Lloh41:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w0, #0
	bl	_syswarn
	b	LBB0_17
LBB0_16:
Lloh42:
	adrp	x1, l_.str.4@PAGE
Lloh43:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_paxwarn
LBB0_17:
Lloh44:
	adrp	x8, _exit_val@GOTPAGE
Lloh45:
	ldr	x8, [x8, _exit_val@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	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_18:
	bl	_list
	b	LBB0_17
LBB0_19:
	bl	_copy
	b	LBB0_17
LBB0_20:
	bl	_archive
	b	LBB0_17
LBB0_21:
Lloh47:
	adrp	x8, _gzip_program@GOTPAGE
Lloh48:
	ldr	x8, [x8, _gzip_program@GOTPAGEOFF]
Lloh49:
	ldr	x8, [x8]
	cbz	x8, LBB0_23
; %bb.22:
Lloh50:
	adrp	x1, l_.str.5@PAGE
Lloh51:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_23:
	bl	_append
	b	LBB0_17
	.loh AdrpLdrGotStr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_14-LBB0_14)>>2
	.byte	(LBB0_19-LBB0_14)>>2
	.byte	(LBB0_20-LBB0_14)>>2
	.byte	(LBB0_21-LBB0_14)>>2
                                        ; -- End function
	.comm	_LC_ALL,4,2                     ; @LC_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_stderr,4,2                     ; @stderr
	.comm	_listf,4,2                      ; @listf
l_.str.1:                               ; @.str.1
	.asciz	"."

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_O_CLOEXEC,4,2                  ; @O_CLOEXEC
	.comm	_cwdfd,8,3                      ; @cwdfd
	.comm	_errno,4,2                      ; @errno
l_.str.2:                               ; @.str.2
	.asciz	"Can't open current working directory."

	.comm	_exit_val,4,2                   ; @exit_val
l_.str.3:                               ; @.str.3
	.asciz	"TMPDIR"

	.comm	__PATH_TMP,8,3                  ; @_PATH_TMP
	.comm	_tempfile,8,3                   ; @tempfile
l_.str.4:                               ; @.str.4
	.asciz	"Cannot allocate memory for temp file name."

	.comm	_tempbase,8,3                   ; @tempbase
	.comm	_act,4,2                        ; @act
	.comm	_gzip_program,8,3               ; @gzip_program
l_.str.5:                               ; @.str.5
	.asciz	"can not gzip while appending"

.subsections_via_symbols
