	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_BasicEncoder_CopyMap      ## -- Begin function HPDF_BasicEncoder_CopyMap
	.p2align	4, 0x90
_HPDF_BasicEncoder_CopyMap:             ## @HPDF_BasicEncoder_CopyMap
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	(%rdi), %rax
	movq	(%rax), %r15
	movq	_HPDF_BASIC_ENCODER_FIRST_CHAR@GOTPCREL(%rip), %r14
	movslq	(%r14), %r12
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	_HPDF_BASIC_ENCODER_LAST_CHAR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	(%r14), %ecx
	jl	LBB0_3
## %bb.1:
	leaq	(%r15,%r12,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%rdx,4), %esi
	movl	%esi, (%rcx,%rdx,4)
	movl	(%rax), %esi
	subl	(%r14), %esi
	incq	%rdx
	leal	-1(%rdx), %edi
	cmpl	%esi, %edi
	jl	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_BASIC_ENCODER_FIRST_CHAR,4,2 ## @HPDF_BASIC_ENCODER_FIRST_CHAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_BasicEncoder_CopyMap\n"

	.comm	_HPDF_BASIC_ENCODER_LAST_CHAR,4,2 ## @HPDF_BASIC_ENCODER_LAST_CHAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_BasicEncoder_CopyMap      ; -- Begin function HPDF_BasicEncoder_CopyMap
	.p2align	2
_HPDF_BasicEncoder_CopyMap:             ; @HPDF_BasicEncoder_CopyMap
	.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, x1
	ldr	x8, [x0]
	ldr	x21, [x8]
Lloh0:
	adrp	x20, _HPDF_BASIC_ENCODER_FIRST_CHAR@GOTPAGE
Lloh1:
	ldr	x20, [x20, _HPDF_BASIC_ENCODER_FIRST_CHAR@GOTPAGEOFF]
	ldrsw	x22, [x20]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
Lloh4:
	adrp	x8, _HPDF_BASIC_ENCODER_LAST_CHAR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HPDF_BASIC_ENCODER_LAST_CHAR@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	w10, [x20]
	cmp	w9, w10
	b.lt	LBB0_3
; %bb.1:
	add	x9, x21, x22, lsl #2
	mov	w10, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x19], #4
	str	w11, [x9], #4
	ldr	w11, [x8]
	ldr	w12, [x20]
	add	w10, w10, #1
	sub	w11, w11, w12
	cmp	w10, w11
	b.lt	LBB0_2
LBB0_3:
	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
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_BASIC_ENCODER_FIRST_CHAR,4,2 ; @HPDF_BASIC_ENCODER_FIRST_CHAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_BasicEncoder_CopyMap\n"

	.comm	_HPDF_BASIC_ENCODER_LAST_CHAR,4,2 ; @HPDF_BASIC_ENCODER_LAST_CHAR
.subsections_via_symbols
