	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdlz_codec_init                ## -- Begin function cdlz_codec_init
	.p2align	4, 0x90
_cdlz_codec_init:                       ## @cdlz_codec_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	leal	(,%r14,4), %edi
	callq	_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_CD_FRAME_SIZE@GOTPCREL(%rip), %rcx
	movl	%r14d, %eax
	cltd
	idivl	(%rcx)
	addq	$4, %rbx
	movq	_CD_MAX_SECTOR_DATA@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lzma_codec_init                ## TAILCALL
LBB0_1:
	movq	_CHDERR_OUT_OF_MEMORY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHDERR_OUT_OF_MEMORY,8,3       ## @CHDERR_OUT_OF_MEMORY
	.comm	_CD_FRAME_SIZE,4,2              ## @CD_FRAME_SIZE
	.comm	_CD_MAX_SECTOR_DATA,4,2         ## @CD_MAX_SECTOR_DATA
	.comm	_CHDERR_NONE,8,3                ## @CHDERR_NONE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdlz_codec_init                ; -- Begin function cdlz_codec_init
	.p2align	2
_cdlz_codec_init:                       ; @cdlz_codec_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	lsl	w0, w1, #2
	bl	_malloc
	str	x0, [x20, #8]
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x20, #4
Lloh0:
	adrp	x8, _CD_FRAME_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CD_FRAME_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sdiv	w8, w19, w8
Lloh3:
	adrp	x9, _CD_MAX_SECTOR_DATA@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CD_MAX_SECTOR_DATA@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	mul	w1, w9, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lzma_codec_init
LBB0_2:
Lloh6:
	adrp	x8, _CHDERR_OUT_OF_MEMORY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CHDERR_OUT_OF_MEMORY@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CHDERR_OUT_OF_MEMORY,8,3       ; @CHDERR_OUT_OF_MEMORY
	.comm	_CD_FRAME_SIZE,4,2              ; @CD_FRAME_SIZE
	.comm	_CD_MAX_SECTOR_DATA,4,2         ; @CD_MAX_SECTOR_DATA
	.comm	_CHDERR_NONE,8,3                ; @CHDERR_NONE
.subsections_via_symbols
