	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_EncryptDict_Validate      ## -- Begin function HPDF_EncryptDict_Validate
	.p2align	4, 0x90
_HPDF_EncryptDict_Validate:             ## @HPDF_EncryptDict_Validate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_HPDF_PTRACE
	movq	_HPDF_FALSE@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %ecx
	testl	%ecx, %ecx
	je	LBB0_5
## %bb.2:
	movq	_HPDF_OCLASS_DICT@GOTPCREL(%rip), %rax
	movq	_HPDF_OSUBCLASS_ENCRYPT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rax), %edx
	cmpl	%edx, %ecx
	jne	LBB0_3
## %bb.4:
	movq	_HPDF_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_HPDF_FALSE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" HPDF_EncryptDict_Validate\n"

	.comm	_HPDF_FALSE,4,2                 ## @HPDF_FALSE
	.comm	_HPDF_OCLASS_DICT,4,2           ## @HPDF_OCLASS_DICT
	.comm	_HPDF_OSUBCLASS_ENCRYPT,4,2     ## @HPDF_OSUBCLASS_ENCRYPT
	.comm	_HPDF_TRUE,4,2                  ## @HPDF_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_EncryptDict_Validate      ; -- Begin function HPDF_EncryptDict_Validate
	.p2align	2
_HPDF_EncryptDict_Validate:             ; @HPDF_EncryptDict_Validate
	.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, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_HPDF_PTRACE
	cbz	x19, LBB0_3
; %bb.1:
	ldr	w9, [x19]
Lloh2:
	adrp	x8, _HPDF_FALSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HPDF_FALSE@GOTPAGEOFF]
	cbz	w9, LBB0_4
; %bb.2:
Lloh4:
	adrp	x10, _HPDF_OCLASS_DICT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _HPDF_OCLASS_DICT@GOTPAGEOFF]
Lloh6:
	ldr	w10, [x10]
Lloh7:
	adrp	x11, _HPDF_OSUBCLASS_ENCRYPT@GOTPAGE
Lloh8:
	ldr	x11, [x11, _HPDF_OSUBCLASS_ENCRYPT@GOTPAGEOFF]
Lloh9:
	ldr	w11, [x11]
	orr	w10, w11, w10
Lloh10:
	adrp	x11, _HPDF_TRUE@GOTPAGE
Lloh11:
	ldr	x11, [x11, _HPDF_TRUE@GOTPAGEOFF]
	cmp	w9, w10
	csel	x8, x11, x8, eq
	b	LBB0_4
LBB0_3:
Lloh12:
	adrp	x8, _HPDF_FALSE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HPDF_FALSE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" HPDF_EncryptDict_Validate\n"

	.comm	_HPDF_FALSE,4,2                 ; @HPDF_FALSE
	.comm	_HPDF_OCLASS_DICT,4,2           ; @HPDF_OCLASS_DICT
	.comm	_HPDF_OSUBCLASS_ENCRYPT,4,2     ; @HPDF_OSUBCLASS_ENCRYPT
	.comm	_HPDF_TRUE,4,2                  ; @HPDF_TRUE
.subsections_via_symbols
