	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkcs11_fetch_keys
_pkcs11_fetch_keys:                     ## @pkcs11_fetch_keys
	.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	%r12
	pushq	%rbx
	subq	$288, %rsp                      ## imm = 0x120
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_CKO_PUBLIC_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -312(%rbp)
	movq	_CKO_CERTIFICATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -308(%rbp)
	movq	_CKA_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$4, -64(%rbp)
	movl	$0, -56(%rbp)
	movl	%eax, -112(%rbp)
	movq	$4, -96(%rbp)
	movl	$0, -88(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -160(%rbp)
	movaps	%xmm0, -176(%rbp)
	movaps	%xmm0, -192(%rbp)
	movaps	%xmm0, -208(%rbp)
	movq	_CKA_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -208(%rbp)
	movq	_CKA_MODULUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -176(%rbp)
	movq	_CKA_PUBLIC_EXPONENT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -144(%rbp)
	movaps	%xmm0, -304(%rbp)
	movaps	%xmm0, -224(%rbp)
	movaps	%xmm0, -240(%rbp)
	movaps	%xmm0, -256(%rbp)
	movaps	%xmm0, -272(%rbp)
	movaps	%xmm0, -288(%rbp)
	movl	%eax, -304(%rbp)
	movq	_CKA_SUBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -272(%rbp)
	movq	_CKA_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -240(%rbp)
	leaq	-312(%rbp), %rax
	movq	%rax, -72(%rbp)
	leaq	-308(%rbp), %rax
	movq	%rax, -104(%rbp)
	leaq	-80(%rbp), %rdx
	leaq	-208(%rbp), %rcx
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_pkcs11_fetch_keys_filter
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	leaq	-112(%rbp), %rdx
	leaq	-304(%rbp), %rcx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movq	%r15, %r8
	movq	%r14, %r9
	callq	_pkcs11_fetch_keys_filter
	sarq	$63, %rax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$288, %rsp                      ## imm = 0x120
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CKO_PUBLIC_KEY,4,2             ## @CKO_PUBLIC_KEY
	.comm	_CKO_CERTIFICATE,4,2            ## @CKO_CERTIFICATE
	.comm	_CKA_CLASS,4,2                  ## @CKA_CLASS
	.comm	_CKA_ID,4,2                     ## @CKA_ID
	.comm	_CKA_MODULUS,4,2                ## @CKA_MODULUS
	.comm	_CKA_PUBLIC_EXPONENT,4,2        ## @CKA_PUBLIC_EXPONENT
	.comm	_CKA_SUBJECT,4,2                ## @CKA_SUBJECT
	.comm	_CKA_VALUE,4,2                  ## @CKA_VALUE
	.no_dead_strip	_pkcs11_fetch_keys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkcs11_fetch_keys
_pkcs11_fetch_keys:                     ; @pkcs11_fetch_keys
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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 w27, -56
	.cfi_offset w28, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, 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	x8, _CKO_PUBLIC_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CKO_PUBLIC_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	x9, sp, #112
	str	w8, [sp, #12]
Lloh6:
	adrp	x8, _CKO_CERTIFICATE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CKO_CERTIFICATE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh9:
	adrp	x8, _CKA_CLASS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CKA_CLASS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stur	w8, [x29, #-88]
	mov	w10, #4
	stur	wzr, [x29, #-64]
	stur	w8, [x29, #-120]
	stur	wzr, [x29, #-96]
	movi.2d	v0, #0000000000000000
	str	q0, [sp, #112]
	stp	q0, q0, [x9, #64]
	stp	q0, q0, [x9, #32]
Lloh12:
	adrp	x8, _CKA_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CKA_ID@GOTPAGEOFF]
Lloh14:
	adrp	x9, _CKA_MODULUS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _CKA_MODULUS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	str	w8, [sp, #112]
	str	w9, [sp, #144]
Lloh18:
	adrp	x9, _CKA_PUBLIC_EXPONENT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CKA_PUBLIC_EXPONENT@GOTPAGEOFF]
	str	q0, [sp, #128]
Lloh20:
	ldr	w9, [x9]
	str	w9, [sp, #176]
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	stp	q0, q0, [sp, #16]
	str	w8, [sp, #16]
Lloh21:
	adrp	x8, _CKA_SUBJECT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CKA_SUBJECT@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #48]
Lloh24:
	adrp	x8, _CKA_VALUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CKA_VALUE@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [sp, #80]
	add	x8, sp, #12
	stp	x8, x10, [x29, #-80]
	add	x8, sp, #8
	stp	x8, x10, [x29, #-112]
	sub	x2, x29, #88
	add	x3, sp, #112
	mov	x4, x20
	mov	x5, x19
	bl	_pkcs11_fetch_keys_filter
	tbnz	x0, #63, LBB0_2
; %bb.1:
	sub	x2, x29, #120
	add	x3, sp, #16
	mov	x0, x22
	mov	x1, x21
	mov	x4, x20
	mov	x5, x19
	bl	_pkcs11_fetch_keys_filter
	asr	x0, x0, #63
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	ldur	x8, [x29, #-56]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_CKO_PUBLIC_KEY,4,2             ; @CKO_PUBLIC_KEY
	.comm	_CKO_CERTIFICATE,4,2            ; @CKO_CERTIFICATE
	.comm	_CKA_CLASS,4,2                  ; @CKA_CLASS
	.comm	_CKA_ID,4,2                     ; @CKA_ID
	.comm	_CKA_MODULUS,4,2                ; @CKA_MODULUS
	.comm	_CKA_PUBLIC_EXPONENT,4,2        ; @CKA_PUBLIC_EXPONENT
	.comm	_CKA_SUBJECT,4,2                ; @CKA_SUBJECT
	.comm	_CKA_VALUE,4,2                  ; @CKA_VALUE
	.no_dead_strip	_pkcs11_fetch_keys
.subsections_via_symbols
