	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_process_cke_dhe
_tls_process_cke_dhe:                   ## @tls_process_cke_dhe
	.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, %rbx
	movq	%rdi, %r14
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	movl	-44(%rbp), %ecx
	cmpq	%rcx, %rax
	jne	LBB0_12
## %bb.2:
	movq	(%r14), %r12
	testq	%r12, %r12
	je	LBB0_13
## %bb.3:
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_14
## %bb.4:
	movl	-44(%rbp), %edx
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_bytes
	testl	%eax, %eax
	je	LBB0_20
## %bb.5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_EVP_PKEY_new
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_EVP_PKEY_copy_parameters
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	movq	%r15, %rdi
	callq	_EVP_PKEY_get0_DH
	movq	%rax, %r13
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%r13, %rdi
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.9:
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_DH_set0_key
	testl	%eax, %eax
	je	LBB0_21
## %bb.10:
	movl	$1, %ebx
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movl	$1, %ecx
	callq	_ssl_derive
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	(%r14), %rdi
	callq	_EVP_PKEY_free
	movq	$0, (%r14)
	jmp	LBB0_18
LBB0_12:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CKE_DHE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_13:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CKE_DHE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_MISSING_TMP_DH_KEY@GOTPCREL(%rip), %rax
LBB0_16:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%r15d, %r15d
LBB0_17:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CKE_DHE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BN_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	jmp	LBB0_18
LBB0_20:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CKE_DHE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_21:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CKE_DHE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	movq	%r13, %rdi
	callq	_BN_free
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_CKE_DHE,4,2  ## @SSL_F_TLS_PROCESS_CKE_DHE
	.comm	_SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG,4,2 ## @SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_R_MISSING_TMP_DH_KEY,4,2   ## @SSL_R_MISSING_TMP_DH_KEY
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_R_BN_LIB,4,2               ## @SSL_R_BN_LIB
	.no_dead_strip	_tls_process_cke_dhe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_process_cke_dhe
_tls_process_cke_dhe:                   ; @tls_process_cke_dhe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	add	x1, sp, #12
	mov	x0, x20
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_12
; %bb.1:
	mov	x0, x20
	bl	_PACKET_remaining
	ldr	w8, [sp, #12]
	cmp	x0, x8
	b.ne	LBB0_12
; %bb.2:
	ldr	x21, [x19]
	cbz	x21, LBB0_13
; %bb.3:
	mov	x0, x20
	bl	_PACKET_remaining
	cbz	x0, LBB0_14
; %bb.4:
	ldr	w2, [sp, #12]
	mov	x1, sp
	mov	x0, x20
	bl	_PACKET_get_bytes
	cbz	w0, LBB0_20
; %bb.5:
	bl	_EVP_PKEY_new
	mov	x20, x0
	cbz	x0, LBB0_19
; %bb.6:
	mov	x0, x20
	mov	x1, x21
	bl	_EVP_PKEY_copy_parameters
	cbz	x0, LBB0_19
; %bb.7:
	mov	x0, x20
	bl	_EVP_PKEY_get0_DH
	mov	x23, x0
	ldr	x0, [sp]
	ldr	w1, [sp, #12]
	mov	x2, #0
	bl	_BN_bin2bn
	mov	x22, x0
	cbz	x0, LBB0_21
; %bb.8:
	cbz	x23, LBB0_21
; %bb.9:
	mov	x0, x23
	mov	x1, x22
	mov	x2, #0
	bl	_DH_set0_key
	cbz	w0, LBB0_21
; %bb.10:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	w3, #1
	bl	_ssl_derive
	cbz	x0, LBB0_17
; %bb.11:
	ldr	x0, [x19]
	bl	_EVP_PKEY_free
	str	xzr, [x19]
	mov	w19, #1
	b	LBB0_18
LBB0_12:
Lloh0:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh8:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh10:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
LBB0_15:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SSL_R_MISSING_TMP_DH_KEY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_R_MISSING_TMP_DH_KEY@GOTPAGEOFF]
LBB0_16:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	x20, #0
LBB0_17:
	mov	w19, #0
LBB0_18:
	mov	x0, x20
	bl	_EVP_PKEY_free
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_19:
Lloh17:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _SSL_R_BN_LIB@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_R_BN_LIB@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	b	LBB0_17
LBB0_20:
Lloh26:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_16
LBB0_21:
Lloh34:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CKE_DHE@GOTPAGEOFF]
Lloh39:
	ldr	w2, [x8]
Lloh40:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh42:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	x0, x22
	bl	_BN_free
	b	LBB0_17
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_CKE_DHE,4,2  ; @SSL_F_TLS_PROCESS_CKE_DHE
	.comm	_SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG,4,2 ; @SSL_R_DH_PUBLIC_VALUE_LENGTH_IS_WRONG
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_R_MISSING_TMP_DH_KEY,4,2   ; @SSL_R_MISSING_TMP_DH_KEY
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_R_BN_LIB,4,2               ; @SSL_R_BN_LIB
	.no_dead_strip	_tls_process_cke_dhe
.subsections_via_symbols
