	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_process_ske_srp
_tls_process_ske_srp:                   ## @tls_process_ske_srp
	.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	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	leaq	-52(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	leaq	-44(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_PACKET_data
	movl	%eax, %r12d
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	xorl	%ebx, %ebx
	movl	%r12d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, 40(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.6:
	leaq	-52(%rbp), %r12
	movq	%r12, %rdi
	callq	_PACKET_data
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_PACKET_remaining
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	callq	_PACKET_data
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_PACKET_remaining
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	-44(%rbp), %r12
	movq	%r12, %rdi
	callq	_PACKET_data
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_PACKET_remaining
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_BN_bin2bn
	movq	%rax, 16(%r15)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%r15, %rdi
	callq	_srp_verify_server_param
	movl	$0, %ebx
	testl	%eax, %eax
	je	LBB0_13
## %bb.11:
	movq	_SSL_aRSA@GOTPCREL(%rip), %rax
	movq	_SSL_aDSS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	8(%r15), %rax
	movl	$1, %ebx
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	(%r15), %rax
	movl	(%rax), %edi
	callq	_X509_get0_pubkey
	movq	%rax, (%r14)
	jmp	LBB0_13
LBB0_4:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_SKE_SRP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_SKE_SRP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_BN_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	callq	_SSLfatal
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_SKE_SRP,4,2  ## @SSL_F_TLS_PROCESS_SKE_SRP
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_BN_LIB,4,2               ## @ERR_R_BN_LIB
	.comm	_SSL_aRSA,4,2                   ## @SSL_aRSA
	.comm	_SSL_aDSS,4,2                   ## @SSL_aDSS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.no_dead_strip	_tls_process_ske_srp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_process_ske_srp
_tls_process_ske_srp:                   ; @tls_process_ske_srp
	.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, x2
	mov	x21, x1
	mov	x19, x0
	add	x1, sp, #12
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_12
; %bb.1:
	add	x1, sp, #8
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_12
; %bb.2:
	add	x1, sp, #4
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_12
; %bb.3:
	mov	x1, sp
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_12
; %bb.4:
	add	x0, sp, #12
	bl	_PACKET_data
	mov	x21, x0
	add	x0, sp, #12
	bl	_PACKET_remaining
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, #0
	bl	_BN_bin2bn
	str	x0, [x19, #40]
	cbz	x0, LBB0_15
; %bb.5:
	add	x0, sp, #8
	bl	_PACKET_data
	mov	x21, x0
	add	x0, sp, #8
	bl	_PACKET_remaining
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, #0
	bl	_BN_bin2bn
	str	x0, [x19, #32]
	cbz	x0, LBB0_15
; %bb.6:
	add	x0, sp, #4
	bl	_PACKET_data
	mov	x21, x0
	add	x0, sp, #4
	bl	_PACKET_remaining
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, #0
	bl	_BN_bin2bn
	str	x0, [x19, #24]
	cbz	x0, LBB0_15
; %bb.7:
	mov	x0, sp
	bl	_PACKET_data
	mov	x21, x0
	mov	x0, sp
	bl	_PACKET_remaining
	mov	x1, x0
	mov	x0, x21
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, #0
	bl	_BN_bin2bn
	str	x0, [x19, #16]
	cbz	x0, LBB0_15
; %bb.8:
	mov	x0, x19
	bl	_srp_verify_server_param
	cbz	w0, LBB0_14
; %bb.9:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _SSL_aRSA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_aRSA@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _SSL_aDSS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _SSL_aDSS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_X509_get0_pubkey
	str	x0, [x20]
LBB0_11:
	mov	w0, #1
	b	LBB0_14
LBB0_12:
Lloh6:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SSL_F_TLS_PROCESS_SKE_SRP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_SKE_SRP@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
LBB0_13:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
LBB0_14:
	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
LBB0_15:
Lloh14:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SSL_F_TLS_PROCESS_SKE_SRP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_SKE_SRP@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _ERR_R_BN_LIB@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_R_BN_LIB@GOTPAGEOFF]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_SKE_SRP,4,2  ; @SSL_F_TLS_PROCESS_SKE_SRP
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_ERR_R_BN_LIB,4,2               ; @ERR_R_BN_LIB
	.comm	_SSL_aRSA,4,2                   ; @SSL_aRSA
	.comm	_SSL_aDSS,4,2                   ; @SSL_aDSS
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.no_dead_strip	_tls_process_ske_srp
.subsections_via_symbols
