	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_kdf_pbkdf2
_test_kdf_pbkdf2:                       ## @test_kdf_pbkdf2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$128, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movl	$4096, -136(%rbp)               ## imm = 0x1000
	movl	$0, -132(%rbp)
	movups	l___const.test_kdf_pbkdf2.expected+9(%rip), %xmm0
	movups	%xmm0, -119(%rbp)
	movaps	l___const.test_kdf_pbkdf2.expected(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	_OSSL_KDF_PARAM_PASSWORD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$24, %edx
	callq	_OSSL_PARAM_construct_octet_string
	movl	%eax, -96(%rbp)
	movq	_OSSL_KDF_PARAM_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	$36, %edx
	callq	_OSSL_PARAM_construct_octet_string
	movl	%eax, -92(%rbp)
	movq	_OSSL_KDF_PARAM_ITER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-136(%rbp), %rsi
	callq	_OSSL_PARAM_construct_uint
	movl	%eax, -88(%rbp)
	movq	_OSSL_KDF_PARAM_DIGEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$7, %edx
	callq	_OSSL_PARAM_construct_utf8_string
	movl	%eax, -84(%rbp)
	movq	_OSSL_KDF_PARAM_PKCS5@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-132(%rbp), %rsi
	callq	_OSSL_PARAM_construct_int
	movl	%eax, -80(%rbp)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_OSSL_PARAM_construct_end
	movl	%eax, -76(%rbp)
	movq	_OSSL_KDF_NAME_PBKDF2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_kdfbyname
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_EVP_KDF_CTX_set_params
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$25, %edx
	callq	_EVP_KDF_derive
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	leaq	-64(%rbp), %rdi
	leaq	-128(%rbp), %rdx
	movl	$25, %esi
	movl	$25, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_EVP_KDF_CTX_set_params
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$13, %edx
	callq	_EVP_KDF_derive
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_eq
	xorl	%r14d, %r14d
	testq	%rax, %rax
	setne	%r14b
LBB0_6:
	movq	%rbx, %rdi
	callq	_EVP_KDF_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-24(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%r14d, %eax
	addq	$128, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.test_kdf_pbkdf2.expected
l___const.test_kdf_pbkdf2.expected:
	.ascii	"4\214\211\333\313\323+/2\330\024\270\021n\204\317+\0274~\274\030\000\030\034"

	.comm	_OSSL_KDF_PARAM_PASSWORD,4,2    ## @OSSL_KDF_PARAM_PASSWORD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"passwordPASSWORDpassword"

	.comm	_OSSL_KDF_PARAM_SALT,4,2        ## @OSSL_KDF_PARAM_SALT
L_.str.1:                               ## @.str.1
	.asciz	"saltSALTsaltSALTsaltSALTsaltSALTsalt"

	.comm	_OSSL_KDF_PARAM_ITER,4,2        ## @OSSL_KDF_PARAM_ITER
	.comm	_OSSL_KDF_PARAM_DIGEST,4,2      ## @OSSL_KDF_PARAM_DIGEST
L_.str.2:                               ## @.str.2
	.asciz	"sha256"

	.comm	_OSSL_KDF_PARAM_PKCS5,4,2       ## @OSSL_KDF_PARAM_PKCS5
	.comm	_OSSL_KDF_NAME_PBKDF2,4,2       ## @OSSL_KDF_NAME_PBKDF2
	.comm	_EVP_KDF_CTRL_SET_ITER,4,2      ## @EVP_KDF_CTRL_SET_ITER
	.comm	_EVP_KDF_CTRL_SET_PBKDF2_PKCS5_MODE,4,2 ## @EVP_KDF_CTRL_SET_PBKDF2_PKCS5_MODE
	.comm	_EVP_KDF_CTRL_SET_SALT,4,2      ## @EVP_KDF_CTRL_SET_SALT
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.no_dead_strip	_test_kdf_pbkdf2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_kdf_pbkdf2
_test_kdf_pbkdf2:                       ; @test_kdf_pbkdf2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	mov	w8, #4096
	stp	wzr, w8, [sp, #8]
Lloh3:
	adrp	x8, l___const.test_kdf_pbkdf2.expected@PAGE
Lloh4:
	add	x8, x8, l___const.test_kdf_pbkdf2.expected@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldur	q0, [x8, #9]
	stur	q0, [sp, #25]
Lloh5:
	adrp	x8, _OSSL_KDF_PARAM_PASSWORD@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OSSL_KDF_PARAM_PASSWORD@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #24
	bl	_OSSL_PARAM_construct_octet_string
	str	w0, [sp, #52]
Lloh10:
	adrp	x8, _OSSL_KDF_PARAM_SALT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SALT@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w2, #36
	bl	_OSSL_PARAM_construct_octet_string
	str	w0, [sp, #56]
Lloh15:
	adrp	x8, _OSSL_KDF_PARAM_ITER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OSSL_KDF_PARAM_ITER@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	add	x1, sp, #12
	bl	_OSSL_PARAM_construct_uint
	str	w0, [sp, #60]
Lloh18:
	adrp	x8, _OSSL_KDF_PARAM_DIGEST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _OSSL_KDF_PARAM_DIGEST@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #7
	bl	_OSSL_PARAM_construct_utf8_string
	str	w0, [sp, #64]
Lloh23:
	adrp	x8, _OSSL_KDF_PARAM_PKCS5@GOTPAGE
Lloh24:
	ldr	x8, [x8, _OSSL_KDF_PARAM_PKCS5@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_OSSL_PARAM_construct_int
	str	w0, [sp, #68]
	bl	_OSSL_PARAM_construct_end
	str	w0, [sp, #72]
Lloh26:
	adrp	x8, _OSSL_KDF_NAME_PBKDF2@GOTPAGE
Lloh27:
	ldr	x8, [x8, _OSSL_KDF_NAME_PBKDF2@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_get_kdfbyname
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_6
; %bb.1:
	add	x1, sp, #52
	mov	x0, x19
	bl	_EVP_KDF_CTX_set_params
	bl	_TEST_true
	cbz	w0, LBB0_6
; %bb.2:
	sub	x1, x29, #49
	mov	x0, x19
	mov	w2, #25
	bl	_EVP_KDF_derive
	mov	w1, #0
	bl	_TEST_int_gt
	cbz	x0, LBB0_6
; %bb.3:
	sub	x0, x29, #49
	add	x2, sp, #16
	mov	w1, #25
	mov	w3, #25
	bl	_TEST_mem_eq
	cbz	w0, LBB0_6
; %bb.4:
	add	x1, sp, #52
	mov	x0, x19
	bl	_EVP_KDF_CTX_set_params
	bl	_TEST_true
	cbz	w0, LBB0_6
; %bb.5:
	sub	x1, x29, #49
	mov	x0, x19
	mov	w2, #13
	bl	_EVP_KDF_derive
	mov	w1, #0
	bl	_TEST_int_eq
	cmp	x0, #0
	cset	w20, ne
	b	LBB0_7
LBB0_6:
	mov	w20, #0
LBB0_7:
	mov	x0, x19
	bl	_EVP_KDF_CTX_free
	ldur	x8, [x29, #-24]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.test_kdf_pbkdf2.expected:     ; @__const.test_kdf_pbkdf2.expected
	.ascii	"4\214\211\333\313\323+/2\330\024\270\021n\204\317+\0274~\274\030\000\030\034"

	.comm	_OSSL_KDF_PARAM_PASSWORD,4,2    ; @OSSL_KDF_PARAM_PASSWORD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"passwordPASSWORDpassword"

	.comm	_OSSL_KDF_PARAM_SALT,4,2        ; @OSSL_KDF_PARAM_SALT
l_.str.1:                               ; @.str.1
	.asciz	"saltSALTsaltSALTsaltSALTsaltSALTsalt"

	.comm	_OSSL_KDF_PARAM_ITER,4,2        ; @OSSL_KDF_PARAM_ITER
	.comm	_OSSL_KDF_PARAM_DIGEST,4,2      ; @OSSL_KDF_PARAM_DIGEST
l_.str.2:                               ; @.str.2
	.asciz	"sha256"

	.comm	_OSSL_KDF_PARAM_PKCS5,4,2       ; @OSSL_KDF_PARAM_PKCS5
	.comm	_OSSL_KDF_NAME_PBKDF2,4,2       ; @OSSL_KDF_NAME_PBKDF2
	.comm	_EVP_KDF_CTRL_SET_ITER,4,2      ; @EVP_KDF_CTRL_SET_ITER
	.comm	_EVP_KDF_CTRL_SET_PBKDF2_PKCS5_MODE,4,2 ; @EVP_KDF_CTRL_SET_PBKDF2_PKCS5_MODE
	.comm	_EVP_KDF_CTRL_SET_SALT,4,2      ; @EVP_KDF_CTRL_SET_SALT
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.no_dead_strip	_test_kdf_pbkdf2
.subsections_via_symbols
