	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CIDFontDef_AddWidth       ## -- Begin function HPDF_CIDFontDef_AddWidth
	.p2align	4, 0x90
_HPDF_CIDFontDef_AddWidth:              ## @HPDF_CIDFontDef_AddWidth
	.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	%rsi, %r12
	movq	%rdi, %r14
	movslq	16(%rdi), %r13
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	cmpl	$65535, (%r12)                  ## imm = 0xFFFF
	jne	LBB0_3
## %bb.1:
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movl	$8, %esi
	callq	_HPDF_GetMem
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rbx
	movl	(%r12), %eax
	movl	%eax, (%rbx)
	movl	4(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	(%r13), %edi
	movq	%rbx, %rsi
	callq	_HPDF_List_Add
	movl	%eax, %r15d
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jne	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$65535, 8(%r12)                 ## imm = 0xFFFF
	leaq	8(%r12), %r12
	jne	LBB0_3
	jmp	LBB0_7
LBB0_4:
	movq	8(%r14), %rax
	movl	(%rax), %r15d
	jmp	LBB0_7
LBB0_6:
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_HPDF_FreeMem
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_CIDFontDef_AddWidth\n"

	.comm	_HPDF_OK,4,2                    ## @HPDF_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_CIDFontDef_AddWidth       ; -- Begin function HPDF_CIDFontDef_AddWidth
	.p2align	2
_HPDF_CIDFontDef_AddWidth:              ; @HPDF_CIDFontDef_AddWidth
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldrsw	x22, [x0, #16]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	w8, [x20]
	mov	w23, #65535
	cmp	w8, w23
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
	b	LBB0_8
LBB0_2:
	add	x24, x20, #8
Lloh5:
	adrp	x25, _HPDF_OK@GOTPAGE
Lloh6:
	ldr	x25, [x25, _HPDF_OK@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	mov	w1, #8
	bl	_HPDF_GetMem
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	ldur	d0, [x24, #-8]
	str	d0, [x0]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_HPDF_List_Add
	mov	x20, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x24], #8
	cmp	w8, w23
	b.ne	LBB0_3
	b	LBB0_8
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	w20, [x8]
	b	LBB0_8
LBB0_7:
	ldr	w0, [x19]
	mov	x1, x21
	bl	_HPDF_FreeMem
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_CIDFontDef_AddWidth\n"

	.comm	_HPDF_OK,4,2                    ; @HPDF_OK
.subsections_via_symbols
