	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_process_encrypted_extensions
_tls_process_encrypted_extensions:      ## @tls_process_encrypted_extensions
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, -24(%rbp)
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_PACKET_as_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
LBB0_3:
	movq	_MSG_PROCESS_ERROR@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	-24(%rbp), %rdi
	callq	_OPENSSL_free
	movl	(%rbx), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	-28(%rbp), %rsi
	leaq	-24(%rbp), %rcx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_tls_collect_extensions
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:
	movl	(%rbx), %esi
	movq	-24(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_tls_parse_all_extensions
	testl	%eax, %eax
	je	LBB0_3
## %bb.6:
	movq	_MSG_PROCESS_CONTINUE_READING@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS,4,2 ## @SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS,4,2 ## @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS
	.comm	_MSG_PROCESS_CONTINUE_READING,4,2 ## @MSG_PROCESS_CONTINUE_READING
	.comm	_MSG_PROCESS_ERROR,4,2          ## @MSG_PROCESS_ERROR
	.no_dead_strip	_tls_process_encrypted_extensions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_process_encrypted_extensions
_tls_process_encrypted_extensions:      ; @tls_process_encrypted_extensions
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp]
	add	x1, sp, #12
	mov	x0, x20
	bl	_PACKET_as_length_prefixed_2
	cbz	w0, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_PACKET_remaining
	cbz	x0, LBB0_5
LBB0_2:
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_ENCRYPTED_EXTENSIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_3:
Lloh9:
	adrp	x19, _MSG_PROCESS_ERROR@GOTPAGE
Lloh10:
	ldr	x19, [x19, _MSG_PROCESS_ERROR@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [sp]
	bl	_OPENSSL_free
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh11:
	adrp	x20, _SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS@GOTPAGE
Lloh12:
	ldr	x20, [x20, _SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS@GOTPAGEOFF]
	ldr	w2, [x20]
	add	x1, sp, #12
	mov	x3, sp
	mov	x0, x19
	mov	x4, #0
	mov	w5, #1
	bl	_tls_collect_extensions
	cbz	w0, LBB0_3
; %bb.6:
	ldr	w1, [x20]
	ldr	x2, [sp]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	mov	w5, #1
	bl	_tls_parse_all_extensions
	cbz	w0, LBB0_3
; %bb.7:
Lloh13:
	adrp	x19, _MSG_PROCESS_CONTINUE_READING@GOTPAGE
Lloh14:
	ldr	x19, [x19, _MSG_PROCESS_CONTINUE_READING@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS,4,2 ; @SSL_F_TLS_PROCESS_ENCRYPTED_EXTENSIONS
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS,4,2 ; @SSL_EXT_TLS1_3_ENCRYPTED_EXTENSIONS
	.comm	_MSG_PROCESS_CONTINUE_READING,4,2 ; @MSG_PROCESS_CONTINUE_READING
	.comm	_MSG_PROCESS_ERROR,4,2          ; @MSG_PROCESS_ERROR
	.no_dead_strip	_tls_process_encrypted_extensions
.subsections_via_symbols
