	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LzmaEnc_WriteProperties        ## -- Begin function LzmaEnc_WriteProperties
	.p2align	4, 0x90
_LzmaEnc_WriteProperties:               ## @LzmaEnc_WriteProperties
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LZMA_PROPS_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	cmpq	%rcx, (%rdx)
	jge	LBB0_37
## %bb.1:
	movq	_SZ_ERROR_PARAM@GOTPCREL(%rip), %rax
	jmp	LBB0_40
LBB0_37:
	movl	(%rdi), %eax
	movq	%rcx, (%rdx)
	movslq	4(%rdi), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	movslq	8(%rdi), %rdx
	addq	%rcx, %rdx
	leaq	(%rdx,%rdx,8), %rcx
	addq	16(%rdi), %rcx
	movq	%rcx, (%rsi)
	movl	$4096, %ecx                     ## imm = 0x1000
	cmpl	$4096, %eax                     ## imm = 0x1000
	jle	LBB0_39
## %bb.38:
	movl	$6144, %ecx                     ## imm = 0x1800
	cmpl	$6144, %eax                     ## imm = 0x1800
	jbe	LBB0_39
## %bb.2:
	movl	$8192, %ecx                     ## imm = 0x2000
	cmpl	$8193, %eax                     ## imm = 0x2001
	jb	LBB0_39
## %bb.3:
	movl	$12288, %ecx                    ## imm = 0x3000
	cmpl	$12289, %eax                    ## imm = 0x3001
	jb	LBB0_39
## %bb.4:
	movl	$16384, %ecx                    ## imm = 0x4000
	cmpl	$16385, %eax                    ## imm = 0x4001
	jb	LBB0_39
## %bb.5:
	movl	$24576, %ecx                    ## imm = 0x6000
	cmpl	$24577, %eax                    ## imm = 0x6001
	jb	LBB0_39
## %bb.6:
	movl	$32768, %ecx                    ## imm = 0x8000
	cmpl	$32769, %eax                    ## imm = 0x8001
	jb	LBB0_39
## %bb.7:
	movl	$49152, %ecx                    ## imm = 0xC000
	cmpl	$49153, %eax                    ## imm = 0xC001
	jb	LBB0_39
## %bb.8:
	movl	$65536, %ecx                    ## imm = 0x10000
	cmpl	$65537, %eax                    ## imm = 0x10001
	jb	LBB0_39
## %bb.9:
	movl	$98304, %ecx                    ## imm = 0x18000
	cmpl	$98305, %eax                    ## imm = 0x18001
	jb	LBB0_39
## %bb.10:
	movl	$131072, %ecx                   ## imm = 0x20000
	cmpl	$131073, %eax                   ## imm = 0x20001
	jb	LBB0_39
## %bb.11:
	movl	$196608, %ecx                   ## imm = 0x30000
	cmpl	$196609, %eax                   ## imm = 0x30001
	jb	LBB0_39
## %bb.12:
	movl	$262144, %ecx                   ## imm = 0x40000
	cmpl	$262145, %eax                   ## imm = 0x40001
	jb	LBB0_39
## %bb.13:
	movl	$393216, %ecx                   ## imm = 0x60000
	cmpl	$393217, %eax                   ## imm = 0x60001
	jb	LBB0_39
## %bb.14:
	movl	$524288, %ecx                   ## imm = 0x80000
	cmpl	$524289, %eax                   ## imm = 0x80001
	jb	LBB0_39
## %bb.15:
	movl	$786432, %ecx                   ## imm = 0xC0000
	cmpl	$786433, %eax                   ## imm = 0xC0001
	jb	LBB0_39
## %bb.16:
	movl	$1048576, %ecx                  ## imm = 0x100000
	cmpl	$1048577, %eax                  ## imm = 0x100001
	jb	LBB0_39
## %bb.17:
	movl	$1572864, %ecx                  ## imm = 0x180000
	cmpl	$1572865, %eax                  ## imm = 0x180001
	jb	LBB0_39
## %bb.18:
	movl	$2097152, %ecx                  ## imm = 0x200000
	cmpl	$2097153, %eax                  ## imm = 0x200001
	jb	LBB0_39
## %bb.19:
	movl	$3145728, %ecx                  ## imm = 0x300000
	cmpl	$3145729, %eax                  ## imm = 0x300001
	jb	LBB0_39
## %bb.20:
	movl	$4194304, %ecx                  ## imm = 0x400000
	cmpl	$4194305, %eax                  ## imm = 0x400001
	jb	LBB0_39
## %bb.21:
	movl	$6291456, %ecx                  ## imm = 0x600000
	cmpl	$6291457, %eax                  ## imm = 0x600001
	jb	LBB0_39
## %bb.22:
	movl	$8388608, %ecx                  ## imm = 0x800000
	cmpl	$8388609, %eax                  ## imm = 0x800001
	jb	LBB0_39
## %bb.23:
	movl	$12582912, %ecx                 ## imm = 0xC00000
	cmpl	$12582913, %eax                 ## imm = 0xC00001
	jb	LBB0_39
## %bb.24:
	movl	$16777216, %ecx                 ## imm = 0x1000000
	cmpl	$16777217, %eax                 ## imm = 0x1000001
	jb	LBB0_39
## %bb.25:
	movl	$25165824, %ecx                 ## imm = 0x1800000
	cmpl	$25165825, %eax                 ## imm = 0x1800001
	jb	LBB0_39
## %bb.26:
	movl	$33554432, %ecx                 ## imm = 0x2000000
	cmpl	$33554433, %eax                 ## imm = 0x2000001
	jb	LBB0_39
## %bb.27:
	movl	$50331648, %ecx                 ## imm = 0x3000000
	cmpl	$50331649, %eax                 ## imm = 0x3000001
	jb	LBB0_39
## %bb.28:
	movl	$67108864, %ecx                 ## imm = 0x4000000
	cmpl	$67108865, %eax                 ## imm = 0x4000001
	jb	LBB0_39
## %bb.29:
	movl	$100663296, %ecx                ## imm = 0x6000000
	cmpl	$100663297, %eax                ## imm = 0x6000001
	jb	LBB0_39
## %bb.30:
	movl	$134217728, %ecx                ## imm = 0x8000000
	cmpl	$134217729, %eax                ## imm = 0x8000001
	jb	LBB0_39
## %bb.31:
	movl	$201326592, %ecx                ## imm = 0xC000000
	cmpl	$201326593, %eax                ## imm = 0xC000001
	jb	LBB0_39
## %bb.32:
	movl	$268435456, %ecx                ## imm = 0x10000000
	cmpl	$268435457, %eax                ## imm = 0x10000001
	jb	LBB0_39
## %bb.33:
	movl	$402653184, %ecx                ## imm = 0x18000000
	cmpl	$402653185, %eax                ## imm = 0x18000001
	jb	LBB0_39
## %bb.34:
	movl	$536870912, %ecx                ## imm = 0x20000000
	cmpl	$536870913, %eax                ## imm = 0x20000001
	jb	LBB0_39
## %bb.35:
	movl	$805306368, %ecx                ## imm = 0x30000000
	cmpl	$805306369, %eax                ## imm = 0x30000001
	jb	LBB0_39
## %bb.36:
	cmpl	$1610612737, %eax               ## imm = 0x60000001
	movl	$1610612736, %edx               ## imm = 0x60000000
	cmovael	%eax, %edx
	cmpl	$1073741825, %eax               ## imm = 0x40000001
	movl	$1073741824, %ecx               ## imm = 0x40000000
	cmovael	%edx, %ecx
LBB0_39:
	movl	%ecx, %eax
	movq	%rax, 8(%rsi)
	movl	%ecx, %eax
	shrl	$8, %eax
	movq	%rax, 16(%rsi)
	movl	%ecx, %eax
	shrl	$16, %eax
	movq	%rax, 24(%rsi)
	shrl	$24, %ecx
	movq	%rcx, 32(%rsi)
	movq	_SZ_OK@GOTPCREL(%rip), %rax
LBB0_40:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LZMA_PROPS_SIZE,8,3            ## @LZMA_PROPS_SIZE
	.comm	_SZ_ERROR_PARAM,4,2             ## @SZ_ERROR_PARAM
	.comm	_SZ_OK,4,2                      ## @SZ_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function LzmaEnc_WriteProperties
lCPI0_0:
	.long	4294967288                      ; 0xfffffff8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_LzmaEnc_WriteProperties
	.p2align	2
_LzmaEnc_WriteProperties:               ; @LzmaEnc_WriteProperties
	.cfi_startproc
; %bb.0:
	ldr	x9, [x2]
Lloh0:
	adrp	x8, _LZMA_PROPS_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LZMA_PROPS_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _SZ_ERROR_PARAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SZ_ERROR_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_2:
	str	x8, [x2]
	ldp	w9, w8, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	x8, x8, x8, lsl #2
	ldrsw	x10, [x0, #8]
	add	x8, x8, x10
	add	x8, x8, x8, lsl #3
	ldr	x10, [x0, #16]
	add	x8, x10, x8
	str	x8, [x1]
	cmp	w9, #1, lsl #12                 ; =4096
	b.le	LBB0_39
; %bb.3:
	mov	w8, #6144
	cmp	w9, w8
	b.ls	LBB0_40
; %bb.4:
	cmp	w9, #2, lsl #12                 ; =8192
	b.ls	LBB0_41
; %bb.5:
	cmp	w9, #3, lsl #12                 ; =12288
	b.ls	LBB0_42
; %bb.6:
	cmp	w9, #4, lsl #12                 ; =16384
	b.ls	LBB0_43
; %bb.7:
	cmp	w9, #6, lsl #12                 ; =24576
	b.ls	LBB0_44
; %bb.8:
	cmp	w9, #8, lsl #12                 ; =32768
	b.ls	LBB0_45
; %bb.9:
	cmp	w9, #12, lsl #12                ; =49152
	b.ls	LBB0_46
; %bb.10:
	cmp	w9, #16, lsl #12                ; =65536
	b.ls	LBB0_47
; %bb.11:
	cmp	w9, #24, lsl #12                ; =98304
	b.ls	LBB0_48
; %bb.12:
	cmp	w9, #32, lsl #12                ; =131072
	b.ls	LBB0_49
; %bb.13:
	cmp	w9, #48, lsl #12                ; =196608
	b.ls	LBB0_50
; %bb.14:
	cmp	w9, #64, lsl #12                ; =262144
	b.ls	LBB0_51
; %bb.15:
	cmp	w9, #96, lsl #12                ; =393216
	b.ls	LBB0_52
; %bb.16:
	cmp	w9, #128, lsl #12               ; =524288
	b.ls	LBB0_53
; %bb.17:
	cmp	w9, #192, lsl #12               ; =786432
	b.ls	LBB0_54
; %bb.18:
	cmp	w9, #256, lsl #12               ; =1048576
	b.ls	LBB0_55
; %bb.19:
	cmp	w9, #384, lsl #12               ; =1572864
	b.ls	LBB0_56
; %bb.20:
	cmp	w9, #512, lsl #12               ; =2097152
	b.ls	LBB0_57
; %bb.21:
	cmp	w9, #768, lsl #12               ; =3145728
	b.ls	LBB0_58
; %bb.22:
	cmp	w9, #1024, lsl #12              ; =4194304
	b.ls	LBB0_59
; %bb.23:
	cmp	w9, #1536, lsl #12              ; =6291456
	b.ls	LBB0_60
; %bb.24:
	cmp	w9, #2048, lsl #12              ; =8388608
	b.ls	LBB0_61
; %bb.25:
	cmp	w9, #3072, lsl #12              ; =12582912
	b.ls	LBB0_62
; %bb.26:
	mov	w8, #1
	movk	w8, #256, lsl #16
	cmp	w9, w8
	b.lo	LBB0_63
; %bb.27:
	mov	w8, #1
	movk	w8, #384, lsl #16
	cmp	w9, w8
	b.lo	LBB0_64
; %bb.28:
	mov	w8, #1
	movk	w8, #512, lsl #16
	cmp	w9, w8
	b.lo	LBB0_65
; %bb.29:
	mov	w8, #1
	movk	w8, #768, lsl #16
	cmp	w9, w8
	b.lo	LBB0_66
; %bb.30:
	mov	w8, #1
	movk	w8, #1024, lsl #16
	cmp	w9, w8
	b.lo	LBB0_67
; %bb.31:
	mov	w8, #1
	movk	w8, #1536, lsl #16
	cmp	w9, w8
	b.lo	LBB0_68
; %bb.32:
	mov	w8, #1
	movk	w8, #2048, lsl #16
	cmp	w9, w8
	b.lo	LBB0_69
; %bb.33:
	mov	w8, #1
	movk	w8, #3072, lsl #16
	cmp	w9, w8
	b.lo	LBB0_70
; %bb.34:
	mov	w8, #1
	movk	w8, #4096, lsl #16
	cmp	w9, w8
	b.lo	LBB0_71
; %bb.35:
	mov	w8, #1
	movk	w8, #6144, lsl #16
	cmp	w9, w8
	b.lo	LBB0_72
; %bb.36:
	mov	w8, #1
	movk	w8, #8192, lsl #16
	cmp	w9, w8
	b.lo	LBB0_73
; %bb.37:
	mov	w8, #1
	movk	w8, #12288, lsl #16
	cmp	w9, w8
	b.lo	LBB0_74
; %bb.38:
	mov	w8, #1610612736
	cmp	w9, w8
	csel	w8, w9, w8, hi
	mov	w10, #1073741824
	cmp	w9, w10
	csel	w8, w8, w10, hi
	b	LBB0_40
LBB0_39:
	mov	w8, #4096
LBB0_40:
	mov	w9, w8
	str	x9, [x1, #8]
	dup.2s	v0, w8
Lloh6:
	adrp	x9, lCPI0_0@PAGE
Lloh7:
	ldr	d1, [x9, lCPI0_0@PAGEOFF]
	ushl.2s	v0, v0, v1
	ushll.2d	v0, v0, #0
	str	q0, [x1, #16]
	lsr	w8, w8, #24
	str	x8, [x1, #32]
Lloh8:
	adrp	x8, _SZ_OK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SZ_OK@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ret
LBB0_41:
	mov	w8, #8192
	b	LBB0_40
LBB0_42:
	mov	w8, #12288
	b	LBB0_40
LBB0_43:
	mov	w8, #16384
	b	LBB0_40
LBB0_44:
	mov	w8, #24576
	b	LBB0_40
LBB0_45:
	mov	w8, #32768
	b	LBB0_40
LBB0_46:
	mov	w8, #49152
	b	LBB0_40
LBB0_47:
	mov	w8, #65536
	b	LBB0_40
LBB0_48:
	mov	w8, #98304
	b	LBB0_40
LBB0_49:
	mov	w8, #131072
	b	LBB0_40
LBB0_50:
	mov	w8, #196608
	b	LBB0_40
LBB0_51:
	mov	w8, #262144
	b	LBB0_40
LBB0_52:
	mov	w8, #393216
	b	LBB0_40
LBB0_53:
	mov	w8, #524288
	b	LBB0_40
LBB0_54:
	mov	w8, #786432
	b	LBB0_40
LBB0_55:
	mov	w8, #1048576
	b	LBB0_40
LBB0_56:
	mov	w8, #1572864
	b	LBB0_40
LBB0_57:
	mov	w8, #2097152
	b	LBB0_40
LBB0_58:
	mov	w8, #3145728
	b	LBB0_40
LBB0_59:
	mov	w8, #4194304
	b	LBB0_40
LBB0_60:
	mov	w8, #6291456
	b	LBB0_40
LBB0_61:
	mov	w8, #8388608
	b	LBB0_40
LBB0_62:
	mov	w8, #12582912
	b	LBB0_40
LBB0_63:
	mov	w8, #16777216
	b	LBB0_40
LBB0_64:
	mov	w8, #25165824
	b	LBB0_40
LBB0_65:
	mov	w8, #33554432
	b	LBB0_40
LBB0_66:
	mov	w8, #50331648
	b	LBB0_40
LBB0_67:
	mov	w8, #67108864
	b	LBB0_40
LBB0_68:
	mov	w8, #100663296
	b	LBB0_40
LBB0_69:
	mov	w8, #134217728
	b	LBB0_40
LBB0_70:
	mov	w8, #201326592
	b	LBB0_40
LBB0_71:
	mov	w8, #268435456
	b	LBB0_40
LBB0_72:
	mov	w8, #402653184
	b	LBB0_40
LBB0_73:
	mov	w8, #536870912
	b	LBB0_40
LBB0_74:
	mov	w8, #805306368
	b	LBB0_40
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdr	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LZMA_PROPS_SIZE,8,3            ; @LZMA_PROPS_SIZE
	.comm	_SZ_ERROR_PARAM,4,2             ; @SZ_ERROR_PARAM
	.comm	_SZ_OK,4,2                      ; @SZ_OK
.subsections_via_symbols
