	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DumpModeEncode
_DumpModeEncode:                        ## @DumpModeEncode
	.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
	movl	$1, %r14d
	testq	%rdx, %rdx
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r15,%rbx,4), %r15
	subq	%rbx, %r13
	testq	%r13, %r13
	jle	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	movq	%rcx, %rbx
	subq	%rax, %rbx
	addq	%r13, %rax
	cmpq	%rcx, %rax
	cmovleq	%r13, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setg	%dil
	callq	_assert
	movq	16(%r12), %rdi
	movq	%r15, %rax
	cmpq	%r15, %rdi
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	__TIFFmemcpy
	movq	16(%r12), %rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rbx,4), %rax
	movq	%rax, 16(%r12)
	movq	(%r12), %rax
	addq	%rbx, %rax
	movq	%rax, (%r12)
	cmpq	8(%r12), %rax
	jl	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_TIFFFlushData1
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	xorl	%r14d, %r14d
LBB0_8:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_DumpModeEncode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function DumpModeEncode
_DumpModeEncode:                        ; @DumpModeEncode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cmp	x2, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, x23
	sub	x19, x19, x22
	cmp	x19, #0
	b.le	LBB0_7
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x21]
	sub	x10, x9, x8
	add	x8, x8, x19
	cmp	x8, x9
	csel	x22, x10, x19, gt
	cmp	x22, #0
	cset	w0, gt
	bl	_assert
	ldr	x0, [x21, #16]
	mov	x8, x20
	cmp	x0, x20
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x20
	mov	x2, x22
	bl	__TIFFmemcpy
	ldr	x8, [x21, #16]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	lsl	x23, x22, #2
	add	x8, x8, x23
	str	x8, [x21, #16]
	ldp	x8, x9, [x21]
	add	x8, x8, x22
	cmp	x8, x9
	str	x8, [x21]
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_TIFFFlushData1
	cbnz	w0, LBB0_2
	b	LBB0_8
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_DumpModeEncode
.subsections_via_symbols
