	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_get_message_body           ## -- Begin function tls_get_message_body
	.p2align	4, 0x90
_tls_get_message_body:                  ## @tls_get_message_body
	.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, %r15
	movq	48(%rdi), %rax
	movq	_SSL3_MT_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
LBB0_23:
	movq	(%r15), %rcx
	movl	$1, %eax
	jmp	LBB0_24
LBB0_1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rcx
	movq	56(%r15), %rbx
	subq	%rcx, %rbx
	je	LBB0_6
## %bb.2:
	movq	8(%r15), %r12
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r13
	leaq	-56(%rbp), %r14
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	addq	%r12, %rcx
	movq	72(%r15), %rax
	movl	(%r13), %esi
	movq	%r14, (%rsp)
	movq	%r15, %rdi
	xorl	%edx, %edx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	callq	*(%rax)
	testl	%eax, %eax
	jle	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rax
	movq	(%r15), %rcx
	addq	%rax, %rcx
	movq	%rcx, (%r15)
	subq	%rax, %rbx
	jne	LBB0_3
LBB0_6:
	movq	24(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	_SSL3_MT_FINISHED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.7:
	movq	%r15, %rdi
	callq	_ssl3_take_mac
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	leaq	64(%r15), %rdi
	callq	_RECORD_LAYER_is_sslv2_record
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	(%r15), %rdx
	movq	24(%r15), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_ssl3_finish_mac
	testl	%eax, %eax
	je	LBB0_8
## %bb.11:
	movq	40(%r15), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.12:
	movq	_SSL2_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	24(%r15), %rcx
	movq	(%rcx), %rcx
	movq	(%r15), %r8
	movl	16(%r15), %edx
	movl	%edx, (%rsp)
	xorl	%edi, %edi
	xorl	%edx, %edx
	jmp	LBB0_22
LBB0_4:
	movq	_SSL_READING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r15)
LBB0_8:
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_24:
	movq	%rcx, (%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	%r15, %rdi
	callq	_SSL_IS_TLS13
	movq	48(%r15), %rcx
	testl	%eax, %eax
	je	LBB0_16
## %bb.14:
	movq	_SSL3_MT_NEWSESSION_TICKET@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_20
## %bb.15:
	movq	_SSL3_MT_KEY_UPDATE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	je	LBB0_20
LBB0_16:
	movq	_SSL3_MT_SERVER_HELLO@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_19
## %bb.17:
	movq	_SSL3_HM_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	leaq	(%rsi,%rdx), %rax
	addq	$2, %rax
	cmpq	%rax, (%r15)
	jb	LBB0_19
## %bb.18:
	addq	$2, %rsi
	movq	_hrrrandom@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	24(%r15), %rax
	shlq	$3, %rsi
	addq	(%rax), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_20
LBB0_19:
	movq	24(%r15), %rax
	movq	(%rax), %rsi
	movq	_SSL3_HM_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	(%r15), %rdx
	movq	%r15, %rdi
	callq	_ssl3_finish_mac
	testl	%eax, %eax
	je	LBB0_8
LBB0_20:
	movq	40(%r15), %rax
	testq	%rax, %rax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_23
## %bb.21:
	movl	32(%r15), %esi
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	24(%r15), %rcx
	movq	(%rcx), %rcx
	movq	_SSL3_HM_HEADER_LENGTH@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r8
	addq	(%r15), %r8
	movl	16(%r15), %edi
	movl	%edi, (%rsp)
	xorl	%edi, %edi
LBB0_22:
	movq	%r15, %r9
	callq	*%rax
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_MT_CHANGE_CIPHER_SPEC,8,3 ## @SSL3_MT_CHANGE_CIPHER_SPEC
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
	.comm	_SSL_READING,4,2                ## @SSL_READING
	.comm	_SSL3_MT_FINISHED,8,3           ## @SSL3_MT_FINISHED
	.comm	_SSL2_VERSION,4,2               ## @SSL2_VERSION
	.comm	_SSL3_MT_NEWSESSION_TICKET,8,3  ## @SSL3_MT_NEWSESSION_TICKET
	.comm	_SSL3_MT_KEY_UPDATE,8,3         ## @SSL3_MT_KEY_UPDATE
	.comm	_SSL3_MT_SERVER_HELLO,8,3       ## @SSL3_MT_SERVER_HELLO
	.comm	_SSL3_HM_HEADER_LENGTH,8,3      ## @SSL3_HM_HEADER_LENGTH
	.comm	_SSL3_RANDOM_SIZE,4,2           ## @SSL3_RANDOM_SIZE
	.comm	_hrrrandom,4,2                  ## @hrrrandom
	.comm	_SERVER_HELLO_RANDOM_OFFSET,4,2 ## @SERVER_HELLO_RANDOM_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_get_message_body           ; -- Begin function tls_get_message_body
	.p2align	2
_tls_get_message_body:                  ; @tls_get_message_body
	.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	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #48]
Lloh0:
	adrp	x9, _SSL3_MT_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL3_MT_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_1:
	ldr	x8, [x20]
	mov	w0, #1
LBB0_2:
	str	x8, [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_3:
	ldr	x9, [x20, #56]
	ldr	x8, [x20]
	subs	x21, x9, x8
	b.eq	LBB0_7
; %bb.4:
	ldr	x22, [x20, #8]
Lloh3:
	adrp	x23, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x20, #72]
	ldr	x9, [x9]
	ldr	w1, [x23]
	add	x3, x22, x8
	add	x6, sp, #8
	mov	x0, x20
	mov	x2, #0
	mov	x4, x21
	mov	w5, #0
	blr	x9
	cmp	w0, #0
	b.le	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [sp, #8]
	ldr	x8, [x20]
	add	x8, x8, x9
	str	x8, [x20]
	subs	x21, x21, x9
	b.ne	LBB0_5
LBB0_7:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _SSL3_MT_FINISHED@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SSL3_MT_FINISHED@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_ssl3_take_mac
	cbz	w0, LBB0_23
LBB0_9:
	add	x0, x20, #64
	bl	_RECORD_LAYER_is_sslv2_record
	cbz	x0, LBB0_14
; %bb.10:
	ldr	x8, [x20, #24]
	ldr	x1, [x8]
	ldr	x2, [x20]
	mov	x0, x20
	bl	_ssl3_finish_mac
	cbz	w0, LBB0_23
; %bb.11:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_1
; %bb.12:
Lloh8:
	adrp	x9, _SSL2_VERSION@GOTPAGE
Lloh9:
	ldr	x9, [x9, _SSL2_VERSION@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x9]
	ldr	x9, [x20, #24]
	ldr	x3, [x9]
	ldr	x4, [x20]
	ldr	w6, [x20, #16]
	mov	w0, #0
	mov	w2, #0
	b	LBB0_22
LBB0_13:
	mov	x8, #0
	mov	w0, #0
Lloh11:
	adrp	x9, _SSL_READING@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL_READING@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [x20, #68]
	b	LBB0_2
LBB0_14:
	mov	x0, x20
	bl	_SSL_IS_TLS13
	ldr	x8, [x20, #48]
Lloh14:
	adrp	x21, _SSL3_HM_HEADER_LENGTH@GOTPAGE
Lloh15:
	ldr	x21, [x21, _SSL3_HM_HEADER_LENGTH@GOTPAGEOFF]
	cbz	w0, LBB0_16
; %bb.15:
Lloh16:
	adrp	x9, _SSL3_MT_NEWSESSION_TICKET@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SSL3_MT_NEWSESSION_TICKET@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
Lloh19:
	adrp	x10, _SSL3_MT_KEY_UPDATE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _SSL3_MT_KEY_UPDATE@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.eq	LBB0_20
LBB0_16:
Lloh22:
	adrp	x9, _SSL3_MT_SERVER_HELLO@GOTPAGE
Lloh23:
	ldr	x9, [x9, _SSL3_MT_SERVER_HELLO@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_19
; %bb.17:
	ldr	x9, [x20]
	ldr	x8, [x21]
	add	x8, x8, #2
Lloh25:
	adrp	x10, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
Lloh27:
	ldrsw	x2, [x10]
	add	x10, x8, x2
	cmp	x9, x10
	b.lo	LBB0_19
; %bb.18:
Lloh28:
	adrp	x9, _hrrrandom@GOTPAGE
Lloh29:
	ldr	x9, [x9, _hrrrandom@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x9]
	ldr	x9, [x20, #24]
	ldr	x9, [x9]
	add	x1, x9, x8, lsl #3
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcmp
	cbz	x0, LBB0_20
LBB0_19:
	ldr	x8, [x20, #24]
	ldr	x1, [x8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x2, x9, x8
	mov	x0, x20
	bl	_ssl3_finish_mac
	cbz	w0, LBB0_23
LBB0_20:
	ldr	x8, [x20, #40]
	cbz	x8, LBB0_1
; %bb.21:
	ldr	w1, [x20, #32]
Lloh31:
	adrp	x9, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh32:
	ldr	x9, [x9, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh33:
	ldr	w2, [x9]
	ldr	x9, [x20, #24]
	ldr	x3, [x9]
	ldr	x9, [x20]
	ldr	x10, [x21]
	add	x4, x10, x9
	ldr	w6, [x20, #16]
	mov	w0, #0
LBB0_22:
	mov	x5, x20
	blr	x8
	b	LBB0_1
LBB0_23:
	mov	x8, #0
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_MT_CHANGE_CIPHER_SPEC,8,3 ; @SSL3_MT_CHANGE_CIPHER_SPEC
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
	.comm	_SSL_READING,4,2                ; @SSL_READING
	.comm	_SSL3_MT_FINISHED,8,3           ; @SSL3_MT_FINISHED
	.comm	_SSL2_VERSION,4,2               ; @SSL2_VERSION
	.comm	_SSL3_MT_NEWSESSION_TICKET,8,3  ; @SSL3_MT_NEWSESSION_TICKET
	.comm	_SSL3_MT_KEY_UPDATE,8,3         ; @SSL3_MT_KEY_UPDATE
	.comm	_SSL3_MT_SERVER_HELLO,8,3       ; @SSL3_MT_SERVER_HELLO
	.comm	_SSL3_HM_HEADER_LENGTH,8,3      ; @SSL3_HM_HEADER_LENGTH
	.comm	_SSL3_RANDOM_SIZE,4,2           ; @SSL3_RANDOM_SIZE
	.comm	_hrrrandom,4,2                  ; @hrrrandom
	.comm	_SERVER_HELLO_RANDOM_OFFSET,4,2 ; @SERVER_HELLO_RANDOM_OFFSET
.subsections_via_symbols
