	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function commonInit
_commonInit:                            ## @commonInit
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	16(%rbp), %r14
	movq	$0, (%r14)
	movl	%r9d, %edi
	movq	%r14, %rsi
	callq	_object_handle_to_object
	movq	_CKR_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.1:
	movq	(%r14), %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_attributes_match
	testl	%eax, %eax
	je	LBB0_8
## %bb.2:
	movl	%r15d, %esi
	testl	%r15d, %r15d
	jle	LBB0_3
## %bb.10:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	(%r15), %rcx
	movl	%esi, %edx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rbx,%rax,8)
	je	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	incq	%rax
	cmpq	%rax, %rdx
	jne	LBB0_11
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_application_error
	movq	_CKR_ARGUMENTS_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	xorl	%eax, %eax
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_4:
	cmpl	%esi, %eax
	jne	LBB0_5
LBB0_13:
	movq	(%r15), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_application_error
	movq	_CKR_ARGUMENTS_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_CKR_OK@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CKR_OK,4,2                     ## @CKR_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"called commonInit on key that doesn't support required attr"

	.comm	_CKR_ARGUMENTS_BAD,4,2          ## @CKR_ARGUMENTS_BAD
L_.str.1:                               ## @.str.1
	.asciz	"called mech (%08lx) not supported\n"

	.no_dead_strip	_commonInit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function commonInit
_commonInit:                            ; @commonInit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x6
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
	str	xzr, [x6]
	mov	x0, x5
	mov	x1, x6
	bl	_object_handle_to_object
Lloh0:
	adrp	x25, _CKR_OK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _CKR_OK@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.1:
	ldr	x0, [x22]
	mov	x1, x24
	mov	x2, x23
	bl	_attributes_match
	cbz	w0, LBB0_6
; %bb.2:
	cmp	w20, #1
	b.lt	LBB0_7
; %bb.3:
	mov	x8, #0
	ldr	x9, [x19]
	mov	w10, w20
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21, x8, lsl #3]
	cmp	x11, x9
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #1
	cmp	x10, x8
	b.ne	LBB0_4
	b	LBB0_9
LBB0_6:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_7:
	mov	w8, #0
LBB0_8:
	cmp	w8, w20
	b.ne	LBB0_11
LBB0_9:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_application_error
Lloh6:
	adrp	x8, _CKR_ARGUMENTS_BAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CKR_ARGUMENTS_BAD@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_11:
	ldr	w0, [x25]
LBB0_12:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CKR_OK,4,2                     ; @CKR_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"called commonInit on key that doesn't support required attr"

	.comm	_CKR_ARGUMENTS_BAD,4,2          ; @CKR_ARGUMENTS_BAD
l_.str.1:                               ; @.str.1
	.asciz	"called mech (%08lx) not supported\n"

	.no_dead_strip	_commonInit
.subsections_via_symbols
