	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_SetUnicodeArray ## -- Begin function HPDF_CMapEncoder_SetUnicodeArray
	.p2align	4, 0x90
_HPDF_CMapEncoder_SetUnicodeArray:      ## @HPDF_CMapEncoder_SetUnicodeArray
	.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
	movq	%rsi, %rbx
	movslq	(%rdi), %r14
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movl	(%rbx), %eax
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_4
## %bb.2:
	movq	(%r14), %rcx
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	-4(%rbx), %rdx
	movq	(%rcx,%rdx,8), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	sarl	$8, %edx
	movslq	%edx, %rdx
	movl	%eax, (%rsi,%rdx,4)
	movl	(%rbx), %eax
	addq	$8, %rbx
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	jne	LBB0_3
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CMapEncoder_SetUnicodeArray\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CMapEncoder_SetUnicodeArray ; -- Begin function HPDF_CMapEncoder_SetUnicodeArray
	.p2align	2
_HPDF_CMapEncoder_SetUnicodeArray:      ; @HPDF_CMapEncoder_SetUnicodeArray
	.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
	ldrsw	x20, [x0]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x19, LBB0_4
; %bb.1:
	ldr	w9, [x19]
	mov	w8, #65535
	cmp	w9, w8
	b.eq	LBB0_4
; %bb.2:
	ldr	x10, [x20]
	add	x11, x19, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldursw	x12, [x11, #-4]
	ldr	x13, [x10, x12, lsl #3]
	asr	w12, w12, #8
	str	w9, [x13, w12, sxtw #2]
	ldr	w9, [x11], #8
	cmp	w9, w8
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CMapEncoder_SetUnicodeArray\n"

.subsections_via_symbols
