	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pbkdf2_set_membuf
_pbkdf2_set_membuf:                     ## @pbkdf2_set_membuf
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	movq	(%rsi), %rsi
	callq	_OPENSSL_clear_free
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movq	$0, (%r15)
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_OSSL_PARAM_get_octet_string
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_6
LBB0_1:
	movl	$1, %edi
	callq	_OPENSSL_malloc
	movq	%rax, (%r15)
	testq	%rax, %rax
	je	LBB0_2
LBB0_5:
	movl	$1, %r12d
LBB0_6:
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%r12d, %r12d
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_pbkdf2_set_membuf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pbkdf2_set_membuf
_pbkdf2_set_membuf:                     ; @pbkdf2_set_membuf
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x1, [x1]
	bl	_OPENSSL_clear_free
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_4
; %bb.2:
	str	xzr, [x19]
	mov	x0, x21
	mov	x1, x19
	mov	w2, #0
	mov	x3, x20
	bl	_OSSL_PARAM_get_octet_string
	cbnz	w0, LBB0_4
	b	LBB0_5
LBB0_3:
	mov	w0, #1
	bl	_OPENSSL_malloc
	str	x0, [x19]
	cbz	x0, LBB0_6
LBB0_4:
	mov	w0, #1
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh0:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ERR_raise
	mov	w0, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_pbkdf2_set_membuf
.subsections_via_symbols
