	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CheckCompositGryph
_CheckCompositGryph:                    ## @CheckCompositGryph
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movslq	(%rdi), %r15
	movq	8(%r15), %rax
	movl	(%rax,%rsi,4), %ebx
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	cmpq	$0, 40(%r15)
	sete	%cl
	shll	%cl, %ebx
	addl	24(%r15), %ebx
	movl	32(%r15), %edi
	movq	_HPDF_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	callq	_HPDF_Stream_Seek
	movq	_HPDF_OK@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.1:
	movl	32(%r15), %edi
	leaq	-52(%rbp), %rsi
	callq	_GetINT16
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.2:
	cmpl	$-1, -52(%rbp)
	jne	LBB0_23
## %bb.3:
	movq	%r14, %rdi
	callq	_HPDF_PTRACE
	movl	32(%r15), %edi
	movq	_HPDF_SEEK_CUR@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	$8, %esi
	callq	_HPDF_Stream_Seek
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.4:
	leaq	-44(%rbp), %r12
	leaq	-48(%rbp), %r14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_5 Depth=1
	movslq	%eax, %rdi
	callq	_HPDF_PTRACE
	testb	$32, -44(%rbp)
	je	LBB0_22
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	32(%r15), %edi
	movq	%r12, %rsi
	callq	_GetINT16
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r15), %edi
	movq	%r14, %rsi
	callq	_GetINT16
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	testb	$1, -44(%rbp)
	movl	32(%r15), %edi
	movl	(%r13), %edx
	jne	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$2, %esi
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	$4, %esi
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_HPDF_Stream_Seek
	cmpl	(%rbx), %eax
	jne	LBB0_23
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	testb	$8, %al
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$64, %al
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	testb	$-128, %al
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r15), %edi
	movl	(%r13), %edx
	movl	$8, %esi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r15), %edi
	movl	(%r13), %edx
	movl	$2, %esi
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	32(%r15), %edi
	movl	(%r13), %edx
	movl	$4, %esi
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_HPDF_Stream_Seek
	cmpl	(%rbx), %eax
	jne	LBB0_23
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-48(%rbp), %eax
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	(%r15), %eax
	jge	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rcx
	movl	$1, (%rcx,%rax,4)
	movl	-48(%rbp), %eax
	jmp	LBB0_21
LBB0_22:
	movl	(%rbx), %eax
LBB0_23:
	addq	$24, %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	" CheckCompositGryph\n"

	.comm	_HPDF_SEEK_SET,4,2              ## @HPDF_SEEK_SET
	.comm	_HPDF_OK,4,2                    ## @HPDF_OK
	.comm	_HPDF_SEEK_CUR,4,2              ## @HPDF_SEEK_CUR
	.no_dead_strip	_CheckCompositGryph
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CheckCompositGryph
_CheckCompositGryph:                    ; @CheckCompositGryph
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	ldrsw	x20, [x0]
	ldr	x8, [x20, #8]
	ldr	w21, [x8, x1, lsl #2]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	ldr	x8, [x20, #40]
	cmp	x8, #0
	cset	w8, eq
	lsl	w8, w21, w8
	ldr	w9, [x20, #24]
	add	w1, w8, w9
	ldr	w0, [x20, #32]
Lloh2:
	adrp	x8, _HPDF_SEEK_SET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_SEEK_SET@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_HPDF_Stream_Seek
Lloh5:
	adrp	x21, _HPDF_OK@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HPDF_OK@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.1:
	ldr	w0, [x20, #32]
	add	x1, sp, #12
	bl	_GetINT16
	ldr	w8, [x21]
	ldr	w9, [sp, #12]
	cmp	w0, w8
	ccmn	w9, #1, #0, eq
	b.ne	LBB0_22
; %bb.2:
	mov	x0, x19
	bl	_HPDF_PTRACE
	ldr	w0, [x20, #32]
Lloh7:
	adrp	x19, _HPDF_SEEK_CUR@GOTPAGE
Lloh8:
	ldr	x19, [x19, _HPDF_SEEK_CUR@GOTPAGEOFF]
	ldr	w2, [x19]
	mov	w1, #8
	bl	_HPDF_Stream_Seek
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.3:
	mov	w22, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x0, w8
	bl	_HPDF_PTRACE
	ldrb	w8, [sp, #8]
	tbz	w8, #5, LBB0_21
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20, #32]
	add	x1, sp, #8
	bl	_GetINT16
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #32]
	add	x1, sp, #4
	bl	_GetINT16
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #32]
	ldr	w2, [x19]
	ldrb	w8, [sp, #8]
	tbnz	w8, #0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w1, #4
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_HPDF_Stream_Seek
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #8]
	tbnz	w8, #3, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w8, #6, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	tbz	w8, #7, LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #32]
	ldr	w2, [x19]
	mov	w1, #8
	b	LBB0_17
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #32]
	ldr	w2, [x19]
	mov	w1, #2
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #32]
	ldr	w2, [x19]
	mov	w1, #4
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_HPDF_Stream_Seek
	ldr	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [sp, #4]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x20]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.20:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x20, #16]
	str	w22, [x9, x8, lsl #2]
	ldr	w8, [sp, #4]
	b	LBB0_4
LBB0_21:
	ldr	w0, [x21]
LBB0_22:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" CheckCompositGryph\n"

	.comm	_HPDF_SEEK_SET,4,2              ; @HPDF_SEEK_SET
	.comm	_HPDF_OK,4,2                    ; @HPDF_OK
	.comm	_HPDF_SEEK_CUR,4,2              ; @HPDF_SEEK_CUR
	.no_dead_strip	_CheckCompositGryph
.subsections_via_symbols
