	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XzProps_Normalize
_XzProps_Normalize:                     ## @XzProps_Normalize
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_XZ_PROPS__BLOCK_SIZE__SOLID@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	%rax, 56(%rbx)
LBB0_2:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 16(%rbx)
	cmpq	$0, 32(%rbx)
	jg	LBB0_15
## %bb.3:
	movq	24(%rbx), %rax
	movq	%rax, 32(%rbx)
	jmp	LBB0_15
LBB0_4:
	movq	_LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	8(%rbx), %rsi
	cmpq	%rdx, %rax
	jne	LBB0_16
## %bb.5:
	movq	%rsi, 56(%rbx)
	movq	40(%rbx), %rax
	movq	_LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_7
## %bb.6:
	movq	%rcx, (%rbx)
	jmp	LBB0_2
LBB0_16:
	cmpq	$-1, %rsi
	movq	%rsi, %rcx
	cmoveq	%rax, %rcx
	cmpq	%rax, %rsi
	cmovgq	%rax, %rcx
	movq	%rcx, 56(%rbx)
	movq	40(%rbx), %rcx
	cmpq	%rdx, %rcx
	jne	LBB0_18
## %bb.17:
	movq	_LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_20
LBB0_7:
	leaq	32(%rbx), %rax
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm1, -48(%rbp)
	cmpq	$0, -64(%rbp)
	jg	LBB0_9
## %bb.8:
	movq	24(%rbx), %rax
	movq	%rax, -64(%rbp)
LBB0_9:
	leaq	-64(%rbp), %rdi
	callq	_Lzma2EncProps_Normalize
	movq	-56(%rbp), %rax
	movq	%rax, (%rbx)
	movl	-48(%rbp), %ecx
	movl	%ecx, 16(%rbx)
	movl	-44(%rbp), %ecx
	movl	%ecx, 20(%rbx)
	movq	40(%rbx), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_11
## %bb.10:
	movq	%rax, 40(%rbx)
LBB0_11:
	cmpq	%rax, 56(%rbx)
	jle	LBB0_14
## %bb.12:
	cmpq	(%r14), %rax
	je	LBB0_14
## %bb.13:
	movq	%rax, 56(%rbx)
LBB0_14:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, 48(%rbx)
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	cmpq	%rax, %rcx
	jle	LBB0_21
## %bb.19:
	movq	_LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_21
LBB0_20:
	movq	%rax, 40(%rbx)
LBB0_21:
	movq	%rbx, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XzEncProps_Normalize_Fixed     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XZ_PROPS__BLOCK_SIZE__SOLID,8,3 ## @XZ_PROPS__BLOCK_SIZE__SOLID
	.comm	_LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO,8,3 ## @LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO
	.comm	_LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID,8,3 ## @LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID
	.no_dead_strip	_XzProps_Normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XzProps_Normalize
_XzProps_Normalize:                     ; @XzProps_Normalize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _XZ_PROPS__BLOCK_SIZE__SOLID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XZ_PROPS__BLOCK_SIZE__SOLID@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	str	x8, [x19, #56]
LBB0_2:
	movi.2s	v0, #1
	str	d0, [x19, #16]
	ldr	x8, [x19, #32]
	cmp	x8, #0
	b.gt	LBB0_17
; %bb.3:
	ldr	x8, [x19, #24]
	str	x8, [x19, #32]
	b	LBB0_17
LBB0_4:
Lloh3:
	adrp	x21, _LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO@GOTPAGE
Lloh4:
	ldr	x21, [x21, _LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO@GOTPAGEOFF]
	ldr	x10, [x21]
	ldr	x11, [x19, #8]
	cmp	x8, x10
	b.ne	LBB0_7
; %bb.5:
	str	x11, [x19, #56]
	ldr	x8, [x19, #40]
Lloh5:
	adrp	x20, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGE
Lloh6:
	ldr	x20, [x20, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.6:
	str	x9, [x19]
	b	LBB0_2
LBB0_7:
	cmn	x11, #1
	ccmp	x11, x8, #0, ne
	csel	x9, x8, x11, gt
	str	x9, [x19, #56]
	ldr	x9, [x19, #40]
	cmp	x9, x10
	b.ne	LBB0_18
; %bb.8:
Lloh7:
	adrp	x8, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	b	LBB0_20
LBB0_9:
	add	x8, x19, #32
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	x8, [sp]
	cmp	x8, #0
	b.gt	LBB0_11
; %bb.10:
	ldr	x8, [x19, #24]
	str	x8, [sp]
LBB0_11:
	mov	x0, sp
	bl	_Lzma2EncProps_Normalize
	ldr	x8, [sp, #8]
	str	x8, [x19]
	ldr	d0, [sp, #16]
	str	d0, [x19, #16]
	ldr	x9, [x19, #40]
	ldr	x10, [x21]
	cmp	x9, x10
	b.ne	LBB0_13
; %bb.12:
	str	x8, [x19, #40]
LBB0_13:
	ldr	x9, [x19, #56]
	cmp	x9, x8
	b.le	LBB0_16
; %bb.14:
	ldr	x9, [x20]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	str	x8, [x19, #56]
LBB0_16:
	movi.2s	v0, #1
	str	d0, [x19, #48]
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
	cmp	x9, x8
	b.le	LBB0_21
; %bb.19:
Lloh10:
	adrp	x10, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGE
Lloh11:
	ldr	x10, [x10, _LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID@GOTPAGEOFF]
Lloh12:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_21
LBB0_20:
	str	x8, [x19, #40]
LBB0_21:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_XzEncProps_Normalize_Fixed
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_XZ_PROPS__BLOCK_SIZE__SOLID,8,3 ; @XZ_PROPS__BLOCK_SIZE__SOLID
	.comm	_LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO,8,3 ; @LZMA2_ENC_PROPS__BLOCK_SIZE__AUTO
	.comm	_LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID,8,3 ; @LZMA2_ENC_PROPS__BLOCK_SIZE__SOLID
	.no_dead_strip	_XzProps_Normalize
.subsections_via_symbols
