	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function XzEnc_MtCallback_Write
_XzEnc_MtCallback_Write:                ## @XzEnc_MtCallback_Write
	.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	%rdi, %r15
	movq	24(%rdi), %r12
	movl	%esi, %eax
	movq	16(%rdi), %rcx
	movq	(%rcx,%rax,8), %r14
	movl	8(%rdi), %edi
	leaq	(%rax,%rax,2), %r13
	movq	16(%r12,%r13,8), %rdx
	movq	%r14, %rsi
	callq	_WriteBytes
	movl	%eax, %edi
	callq	_RINOK
	movq	(%r12,%r13,8), %rbx
	movq	%rbx, %rdi
	callq	_XZ_GET_PAD_SIZE
	addq	%rax, %rbx
	movl	8(%r15), %edi
	movq	_XZ_BLOCK_HEADER_SIZE_MAX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%r14,%rax,4), %rsi
	subq	16(%r12,%r13,8), %rbx
	movq	%rbx, %rdx
	callq	_WriteBytes
	movl	%eax, %edi
	callq	_RINOK
	movl	8(%r12,%r13,8), %esi
	movq	(%r12,%r13,8), %rdx
	movl	(%r15), %ecx
	addq	$4, %r15
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_XzEncIndex_AddIndexRecord      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XZ_BLOCK_HEADER_SIZE_MAX,4,2   ## @XZ_BLOCK_HEADER_SIZE_MAX
	.no_dead_strip	_XzEnc_MtCallback_Write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function XzEnc_MtCallback_Write
_XzEnc_MtCallback_Write:                ; @XzEnc_MtCallback_Write
	.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, x0
	ldp	x9, x8, [x0, #16]
	ldr	x20, [x9, w1, uxtw #3]
	ldr	w0, [x0, #8]
	mov	w9, #24
	umaddl	x22, w1, w9, x8
	ldr	x2, [x22, #16]
	mov	x1, x20
	bl	_WriteBytes
	bl	_RINOK
	ldr	x21, [x22]
	mov	x0, x21
	bl	_XZ_GET_PAD_SIZE
Lloh0:
	adrp	x9, _XZ_BLOCK_HEADER_SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XZ_BLOCK_HEADER_SIZE_MAX@GOTPAGEOFF]
	ldr	w8, [x19, #8]
Lloh2:
	ldrsw	x9, [x9]
	add	x1, x20, x9, lsl #2
	ldr	x9, [x22, #16]
	add	x10, x0, x21
	sub	x2, x10, x9
	mov	x0, x8
	bl	_WriteBytes
	bl	_RINOK
	add	x0, x19, #4
	ldr	w1, [x22, #8]
	ldr	x2, [x22]
	ldr	w3, [x19]
	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
	b	_XzEncIndex_AddIndexRecord
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XZ_BLOCK_HEADER_SIZE_MAX,4,2   ; @XZ_BLOCK_HEADER_SIZE_MAX
	.no_dead_strip	_XzEnc_MtCallback_Write
.subsections_via_symbols
