	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_PDFA_GenerateID           ## -- Begin function HPDF_PDFA_GenerateID
	.p2align	4, 0x90
_HPDF_PDFA_GenerateID:                  ## @HPDF_PDFA_GenerateID
	.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	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HPDF_MD5_KEY_LEN@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_ctime
	movq	%rax, %r12
	movl	12(%rbx), %edi
	movq	_HPDF_OCLASS_ARRAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_HPDF_Dict_GetItem
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_HPDF_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_2:
	movl	8(%rbx), %edi
	callq	_HPDF_Array_New
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r15
	movl	12(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_HPDF_Dict_Add
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	leaq	-52(%rbp), %rdi
	callq	_HPDF_MD5Init
	leaq	L_.str.1(%rip), %rsi
	leaq	-52(%rbp), %rdi
	movl	$7, %edx
	callq	_HPDF_MD5Update
	movq	%r12, %rdi
	movl	$-1, %esi
	callq	_HPDF_StrLen
	leaq	-52(%rbp), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_HPDF_MD5Update
	movq	%r14, %rdi
	leaq	-52(%rbp), %rsi
	callq	_HPDF_MD5Final
	movl	8(%rbx), %edi
	movl	(%r13), %edx
	movq	%r14, %rsi
	callq	_HPDF_Binary_New
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_HPDF_Array_Add
	movq	_HPDF_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movl	8(%rbx), %edi
	movl	(%r13), %edx
	movq	%r14, %rsi
	movq	%rcx, %r14
	callq	_HPDF_Binary_New
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_HPDF_Array_Add
	cmpq	(%r14), %rax
	je	LBB0_8
LBB0_7:
	movq	(%rbx), %rax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.9:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HPDF_MD5_KEY_LEN,4,2           ## @HPDF_MD5_KEY_LEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ID"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ## @HPDF_OCLASS_ARRAY
	.comm	_HPDF_OK,8,3                    ## @HPDF_OK
L_.str.1:                               ## @.str.1
	.asciz	"libHaru"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_HPDF_PDFA_GenerateID           ; -- Begin function HPDF_PDFA_GenerateID
	.p2align	2
_HPDF_PDFA_GenerateID:                  ; @HPDF_PDFA_GenerateID
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _HPDF_MD5_KEY_LEN@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HPDF_MD5_KEY_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	lsl	x8, x8, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, #0
	bl	_time
	stur	w0, [x29, #-64]
	sub	x0, x29, #64
	bl	_ctime
	mov	x22, x0
	ldr	w0, [x19, #12]
Lloh7:
	adrp	x8, _HPDF_OCLASS_ARRAY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HPDF_OCLASS_ARRAY@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_HPDF_Dict_GetItem
	cbz	x0, LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _HPDF_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HPDF_OK@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
	b	LBB0_7
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_HPDF_Array_New
	cbz	x0, LBB0_6
; %bb.3:
	mov	x21, x0
	ldr	w0, [x19, #12]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x21
	bl	_HPDF_Dict_Add
Lloh17:
	adrp	x24, _HPDF_OK@GOTPAGE
Lloh18:
	ldr	x24, [x24, _HPDF_OK@GOTPAGEOFF]
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	sub	x0, x29, #60
	bl	_HPDF_MD5Init
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	sub	x0, x29, #60
	mov	w2, #7
	bl	_HPDF_MD5Update
	mov	x0, x22
	mov	w1, #-1
	bl	_HPDF_StrLen
	mov	x2, x0
	sub	x0, x29, #60
	mov	x1, x22
	bl	_HPDF_MD5Update
	sub	x1, x29, #60
	mov	x0, x20
	bl	_HPDF_MD5Final
	ldr	w0, [x19, #8]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_HPDF_Binary_New
	mov	x1, x0
	mov	x0, x21
	bl	_HPDF_Array_Add
	ldr	x8, [x24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	ldr	w0, [x19, #8]
	ldr	w2, [x23]
	mov	x1, x20
	bl	_HPDF_Binary_New
	mov	x1, x0
	mov	x0, x21
	bl	_HPDF_Array_Add
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_7
LBB0_6:
	ldr	x0, [x19]
LBB0_7:
	ldur	x8, [x29, #-56]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	sub	sp, x29, #48
	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
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_HPDF_MD5_KEY_LEN,4,2           ; @HPDF_MD5_KEY_LEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ID"

	.comm	_HPDF_OCLASS_ARRAY,4,2          ; @HPDF_OCLASS_ARRAY
	.comm	_HPDF_OK,8,3                    ; @HPDF_OK
l_.str.1:                               ; @.str.1
	.asciz	"libHaru"

.subsections_via_symbols
