	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls1_PRF
_tls1_PRF:                              ## @tls1_PRF
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %r14
	callq	_ssl_prf_md
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	_EVP_PKEY_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_EVP_PKEY_CTX_new_id
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_14
## %bb.5:
	movq	%r15, %rdi
	callq	_EVP_PKEY_derive_init
	testq	%rax, %rax
	jle	LBB0_14
## %bb.6:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_EVP_PKEY_CTX_set_tls1_prf_md
	testq	%rax, %rax
	jle	LBB0_14
## %bb.7:
	movq	64(%rbp), %rdx
	movq	56(%rbp), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_set1_tls1_prf_secret
	testq	%rax, %rax
	jle	LBB0_14
## %bb.8:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_14
## %bb.9:
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_14
## %bb.10:
	movq	16(%rbp), %rdx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_14
## %bb.11:
	movq	32(%rbp), %rdx
	movq	24(%rbp), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_14
## %bb.12:
	movq	48(%rbp), %rdx
	movq	40(%rbp), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_PKEY_CTX_add1_tls1_prf_seed
	testq	%rax, %rax
	jle	LBB0_14
## %bb.13:
	movq	72(%rbp), %rsi
	leaq	80(%rbp), %rdx
	movq	%r15, %rdi
	callq	_EVP_PKEY_derive
	movl	$1, %ebx
	testq	%rax, %rax
	jg	LBB0_18
LBB0_14:
	cmpl	$0, 88(%rbp)
	je	LBB0_16
## %bb.15:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	jmp	LBB0_17
LBB0_1:
	cmpl	$0, 88(%rbp)
	je	LBB0_3
## %bb.2:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
	jmp	LBB0_19
LBB0_16:
	movq	_SSL_F_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%r15, %rdi
	callq	_EVP_PKEY_CTX_free
LBB0_19:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_SSL_F_TLS1_PRF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	xorl	%ebx, %ebx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS1_PRF,4,2             ## @SSL_F_TLS1_PRF
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EVP_PKEY_TLS1_PRF,4,2          ## @EVP_PKEY_TLS1_PRF
	.no_dead_strip	_tls1_PRF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls1_PRF
_tls1_PRF:                              ; @tls1_PRF
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x27, x1
	mov	x20, x0
	ldr	w21, [x29, #72]
	bl	_ssl_prf_md
	cbz	x0, LBB0_14
; %bb.1:
	mov	x28, x0
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, _EVP_PKEY_TLS1_PRF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_PKEY_TLS1_PRF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_EVP_PKEY_CTX_new_id
	mov	x19, x0
	cbz	x0, LBB0_12
; %bb.2:
	mov	x0, x19
	bl	_EVP_PKEY_derive_init
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.3:
	mov	x0, x19
	mov	x1, x28
	bl	_EVP_PKEY_CTX_set_tls1_prf_md
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.4:
	ldp	x1, x2, [x29, #40]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_PKEY_CTX_set1_tls1_prf_secret
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.5:
	mov	x0, x19
	mov	x1, x27
	mov	x2, x26
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.6:
	mov	x0, x19
	mov	x1, x25
	mov	x2, x24
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.8:
	ldr	x2, [x29, #16]
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.9:
	ldp	x1, x2, [x29, #24]
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_PKEY_CTX_add1_tls1_prf_seed
	cmp	x0, #1
	b.lt	LBB0_12
; %bb.10:
	ldr	x1, [x29, #56]
	add	x2, x29, #64
	mov	x0, x19
	bl	_EVP_PKEY_derive
	cmp	x0, #0
	b.le	LBB0_12
; %bb.11:
	mov	w20, #1
	b	LBB0_18
LBB0_12:
	cbz	w21, LBB0_16
; %bb.13:
Lloh3:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _SSL_F_TLS1_PRF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_F_TLS1_PRF@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	b	LBB0_17
LBB0_14:
	cbz	w21, LBB0_20
; %bb.15:
Lloh12:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _SSL_F_TLS1_PRF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_F_TLS1_PRF@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
Lloh18:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	mov	w20, #0
	b	LBB0_19
LBB0_16:
Lloh21:
	adrp	x8, _SSL_F_TLS1_PRF@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_F_TLS1_PRF@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_17:
	mov	w20, #0
LBB0_18:
	mov	x0, x19
	bl	_EVP_PKEY_CTX_free
LBB0_19:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_20:
Lloh27:
	adrp	x8, _SSL_F_TLS1_PRF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSL_F_TLS1_PRF@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w20, #0
	b	LBB0_19
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS1_PRF,4,2             ; @SSL_F_TLS1_PRF
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EVP_PKEY_TLS1_PRF,4,2          ; @EVP_PKEY_TLS1_PRF
	.no_dead_strip	_tls1_PRF
.subsections_via_symbols
