	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function kdf_tls1_prf_set_ctx_params
_kdf_tls1_prf_set_ctx_params:           ## @kdf_tls1_prf_set_ctx_params
	.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	%rsi, %r15
	movq	%rdi, %r12
	movl	40(%rdi), %edi
	callq	_PROV_LIBRARY_CONTEXT_OF
	movq	%rax, %rbx
	movq	_OSSL_KDF_PARAM_DIGEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	8(%rax), %rdi
	movq	_SN_md5_sha1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	36(%r12), %edi
	callq	_EVP_MAC_CTX_free
	leaq	32(%r12), %rdi
	movq	_OSSL_MAC_NAME_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	jmp	LBB0_5
LBB0_3:
	leaq	32(%r12), %rdi
	movq	_OSSL_MAC_NAME_HMAC@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	_SN_md5@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	movq	%rbx, %r9
	callq	_ossl_prov_macctx_load_from_params
	testl	%eax, %eax
	je	LBB0_20
## %bb.4:
	leaq	36(%r12), %rdi
	movl	(%r14), %edx
	movq	_SN_sha1@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	xorl	%r13d, %r13d
	movq	%r15, %rsi
	xorl	%ecx, %ecx
LBB0_5:
	movq	%rbx, %r9
	callq	_ossl_prov_macctx_load_from_params
	testl	%eax, %eax
	je	LBB0_20
LBB0_6:
	movq	_OSSL_KDF_PARAM_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rbx
	leaq	24(%r12), %r13
	movq	(%r12), %rsi
	movq	24(%r12), %rdi
	callq	_OPENSSL_clear_free
	movq	$0, 24(%r12)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%r13d, %r13d
	xorl	%edx, %edx
	movq	%r12, %rcx
	callq	_OSSL_PARAM_get_octet_string
	testl	%eax, %eax
	je	LBB0_20
LBB0_8:
	movq	_OSSL_KDF_PARAM_SEED@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_OSSL_PARAM_locate_const
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_20
## %bb.9:
	movq	%rax, %rbx
	movq	8(%r12), %rdi
	movl	16(%r12), %esi
	callq	_OPENSSL_cleanse
	movl	$0, 16(%r12)
	xorl	%eax, %eax
	leaq	-56(%rbp), %r15
	leaq	-48(%rbp), %r13
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movslq	%eax, %rcx
	addq	8(%r12), %rcx
	movq	%rcx, -56(%rbp)
	movq	$0, -48(%rbp)
	cmpq	$0, (%rbx)
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	cmpq	$0, 8(%rbx)
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	_TLS1_PRF_MAXBUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	subl	%eax, %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r13, %rcx
	callq	_OSSL_PARAM_get_octet_string
	testl	%eax, %eax
	je	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-48(%rbp), %rcx
	movl	16(%r12), %eax
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=1
	xorl	%ecx, %ecx
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=1
	addl	%eax, %ecx
	movl	%ecx, 16(%r12)
	addq	$16, %rbx
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_OSSL_PARAM_locate_const
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rbx
	movl	16(%r12), %eax
	jmp	LBB0_10
LBB0_18:
	movl	$1, %r13d
	jmp	LBB0_20
LBB0_19:
	xorl	%r13d, %r13d
LBB0_20:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OSSL_KDF_PARAM_DIGEST,4,2      ## @OSSL_KDF_PARAM_DIGEST
	.comm	_SN_md5_sha1,4,2                ## @SN_md5_sha1
	.comm	_OSSL_MAC_NAME_HMAC,4,2         ## @OSSL_MAC_NAME_HMAC
	.comm	_SN_md5,8,3                     ## @SN_md5
	.comm	_SN_sha1,8,3                    ## @SN_sha1
	.comm	_OSSL_KDF_PARAM_SECRET,4,2      ## @OSSL_KDF_PARAM_SECRET
	.comm	_OSSL_KDF_PARAM_SEED,4,2        ## @OSSL_KDF_PARAM_SEED
	.comm	_TLS1_PRF_MAXBUF,4,2            ## @TLS1_PRF_MAXBUF
	.no_dead_strip	_kdf_tls1_prf_set_ctx_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function kdf_tls1_prf_set_ctx_params
_kdf_tls1_prf_set_ctx_params:           ; @kdf_tls1_prf_set_ctx_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	ldr	w0, [x0, #40]
	bl	_PROV_LIBRARY_CONTEXT_OF
	mov	x21, x0
Lloh0:
	adrp	x8, _OSSL_KDF_PARAM_DIGEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OSSL_KDF_PARAM_DIGEST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x0, [x0, #8]
Lloh3:
	adrp	x8, _SN_md5_sha1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SN_md5_sha1@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_strcasecmp
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #36]
	bl	_EVP_MAC_CTX_free
	add	x0, x19, #32
Lloh6:
	adrp	x8, _OSSL_MAC_NAME_HMAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _OSSL_MAC_NAME_HMAC@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, #0
	mov	x4, #0
	b	LBB0_5
LBB0_3:
	add	x0, x19, #32
Lloh9:
	adrp	x22, _OSSL_MAC_NAME_HMAC@GOTPAGE
Lloh10:
	ldr	x22, [x22, _OSSL_MAC_NAME_HMAC@GOTPAGEOFF]
	ldr	w2, [x22]
Lloh11:
	adrp	x8, _SN_md5@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SN_md5@GOTPAGEOFF]
Lloh13:
	ldr	x4, [x8]
	mov	x1, x20
	mov	x3, #0
	mov	x5, x21
	bl	_ossl_prov_macctx_load_from_params
	cbz	w0, LBB0_17
; %bb.4:
	add	x0, x19, #36
	ldr	w2, [x22]
Lloh14:
	adrp	x8, _SN_sha1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SN_sha1@GOTPAGEOFF]
Lloh16:
	ldr	x4, [x8]
	mov	x1, x20
	mov	x3, #0
LBB0_5:
	mov	x5, x21
	bl	_ossl_prov_macctx_load_from_params
	cbz	w0, LBB0_17
LBB0_6:
Lloh17:
	adrp	x8, _OSSL_KDF_PARAM_SECRET@GOTPAGE
Lloh18:
	ldr	x8, [x8, _OSSL_KDF_PARAM_SECRET@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_8
; %bb.7:
	mov	x21, x0
	mov	x22, x19
	ldr	x0, [x22, #24]!
	ldr	x1, [x19]
	bl	_OPENSSL_clear_free
	str	xzr, [x22]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #0
	mov	x3, x19
	bl	_OSSL_PARAM_get_octet_string
	cbz	w0, LBB0_17
LBB0_8:
Lloh20:
	adrp	x21, _OSSL_KDF_PARAM_SEED@GOTPAGE
Lloh21:
	ldr	x21, [x21, _OSSL_KDF_PARAM_SEED@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_16
; %bb.9:
	mov	x20, x0
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	bl	_OPENSSL_cleanse
	mov	w8, #0
	str	wzr, [x19, #16]
Lloh22:
	adrp	x22, _TLS1_PRF_MAXBUF@GOTPAGE
Lloh23:
	ldr	x22, [x22, _TLS1_PRF_MAXBUF@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x9, x9, w8, sxtw
	stp	xzr, x9, [sp]
	ldr	x9, [x20]
	cbz	x9, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w9, [x22]
	sub	w2, w9, w8
	add	x1, sp, #8
	mov	x3, sp
	mov	x0, x20
	bl	_OSSL_PARAM_get_octet_string
	cbz	w0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [sp]
	ldr	w8, [x19, #16]
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=1
	add	w8, w8, w9
	str	w8, [x19, #16]
	add	x0, x20, #16
	ldr	w1, [x21]
	bl	_OSSL_PARAM_locate_const
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x20, x0
	ldr	w8, [x19, #16]
	b	LBB0_10
LBB0_16:
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_OSSL_KDF_PARAM_DIGEST,4,2      ; @OSSL_KDF_PARAM_DIGEST
	.comm	_SN_md5_sha1,4,2                ; @SN_md5_sha1
	.comm	_OSSL_MAC_NAME_HMAC,4,2         ; @OSSL_MAC_NAME_HMAC
	.comm	_SN_md5,8,3                     ; @SN_md5
	.comm	_SN_sha1,8,3                    ; @SN_sha1
	.comm	_OSSL_KDF_PARAM_SECRET,4,2      ; @OSSL_KDF_PARAM_SECRET
	.comm	_OSSL_KDF_PARAM_SEED,4,2        ; @OSSL_KDF_PARAM_SEED
	.comm	_TLS1_PRF_MAXBUF,4,2            ; @TLS1_PRF_MAXBUF
	.no_dead_strip	_kdf_tls1_prf_set_ctx_params
.subsections_via_symbols
