	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_scrypt_derive
_pkey_scrypt_derive:                    ## @pkey_scrypt_derive
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	40(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.3:
	movq	%rdx, %r10
	movq	24(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.5:
	movq	%rsi, %r11
	movl	32(%rax), %esi
	movl	16(%rax), %ecx
	movl	12(%rax), %r8d
	movl	8(%rax), %r9d
	movl	(%rax), %ebx
	movl	4(%rax), %eax
	pushq	(%r10)
	pushq	%r11
	pushq	%rbx
	pushq	%rax
	callq	_EVP_PBE_scrypt
	addq	$40, %rsp
	jmp	LBB0_6
LBB0_1:
	movq	_KDF_F_PKEY_SCRYPT_DERIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KDF_R_MISSING_PASS@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_KDF_F_PKEY_SCRYPT_DERIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_KDF_R_MISSING_SALT@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %esi
	callq	_KDFerr
	xorl	%eax, %eax
	addq	$8, %rsp
LBB0_6:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KDF_F_PKEY_SCRYPT_DERIVE,4,2   ## @KDF_F_PKEY_SCRYPT_DERIVE
	.comm	_KDF_R_MISSING_PASS,4,2         ## @KDF_R_MISSING_PASS
	.comm	_KDF_R_MISSING_SALT,4,2         ## @KDF_R_MISSING_SALT
	.no_dead_strip	_pkey_scrypt_derive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_scrypt_derive
_pkey_scrypt_derive:                    ; @pkey_scrypt_derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x10, [x0]
	ldr	x0, [x10, #40]
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x10, #24]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w9, [x10, #32]
	ldp	w4, w3, [x10, #12]
	ldp	w6, w5, [x10, #4]
	ldr	w7, [x10]
	ldr	x10, [x2]
	stp	x1, x10, [sp]
	mov	x1, x9
	mov	x2, x8
	bl	_EVP_PBE_scrypt
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _KDF_F_PKEY_SCRYPT_DERIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KDF_F_PKEY_SCRYPT_DERIVE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _KDF_R_MISSING_PASS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KDF_R_MISSING_PASS@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _KDF_F_PKEY_SCRYPT_DERIVE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _KDF_F_PKEY_SCRYPT_DERIVE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _KDF_R_MISSING_SALT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _KDF_R_MISSING_SALT@GOTPAGEOFF]
LBB0_5:
	ldr	w1, [x8]
	bl	_KDFerr
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_KDF_F_PKEY_SCRYPT_DERIVE,4,2   ; @KDF_F_PKEY_SCRYPT_DERIVE
	.comm	_KDF_R_MISSING_PASS,4,2         ; @KDF_R_MISSING_PASS
	.comm	_KDF_R_MISSING_SALT,4,2         ; @KDF_R_MISSING_SALT
	.no_dead_strip	_pkey_scrypt_derive
.subsections_via_symbols
