	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_PageLabel_New             ## -- Begin function HPDF_PageLabel_New
	.p2align	4, 0x90
_HPDF_PageLabel_New:                    ## @HPDF_PageLabel_New
	.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	%rcx, %r12
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	4(%rdi), %edi
	callq	_HPDF_Dict_New
	movq	%rax, %r13
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	testq	%r13, %r13
	je	LBB0_16
## %bb.1:
	leal	-128(%rbx), %eax
	cmpl	$4, %eax
	ja	LBB0_14
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_4
LBB0_14:
	addq	$8, %r15
	movq	_HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_HPDF_SetError
	jmp	LBB0_15
LBB0_12:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
	jmp	LBB0_4
LBB0_11:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_4
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.6(%rip), %rdx
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
LBB0_4:
	movq	%r13, %rdi
	callq	_HPDF_Dict_AddName
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
## %bb.5:
	testq	%r12, %r12
	je	LBB0_8
## %bb.6:
	cmpb	$0, (%r12)
	je	LBB0_8
## %bb.7:
	movl	(%r15), %edx
	movl	4(%r15), %edi
	movq	%r12, %rsi
	callq	_HPDF_String_New
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_HPDF_Dict_Add
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_15
LBB0_8:
	testl	%r14d, %r14d
	je	LBB0_17
## %bb.9:
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_HPDF_Dict_AddNumber
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_17
LBB0_15:
	movq	%r13, %rdi
	callq	_HPDF_Dict_Free
LBB0_16:
	xorl	%r13d, %r13d
LBB0_17:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_11
	.long	L0_0_set_13
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_PageLabel_New\n"

L_.str.1:                               ## @.str.1
	.asciz	"S"

L_.str.2:                               ## @.str.2
	.asciz	"D"

	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
L_.str.3:                               ## @.str.3
	.asciz	"R"

L_.str.4:                               ## @.str.4
	.asciz	"r"

L_.str.5:                               ## @.str.5
	.asciz	"A"

L_.str.6:                               ## @.str.6
	.asciz	"a"

	.comm	_HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE,4,2 ## @HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE
L_.str.7:                               ## @.str.7
	.asciz	"P"

L_.str.8:                               ## @.str.8
	.asciz	"St"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_PageLabel_New             ; -- Begin function HPDF_PageLabel_New
	.p2align	2
_HPDF_PageLabel_New:                    ; @HPDF_PageLabel_New
	.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
	mov	x21, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	ldr	w0, [x0, #4]
	bl	_HPDF_Dict_New
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x19, LBB0_16
; %bb.1:
	sub	w8, w23, #128
	cmp	w8, #4
	b.hi	LBB0_4
; %bb.2:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh6:
	adrp	x2, l_.str.3@PAGE
Lloh7:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_9
LBB0_4:
	add	x0, x22, #8
Lloh8:
	adrp	x8, _HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x23
	bl	_HPDF_SetError
	b	LBB0_15
LBB0_5:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh13:
	adrp	x2, l_.str.5@PAGE
Lloh14:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_9
LBB0_6:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh17:
	adrp	x2, l_.str.4@PAGE
Lloh18:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_9
LBB0_7:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh21:
	adrp	x2, l_.str.6@PAGE
Lloh22:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_9
LBB0_8:
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_9:
	mov	x0, x19
	bl	_HPDF_Dict_AddName
Lloh27:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.10:
	cbz	x21, LBB0_13
; %bb.11:
	ldrb	w8, [x21]
	cbz	w8, LBB0_13
; %bb.12:
	ldp	w2, w0, [x22]
	mov	x1, x21
	bl	_HPDF_String_New
	mov	x2, x0
Lloh30:
	adrp	x1, l_.str.7@PAGE
Lloh31:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x19
	bl	_HPDF_Dict_Add
Lloh32:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_15
LBB0_13:
	cbz	w20, LBB0_16
; %bb.14:
Lloh35:
	adrp	x1, l_.str.8@PAGE
Lloh36:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_HPDF_Dict_AddNumber
Lloh37:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh38:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_16
LBB0_15:
	mov	x0, x19
	bl	_HPDF_Dict_Free
	mov	x19, #0
LBB0_16:
	mov	x0, x19
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_PageLabel_New\n"

l_.str.1:                               ; @.str.1
	.asciz	"S"

l_.str.2:                               ; @.str.2
	.asciz	"D"

	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
l_.str.3:                               ; @.str.3
	.asciz	"R"

l_.str.4:                               ; @.str.4
	.asciz	"r"

l_.str.5:                               ; @.str.5
	.asciz	"A"

l_.str.6:                               ; @.str.6
	.asciz	"a"

	.comm	_HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE,4,2 ; @HPDF_PAGE_NUM_STYLE_OUT_OF_RANGE
l_.str.7:                               ; @.str.7
	.asciz	"P"

l_.str.8:                               ; @.str.8
	.asciz	"St"

.subsections_via_symbols
