	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkcs11_find
_pkcs11_find:                           ## @pkcs11_find
	.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, %r15
	movq	%rcx, %r14
	movq	$0, -48(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %r12
	movl	(%rax,%rsi,4), %ebx
	movl	%ebx, %edi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	*(%r12)
	movq	_CKR_OK@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
	movl	$-1, %r15d
	jmp	LBB0_7
LBB0_2:
	leaq	-48(%rbp), %rcx
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	$1, %edx
	callq	*8(%r12)
	movq	-48(%rbp), %rsi
	cmpq	(%r13), %rax
	jne	LBB0_4
## %bb.3:
	xorl	%r15d, %r15d
	cmpq	$1, %rsi
	je	LBB0_5
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_debug
	movl	$-1, %r15d
LBB0_5:
	movl	%ebx, %edi
	callq	*16(%r12)
	cmpq	(%r13), %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_error
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CKR_OK,8,3                     ## @CKR_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C_FindObjectsInit failed (nattr %lu): %lu"

L_.str.1:                               ## @.str.1
	.asciz	"C_FindObjects failed (nfound %lu nattr %lu): %lu"

L_.str.2:                               ## @.str.2
	.asciz	"C_FindObjectsFinal failed: %lu"

	.no_dead_strip	_pkcs11_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkcs11_find
_pkcs11_find:                           ; @pkcs11_find
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x21, x4
	mov	x20, x3
	str	xzr, [sp, #24]
	ldp	x8, x22, [x0]
	ldr	w19, [x8, x1, lsl #2]
	ldr	x8, [x22]
	mov	x0, x19
	mov	x1, x2
	mov	x2, x3
	blr	x8
Lloh0:
	adrp	x23, _CKR_OK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _CKR_OK@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	stp	x20, x0, [sp]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	w20, #-1
	b	LBB0_7
LBB0_2:
	ldr	x8, [x22, #8]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x21
	mov	w2, #1
	blr	x8
	ldr	x8, [x23]
	ldr	x1, [sp, #24]
	cmp	x0, x8
	ccmp	x1, #1, #0, eq
	b.eq	LBB0_4
; %bb.3:
	mov	x3, x0
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_debug
	mov	w20, #-1
	b	LBB0_5
LBB0_4:
	mov	w20, #0
LBB0_5:
	ldr	x8, [x22, #16]
	mov	x0, x19
	blr	x8
	ldr	x8, [x23]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
	str	x0, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_7:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CKR_OK,8,3                     ; @CKR_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C_FindObjectsInit failed (nattr %lu): %lu"

l_.str.1:                               ; @.str.1
	.asciz	"C_FindObjects failed (nfound %lu nattr %lu): %lu"

l_.str.2:                               ; @.str.2
	.asciz	"C_FindObjectsFinal failed: %lu"

	.no_dead_strip	_pkcs11_find
.subsections_via_symbols
