	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C_FindObjectsInit              ## -- Begin function C_FindObjectsInit
	.p2align	4, 0x90
_C_FindObjectsInit:                     ## @C_FindObjectsInit
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_st_logf
	xorl	%eax, %eax
	callq	_INIT_CONTEXT
	leaq	-48(%rbp), %rsi
	movl	%r15d, %edi
	callq	_VERIFY_SESSION_HANDLE
	movq	-48(%rbp), %rax
	cmpl	$-1, (%rax)
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	callq	_application_error
	movq	-48(%rbp), %rdi
	callq	_find_object_final
LBB0_2:
	testl	%r14d, %r14d
	je	LBB0_10
## %bb.3:
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_print_attributes
	movl	%r14d, %esi
	shll	$4, %esi
	movl	$1, %edi
	callq	_calloc
	movq	-48(%rbp), %rcx
	movq	%rax, 8(%rcx)
	movq	_CKR_DEVICE_MEMORY@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	je	LBB0_12
## %bb.4:
	testl	%r14d, %r14d
	jle	LBB0_9
## %bb.5:
	movl	%r14d, %r12d
	shlq	$4, %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	callq	_malloc
	movq	-48(%rbp), %rcx
	movq	8(%rcx), %rcx
	movq	%rax, 8(%rcx,%rbx)
	movq	-48(%rbp), %rdi
	movq	8(%rdi), %rax
	movq	8(%rax,%rbx), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r13), %edx
	movl	8(%r13), %esi
	movq	%rax, %rdi
	callq	_memcpy
	movl	4(%r13), %eax
	movq	-48(%rbp), %rcx
	movq	8(%rcx), %rdx
	movl	%eax, 4(%rdx,%rbx)
	movl	(%r13), %eax
	movl	%eax, (%rdx,%rbx)
	addq	$16, %rbx
	addq	$12, %r13
	cmpq	%rbx, %r12
	jne	LBB0_6
LBB0_9:
	movl	%r14d, 4(%rcx)
	movl	$0, (%rcx)
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rdi
	callq	_st_logf
	movq	-48(%rbp), %rax
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rax)
LBB0_11:
	movq	_CKR_OK@GOTPCREL(%rip), %r15
LBB0_12:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	_find_object_final
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FindObjectsInit\n"

L_.str.1:                               ## @.str.1
	.asciz	"application didn't do C_FindObjectsFinal\n"

	.comm	_CKR_DEVICE_MEMORY,4,2          ## @CKR_DEVICE_MEMORY
L_.str.2:                               ## @.str.2
	.asciz	"find all objects\n"

	.comm	_CKR_OK,4,2                     ## @CKR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_C_FindObjectsInit              ; -- Begin function C_FindObjectsInit
	.p2align	2
_C_FindObjectsInit:                     ; @C_FindObjectsInit
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_st_logf
	bl	_INIT_CONTEXT
	add	x1, sp, #8
	mov	x0, x21
	bl	_VERIFY_SESSION_HANDLE
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_application_error
	ldr	x0, [sp, #8]
	bl	_find_object_final
LBB0_2:
	cbz	w19, LBB0_9
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	bl	_print_attributes
	lsl	w1, w19, #4
	mov	w0, #1
	bl	_calloc
	ldr	x8, [sp, #8]
	str	x0, [x8, #8]
	cbz	x0, LBB0_12
; %bb.4:
	cmp	w19, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x21, #0
	mov	w8, w19
	lsl	x22, x8, #4
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_malloc
	ldr	x8, [sp, #8]
	ldr	x8, [x8, #8]
	add	x8, x8, x21
	str	x0, [x8, #8]
	ldr	x0, [sp, #8]
	ldr	x8, [x0, #8]
	add	x8, x8, x21
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x20, #8]
	ldr	w2, [x20]
	mov	x0, x8
	bl	_memcpy
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	ldr	d0, [x20], #12
	str	d0, [x9, x21]
	add	x21, x21, #16
	cmp	x22, x21
	b.ne	LBB0_6
LBB0_8:
	stp	wzr, w19, [x8]
	b	LBB0_10
LBB0_9:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_st_logf
	ldr	x8, [sp, #8]
	stp	xzr, xzr, [x8]
LBB0_10:
Lloh6:
	adrp	x8, _CKR_OK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CKR_OK@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	bl	_find_object_final
LBB0_12:
Lloh8:
	adrp	x8, _CKR_DEVICE_MEMORY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CKR_DEVICE_MEMORY@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FindObjectsInit\n"

l_.str.1:                               ; @.str.1
	.asciz	"application didn't do C_FindObjectsFinal\n"

	.comm	_CKR_DEVICE_MEMORY,4,2          ; @CKR_DEVICE_MEMORY
l_.str.2:                               ; @.str.2
	.asciz	"find all objects\n"

	.comm	_CKR_OK,4,2                     ; @CKR_OK
.subsections_via_symbols
