	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ParseCompressionOption
_ParseCompressionOption:                ## @ParseCompressionOption
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movl	%edi, %ebx
	leal	-1(%rbx), %eax
	movq	_COMPR_ALG_LIBZ@GOTPCREL(%rip), %r12
	cmpl	$9, %eax
	jb	LBB0_4
## %bb.1:
	movq	_Z_DEFAULT_COMPRESSION@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_4
## %bb.2:
	movq	_COMPR_ALG_NONE@GOTPCREL(%rip), %r12
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_fatal
LBB0_4:
	movl	(%r12), %eax
	movl	%eax, (%r15)
	testq	%r14, %r14
	je	LBB0_6
## %bb.5:
	movl	%ebx, (%r14)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ## @Z_DEFAULT_COMPRESSION
	.comm	_COMPR_ALG_LIBZ,4,2             ## @COMPR_ALG_LIBZ
	.comm	_COMPR_ALG_NONE,4,2             ## @COMPR_ALG_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid compression code: %d"

	.no_dead_strip	_ParseCompressionOption
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ParseCompressionOption
_ParseCompressionOption:                ; @ParseCompressionOption
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	sub	w9, w0, #1
Lloh0:
	adrp	x8, _COMPR_ALG_LIBZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMPR_ALG_LIBZ@GOTPAGEOFF]
	cmp	w9, #9
	b.lo	LBB0_5
; %bb.1:
Lloh2:
	adrp	x9, _Z_DEFAULT_COMPRESSION@GOTPAGE
Lloh3:
	ldr	x9, [x9, _Z_DEFAULT_COMPRESSION@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w9, w20
	b.eq	LBB0_5
; %bb.2:
	cbz	w20, LBB0_4
; %bb.3:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_fatal
LBB0_4:
Lloh7:
	adrp	x8, _COMPR_ALG_NONE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _COMPR_ALG_NONE@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	str	w8, [x21]
	cbz	x19, LBB0_7
; %bb.6:
	str	w20, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_Z_DEFAULT_COMPRESSION,4,2      ; @Z_DEFAULT_COMPRESSION
	.comm	_COMPR_ALG_LIBZ,4,2             ; @COMPR_ALG_LIBZ
	.comm	_COMPR_ALG_NONE,4,2             ; @COMPR_ALG_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid compression code: %d"

	.no_dead_strip	_ParseCompressionOption
.subsections_via_symbols
