	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compressed_name
_compressed_name:                       ## @compressed_name
	.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, %r13
	movq	%rdi, %r14
	movq	_opt_format@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	_FORMAT_AUTO@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setne	%dil
	callq	_assert
	movslq	(%rbx), %rax
	leaq	-1(%rax), %rdx
	movq	%rdx, %rsi
	shlq	$5, %rsi
	leaq	_compressed_name.all_suffixes(%rip), %rcx
	movq	(%rsi,%rcx), %r15
	cmpl	$2, %edx
	je	LBB0_5
## %bb.1:
	shlq	$5, %rax
	leaq	(%rax,%rcx), %r12
	addq	$-24, %r12
	movq	%r15, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_test_suffix
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rbx
	addq	$8, %r12
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_5:
	movq	_custom_suffix@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.10:
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_test_suffix
	movq	(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_7
## %bb.11:
	movq	%r14, %rdi
	jmp	LBB0_12
LBB0_6:
	xorl	%esi, %esi
LBB0_7:
	movq	_opt_format@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_FORMAT_RAW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_13
## %bb.8:
	testq	%rsi, %rsi
	jne	LBB0_13
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_message_error
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_4:
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_12:
	callq	_msg_suffix
	xorl	%r12d, %r12d
	jmp	LBB0_14
LBB0_13:
	testq	%rsi, %rsi
	cmovneq	%rsi, %r15
	movq	%r15, %rdi
	callq	_strlen
	movslq	%eax, %rbx
	leaq	(%rbx,%r13), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%r13), %rdi
	incq	%rdi
	callq	_xmalloc
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_memcpy
	addq	%r12, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movb	$0, (%r12,%rax)
LBB0_14:
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__const
	.p2align	4                               ## @compressed_name.all_suffixes
_compressed_name.all_suffixes:
	.quad	L_.str
	.quad	L_.str.1
	.quad	0
	.quad	0
	.quad	L_.str.2
	.quad	L_.str.3
	.quad	0
	.quad	0
	.space	32

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".xz"

L_.str.1:                               ## @.str.1
	.asciz	".txz"

L_.str.2:                               ## @.str.2
	.asciz	".lzma"

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

	.comm	_opt_format,4,2                 ## @opt_format
	.comm	_FORMAT_AUTO,4,2                ## @FORMAT_AUTO
	.comm	_custom_suffix,8,3              ## @custom_suffix
	.comm	_FORMAT_RAW,4,2                 ## @FORMAT_RAW
L_.str.4:                               ## @.str.4
	.asciz	"%s: With --format=raw, --suffix=.SUF is required unless writing to stdout"

	.comm	_FORMAT_XZ,4,2                  ## @FORMAT_XZ
	.no_dead_strip	_compressed_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compressed_name
_compressed_name:                       ; @compressed_name
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _opt_format@GOTPAGE
Lloh1:
	ldr	x22, [x22, _opt_format@GOTPAGEOFF]
	ldr	w8, [x22]
Lloh2:
	adrp	x9, _FORMAT_AUTO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FORMAT_AUTO@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, ne
	bl	_assert
	ldrsw	x8, [x22]
	sub	x10, x8, #1
	lsl	x11, x10, #5
Lloh5:
	adrp	x9, _compressed_name.all_suffixes@PAGE
Lloh6:
	add	x9, x9, _compressed_name.all_suffixes@PAGEOFF
	ldr	x23, [x9, x11]
	cmp	w10, #2
	b.eq	LBB0_4
; %bb.1:
	add	x8, x9, x8, lsl #5
	sub	x24, x8, #24
	mov	x21, x23
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	bl	_test_suffix
	cbnz	x0, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x21, [x24], #8
	cbnz	x21, LBB0_2
LBB0_4:
Lloh7:
	adrp	x21, _custom_suffix@GOTPAGE
Lloh8:
	ldr	x21, [x21, _custom_suffix@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_7
; %bb.5:
	mov	x1, x19
	mov	x2, x20
	bl	_test_suffix
	ldr	x1, [x21]
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	b	LBB0_11
LBB0_7:
	mov	x1, #0
LBB0_8:
	ldr	w8, [x22]
Lloh9:
	adrp	x9, _FORMAT_RAW@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FORMAT_RAW@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	ccmp	x1, #0, #0, eq
	b.eq	LBB0_12
; %bb.9:
	cmp	x1, #0
	csel	x22, x23, x1, eq
	mov	x0, x22
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x23, w0
	add	x24, x23, x20
	add	x0, x24, #1
	bl	_xmalloc
	mov	x21, x0
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	add	x0, x21, x20
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	strb	wzr, [x21, x24]
	b	LBB0_14
LBB0_10:
	mov	x0, x19
	mov	x1, x21
LBB0_11:
	bl	_msg_suffix
	b	LBB0_13
LBB0_12:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_message_error
LBB0_13:
	mov	x21, #0
LBB0_14:
	mov	x0, x21
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @compressed_name.all_suffixes
_compressed_name.all_suffixes:
	.quad	l_.str
	.quad	l_.str.1
	.quad	0
	.quad	0
	.quad	l_.str.2
	.quad	l_.str.3
	.quad	0
	.quad	0
	.space	32

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".xz"

l_.str.1:                               ; @.str.1
	.asciz	".txz"

l_.str.2:                               ; @.str.2
	.asciz	".lzma"

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

	.comm	_opt_format,4,2                 ; @opt_format
	.comm	_FORMAT_AUTO,4,2                ; @FORMAT_AUTO
	.comm	_custom_suffix,8,3              ; @custom_suffix
	.comm	_FORMAT_RAW,4,2                 ; @FORMAT_RAW
l_.str.4:                               ; @.str.4
	.asciz	"%s: With --format=raw, --suffix=.SUF is required unless writing to stdout"

	.comm	_FORMAT_XZ,4,2                  ; @FORMAT_XZ
	.no_dead_strip	_compressed_name
.subsections_via_symbols
