	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetPageCount
_GetPageCount:                          ## @GetPageCount
	.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	_HPDF_OCLASS_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_HPDF_Dict_GetItem
	movl	%eax, %ebx
	leaq	L_.str.1(%rip), %rdi
	callq	_HPDF_PTRACE
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.1:
	movslq	%ebx, %r14
	movq	(%r14), %rax
	cmpq	$0, (%rax)
	jle	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	movq	_HPDF_OCLASS_DICT@GOTPCREL(%rip), %r12
	movq	_HPDF_OSUBCLASS_PAGES@GOTPCREL(%rip), %r13
	xorl	%r15d, %r15d
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_HPDF_OSUBCLASS_PAGE@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	xorl	%eax, %eax
	cmpl	%edx, %ecx
	sete	%al
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	%rax, %r15
	incq	%rbx
	movq	(%r14), %rax
	cmpq	(%rax), %rbx
	jge	LBB0_9
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_HPDF_Array_GetItem
	movl	(%rax), %ecx
	movl	(%r12), %edx
	movl	(%r13), %esi
	orl	%edx, %esi
	cmpl	%esi, %ecx
	jne	LBB0_3
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %edi
	callq	_GetPageCount
	jmp	LBB0_4
LBB0_8:
	xorl	%r15d, %r15d
LBB0_9:
	movq	%r15, %rax
	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	"Kids"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ## @HPDF_OCLASS_ARRAY
L_.str.1:                               ## @.str.1
	.asciz	" GetPageCount\n"

	.comm	_HPDF_OCLASS_DICT,4,2           ## @HPDF_OCLASS_DICT
	.comm	_HPDF_OSUBCLASS_PAGES,4,2       ## @HPDF_OSUBCLASS_PAGES
	.comm	_HPDF_OSUBCLASS_PAGE,4,2        ## @HPDF_OSUBCLASS_PAGE
	.no_dead_strip	_GetPageCount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetPageCount
_GetPageCount:                          ; @GetPageCount
	.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
Lloh0:
	adrp	x8, _HPDF_OCLASS_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HPDF_OCLASS_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_HPDF_Dict_GetItem
	mov	x19, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	w19, LBB0_7
; %bb.1:
	sxtw	x19, w19
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, #0
	mov	x20, #0
Lloh7:
	adrp	x22, _HPDF_OCLASS_DICT@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HPDF_OCLASS_DICT@GOTPAGEOFF]
Lloh9:
	adrp	x23, _HPDF_OSUBCLASS_PAGES@GOTPAGE
Lloh10:
	ldr	x23, [x23, _HPDF_OSUBCLASS_PAGES@GOTPAGEOFF]
Lloh11:
	adrp	x24, _HPDF_OSUBCLASS_PAGE@GOTPAGE
Lloh12:
	ldr	x24, [x24, _HPDF_OSUBCLASS_PAGE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x24]
	orr	w9, w10, w9
	cmp	w8, w9
	cset	w0, eq
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x0, x20
	add	x21, x21, #1
	ldr	x8, [x19]
	ldr	x8, [x8]
	cmp	x21, x8
	b.ge	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_HPDF_Array_GetItem
	ldr	w8, [x0]
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w10, w10, w9
	cmp	w8, w10
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_GetPageCount
	b	LBB0_4
LBB0_7:
	mov	x20, #0
LBB0_8:
	mov	x0, x20
	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	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Kids"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ; @HPDF_OCLASS_ARRAY
l_.str.1:                               ; @.str.1
	.asciz	" GetPageCount\n"

	.comm	_HPDF_OCLASS_DICT,4,2           ; @HPDF_OCLASS_DICT
	.comm	_HPDF_OSUBCLASS_PAGES,4,2       ; @HPDF_OSUBCLASS_PAGES
	.comm	_HPDF_OSUBCLASS_PAGE,4,2        ; @HPDF_OSUBCLASS_PAGE
	.no_dead_strip	_GetPageCount
.subsections_via_symbols
