	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_hello_req          ## -- Begin function tls_process_hello_req
	.p2align	4, 0x90
_tls_process_hello_req:                 ## @tls_process_hello_req
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	jle	LBB0_2
## %bb.1:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_HELLO_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_MSG_PROCESS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_2:
	movq	_SSL_OP_NO_RENEGOTIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_SSL3_AL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_AD_NO_RENEGOTIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_ssl3_send_alert
	jmp	LBB0_7
LBB0_4:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	movq	%rbx, %rdi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	callq	_SSL_renegotiate
	jmp	LBB0_7
LBB0_6:
	callq	_SSL_renegotiate_abbreviated
LBB0_7:
	movq	_MSG_PROCESS_FINISHED_READING@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_HELLO_REQ,4,2 ## @SSL_F_TLS_PROCESS_HELLO_REQ
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_MSG_PROCESS_ERROR,4,2          ## @MSG_PROCESS_ERROR
	.comm	_SSL_OP_NO_RENEGOTIATION,4,2    ## @SSL_OP_NO_RENEGOTIATION
	.comm	_SSL3_AL_WARNING,4,2            ## @SSL3_AL_WARNING
	.comm	_SSL_AD_NO_RENEGOTIATION,4,2    ## @SSL_AD_NO_RENEGOTIATION
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ## @MSG_PROCESS_FINISHED_READING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_hello_req          ; -- Begin function tls_process_hello_req
	.p2align	2
_tls_process_hello_req:                 ; @tls_process_hello_req
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, x1
	bl	_PACKET_remaining
	cmp	x0, #1
	b.lt	LBB0_2
; %bb.1:
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_HELLO_REQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_HELLO_REQ@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
Lloh9:
	adrp	x8, _MSG_PROCESS_ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MSG_PROCESS_ERROR@GOTPAGEOFF]
	b	LBB0_8
LBB0_2:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _SSL_OP_NO_RENEGOTIATION@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL_OP_NO_RENEGOTIATION@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _SSL3_AL_WARNING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL3_AL_WARNING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SSL_AD_NO_RENEGOTIATION@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_AD_NO_RENEGOTIATION@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_ssl3_send_alert
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_SSL_renegotiate
	b	LBB0_7
LBB0_6:
	mov	x0, x19
	bl	_SSL_renegotiate_abbreviated
LBB0_7:
Lloh20:
	adrp	x8, _MSG_PROCESS_FINISHED_READING@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MSG_PROCESS_FINISHED_READING@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_HELLO_REQ,4,2 ; @SSL_F_TLS_PROCESS_HELLO_REQ
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_MSG_PROCESS_ERROR,4,2          ; @MSG_PROCESS_ERROR
	.comm	_SSL_OP_NO_RENEGOTIATION,4,2    ; @SSL_OP_NO_RENEGOTIATION
	.comm	_SSL3_AL_WARNING,4,2            ; @SSL3_AL_WARNING
	.comm	_SSL_AD_NO_RENEGOTIATION,4,2    ; @SSL_AD_NO_RENEGOTIATION
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ; @MSG_PROCESS_FINISHED_READING
.subsections_via_symbols
