	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_args_parse                     ## -- Begin function args_parse
	.p2align	4, 0x90
_args_parse:                            ## @args_parse
	.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	%rdx, %r15
	movl	%esi, %r14d
	movq	%rdi, %r13
	movb	$0, (%rdi)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%rdi)
	movq	(%rdx), %r12
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rbx
	testq	%rax, %rax
	cmoveq	%r12, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_2
LBB0_1:
	movq	_MODE_DECOMPRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_opt_mode@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_opt_stdout@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_11
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_MODE_DECOMPRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_opt_mode@GOTPCREL(%rip), %rcx
LBB0_10:
	movq	%rax, (%rcx)
LBB0_11:
	leaq	L_.str.5(%rip), %rdx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_parse_environment
	movq	(%r15), %rsi
	leaq	L_.str.6(%rip), %rdx
	movq	%r13, %rdi
	callq	_parse_environment
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_parse_real
	movq	_opt_mode@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	_MODE_COMPRESS@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.7(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_message_fatal
	movq	(%rbx), %rax
	movq	(%r12), %rcx
LBB0_13:
	cmpq	%rcx, %rax
	je	LBB0_15
## %bb.14:
	leaq	L_.str.8(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_message_fatal
LBB0_15:
	movq	_opt_stdout@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	movq	(%rbx), %rax
	jne	LBB0_17
## %bb.16:
	movq	_MODE_TEST@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_18
LBB0_17:
	movq	_opt_keep_original@GOTPCREL(%rip), %rdx
	movl	$1, (%rdx)
	movl	$1, (%rcx)
LBB0_18:
	movq	_opt_format@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	(%r12), %rax
	jne	LBB0_21
## %bb.19:
	movq	_FORMAT_AUTO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_22
## %bb.20:
	movq	_FORMAT_XZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
	jmp	LBB0_22
LBB0_21:
	movq	_FORMAT_RAW@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_23
LBB0_22:
	xorl	%eax, %eax
	callq	_coder_set_compression_settings
LBB0_23:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r15,%rax,8)
	jne	LBB0_26
## %bb.24:
	leaq	24(%r13), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_25
LBB0_26:
	leaq	(%r15,%rax,8), %rcx
	movq	%rcx, 8(%r13)
	subl	%eax, %r14d
LBB0_27:
	movl	%r14d, 16(%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_FORMAT_LZMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_opt_format@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_25:
	leaq	_args_parse.names_stdin(%rip), %rax
	movq	%rax, 8(%r13)
	movl	$1, %r14d
	jmp	LBB0_27
LBB0_6:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_FORMAT_LZMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_opt_format@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_3
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	movq	_FORMAT_LZMA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_opt_format@GOTPCREL(%rip), %rcx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xzcat"

	.comm	_MODE_DECOMPRESS,8,3            ## @MODE_DECOMPRESS
	.comm	_opt_mode,8,3                   ## @opt_mode
	.comm	_opt_stdout,4,2                 ## @opt_stdout
L_.str.1:                               ## @.str.1
	.asciz	"unxz"

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

	.comm	_FORMAT_LZMA,8,3                ## @FORMAT_LZMA
	.comm	_opt_format,8,3                 ## @opt_format
L_.str.3:                               ## @.str.3
	.asciz	"unlzma"

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

L_.str.5:                               ## @.str.5
	.asciz	"XZ_DEFAULTS"

L_.str.6:                               ## @.str.6
	.asciz	"XZ_OPT"

	.comm	_MODE_COMPRESS,8,3              ## @MODE_COMPRESS
L_.str.7:                               ## @.str.7
	.asciz	"Compression support was disabled at build time"

L_.str.8:                               ## @.str.8
	.asciz	"Decompression support was disabled at build time"

	.comm	_MODE_TEST,8,3                  ## @MODE_TEST
	.comm	_opt_keep_original,4,2          ## @opt_keep_original
	.comm	_FORMAT_AUTO,8,3                ## @FORMAT_AUTO
	.comm	_FORMAT_XZ,8,3                  ## @FORMAT_XZ
	.comm	_FORMAT_RAW,8,3                 ## @FORMAT_RAW
	.comm	_optind,8,3                     ## @optind
	.section	__DATA,__data
	.p2align	4                               ## @args_parse.names_stdin
_args_parse.names_stdin:
	.quad	L_.str.9
	.quad	0

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_args_parse                     ; -- Begin function args_parse
	.p2align	2
_args_parse:                            ; @args_parse
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x24, x0
	str	xzr, [x24, #24]!
	strb	wzr, [x0]
	str	xzr, [x0, #32]
	ldr	x22, [x2]
	mov	x0, x22
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x23, x22, x0, eq
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_strstr
Lloh2:
	adrp	x27, _opt_mode@GOTPAGE
Lloh3:
	ldr	x27, [x27, _opt_mode@GOTPAGEOFF]
Lloh4:
	adrp	x26, _opt_stdout@GOTPAGE
Lloh5:
	ldr	x26, [x26, _opt_stdout@GOTPAGEOFF]
Lloh6:
	adrp	x25, _opt_format@GOTPAGE
Lloh7:
	ldr	x25, [x25, _opt_format@GOTPAGEOFF]
	cbz	x0, LBB0_2
LBB0_1:
Lloh8:
	adrp	x8, _MODE_DECOMPRESS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MODE_DECOMPRESS@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	str	x8, [x27]
	mov	w8, #1
	str	w8, [x26]
	b	LBB0_4
LBB0_2:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x23
	bl	_strstr
	cbz	x0, LBB0_20
LBB0_3:
Lloh13:
	adrp	x8, _MODE_DECOMPRESS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MODE_DECOMPRESS@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x27]
LBB0_4:
Lloh16:
	adrp	x2, l_.str.5@PAGE
Lloh17:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_parse_environment
	ldr	x1, [x21]
Lloh18:
	adrp	x2, l_.str.6@PAGE
Lloh19:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	bl	_parse_environment
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_parse_real
	ldr	x8, [x27]
Lloh20:
	adrp	x22, _MODE_COMPRESS@GOTPAGE
Lloh21:
	ldr	x22, [x22, _MODE_COMPRESS@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	__
	bl	_message_fatal
	ldr	x8, [x27]
	ldr	x9, [x22]
LBB0_6:
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.7:
Lloh24:
	adrp	x0, l_.str.8@PAGE
Lloh25:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	__
	bl	_message_fatal
LBB0_8:
	ldr	w9, [x26]
	ldr	x8, [x27]
	cbnz	w9, LBB0_10
; %bb.9:
Lloh26:
	adrp	x9, _MODE_TEST@GOTPAGE
Lloh27:
	ldr	x9, [x9, _MODE_TEST@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
LBB0_10:
Lloh29:
	adrp	x9, _opt_keep_original@GOTPAGE
Lloh30:
	ldr	x9, [x9, _opt_keep_original@GOTPAGEOFF]
	mov	w10, #1
Lloh31:
	str	w10, [x9]
	str	w10, [x26]
LBB0_11:
	ldr	x10, [x22]
	ldr	x9, [x25]
	cmp	x8, x10
	b.ne	LBB0_14
; %bb.12:
Lloh32:
	adrp	x8, _FORMAT_AUTO@GOTPAGE
Lloh33:
	ldr	x8, [x8, _FORMAT_AUTO@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.13:
Lloh35:
	adrp	x8, _FORMAT_XZ@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FORMAT_XZ@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	str	x8, [x25]
	b	LBB0_15
LBB0_14:
Lloh38:
	adrp	x8, _FORMAT_RAW@GOTPAGE
Lloh39:
	ldr	x8, [x8, _FORMAT_RAW@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_16
LBB0_15:
	bl	_coder_set_compression_settings
LBB0_16:
Lloh41:
	adrp	x8, _optind@GOTPAGE
Lloh42:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	add	x9, x21, x8, lsl #3
	ldr	x10, [x9]
	cbnz	x10, LBB0_18
; %bb.17:
	ldr	x10, [x24]
	cbz	x10, LBB0_22
LBB0_18:
	str	x9, [x19, #8]
	sub	w8, w20, w8
LBB0_19:
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_20:
Lloh44:
	adrp	x1, l_.str.2@PAGE
Lloh45:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x23
	bl	_strstr
	cbz	x0, LBB0_23
; %bb.21:
Lloh46:
	adrp	x8, _FORMAT_LZMA@GOTPAGE
Lloh47:
	ldr	x8, [x8, _FORMAT_LZMA@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	str	x8, [x25]
	b	LBB0_1
LBB0_22:
Lloh49:
	adrp	x8, _args_parse.names_stdin@PAGE
Lloh50:
	add	x8, x8, _args_parse.names_stdin@PAGEOFF
	str	x8, [x19, #8]
	mov	w8, #1
	b	LBB0_19
LBB0_23:
Lloh51:
	adrp	x1, l_.str.3@PAGE
Lloh52:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x23
	bl	_strstr
	cbz	x0, LBB0_25
; %bb.24:
Lloh53:
	adrp	x8, _FORMAT_LZMA@GOTPAGE
Lloh54:
	ldr	x8, [x8, _FORMAT_LZMA@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	str	x8, [x25]
	b	LBB0_3
LBB0_25:
Lloh56:
	adrp	x1, l_.str.4@PAGE
Lloh57:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x23
	bl	_strstr
	cbz	x0, LBB0_4
; %bb.26:
Lloh58:
	adrp	x8, _FORMAT_LZMA@GOTPAGE
Lloh59:
	ldr	x8, [x8, _FORMAT_LZMA@GOTPAGEOFF]
Lloh60:
	ldr	x8, [x8]
	str	x8, [x25]
	b	LBB0_4
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xzcat"

	.comm	_MODE_DECOMPRESS,8,3            ; @MODE_DECOMPRESS
	.comm	_opt_mode,8,3                   ; @opt_mode
	.comm	_opt_stdout,4,2                 ; @opt_stdout
l_.str.1:                               ; @.str.1
	.asciz	"unxz"

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

	.comm	_FORMAT_LZMA,8,3                ; @FORMAT_LZMA
	.comm	_opt_format,8,3                 ; @opt_format
l_.str.3:                               ; @.str.3
	.asciz	"unlzma"

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

l_.str.5:                               ; @.str.5
	.asciz	"XZ_DEFAULTS"

l_.str.6:                               ; @.str.6
	.asciz	"XZ_OPT"

	.comm	_MODE_COMPRESS,8,3              ; @MODE_COMPRESS
l_.str.7:                               ; @.str.7
	.asciz	"Compression support was disabled at build time"

l_.str.8:                               ; @.str.8
	.asciz	"Decompression support was disabled at build time"

	.comm	_MODE_TEST,8,3                  ; @MODE_TEST
	.comm	_opt_keep_original,4,2          ; @opt_keep_original
	.comm	_FORMAT_AUTO,8,3                ; @FORMAT_AUTO
	.comm	_FORMAT_XZ,8,3                  ; @FORMAT_XZ
	.comm	_FORMAT_RAW,8,3                 ; @FORMAT_RAW
	.comm	_optind,8,3                     ; @optind
	.section	__DATA,__data
	.p2align	3                               ; @args_parse.names_stdin
_args_parse.names_stdin:
	.quad	l_.str.9
	.quad	0

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

.subsections_via_symbols
