	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PBE_find                   ## -- Begin function EVP_PBE_find
	.p2align	4, 0x90
_EVP_PBE_find:                          ## @EVP_PBE_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NID_undef@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	cmpl	%esi, (%rax)
	je	LBB0_10
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%edi, -64(%rbp)
	movl	%esi, -60(%rbp)
	movq	_pbe_algs@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	leaq	-64(%rbp), %rsi
	callq	_sk_EVP_PBE_CTL_find
	movq	(%rbx), %rdi
	movl	%eax, %esi
	callq	_sk_EVP_PBE_CTL_value
	testq	%rax, %rax
	jne	LBB0_4
LBB0_3:
	movq	_builtin_pbe@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_OSSL_NELEM
	leaq	-64(%rbp), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_OBJ_bsearch_pbe2
	testq	%rax, %rax
	je	LBB0_10
LBB0_4:
	testq	%r12, %r12
	je	LBB0_6
## %bb.5:
	movl	8(%rax), %ecx
	movl	%ecx, (%r12)
LBB0_6:
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movl	12(%rax), %ecx
	movl	%ecx, (%r15)
LBB0_8:
	movl	$1, %r13d
	testq	%r14, %r14
	je	LBB0_10
## %bb.9:
	movq	16(%rax), %rax
	movq	%rax, (%r14)
LBB0_10:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_pbe_algs,8,3                   ## @pbe_algs
	.comm	_builtin_pbe,4,2                ## @builtin_pbe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_PBE_find                   ; -- Begin function EVP_PBE_find
	.p2align	2
_EVP_PBE_find:                          ; @EVP_PBE_find
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _NID_undef@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	stp	w0, w1, [sp, #8]
Lloh3:
	adrp	x22, _pbe_algs@GOTPAGE
Lloh4:
	ldr	x22, [x22, _pbe_algs@GOTPAGEOFF]
	ldr	x0, [x22]
	cbz	x0, LBB0_4
; %bb.3:
	add	x1, sp, #8
	bl	_sk_EVP_PBE_CTL_find
	mov	x1, x0
	ldr	x0, [x22]
	bl	_sk_EVP_PBE_CTL_value
	cbnz	x0, LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _builtin_pbe@GOTPAGE
Lloh6:
	ldr	x8, [x8, _builtin_pbe@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
	mov	x0, x22
	bl	_OSSL_NELEM
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x22
	bl	_OBJ_bsearch_pbe2
	cbz	x0, LBB0_12
LBB0_5:
	cbz	x21, LBB0_7
; %bb.6:
	ldr	w8, [x0, #8]
	str	w8, [x21]
LBB0_7:
	cbz	x20, LBB0_9
; %bb.8:
	ldr	w8, [x0, #12]
	str	w8, [x20]
LBB0_9:
	cbz	x19, LBB0_11
; %bb.10:
	ldr	x8, [x0, #16]
	str	x8, [x19]
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_pbe_algs,8,3                   ; @pbe_algs
	.comm	_builtin_pbe,4,2                ; @builtin_pbe
.subsections_via_symbols
