	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_MFL_from_client_hello
_get_MFL_from_client_hello:             ## @get_MFL_from_client_hello
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	$0, -60(%rbp)
	movl	$0, -56(%rbp)
	leaq	-72(%rbp), %rsi
	callq	_BIO_get_mem_data
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_TEST_uint_gt
	testl	%eax, %eax
	je	LBB0_17
## %bb.1:
	leaq	-44(%rbp), %r15
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	-52(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	-72(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_PACKET_buf_init
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.2:
	movq	_SSL3_RT_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdi
	callq	_PACKET_forward
	testl	%eax, %eax
	je	LBB0_17
## %bb.3:
	movq	_SSL3_HM_HEADER_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	-44(%rbp), %rdi
	callq	_PACKET_forward
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:
	movq	_CLIENT_VERSION_LEN@GOTPCREL(%rip), %rax
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	leaq	-44(%rbp), %rdi
	callq	_PACKET_forward
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.5:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_PACKET_get_length_prefixed_1
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.6:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_PACKET_get_length_prefixed_2
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.7:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_PACKET_get_length_prefixed_1
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:
	leaq	-44(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	callq	_PACKET_as_length_prefixed_2
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:
	leaq	-48(%rbp), %r15
	leaq	-56(%rbp), %r12
	leaq	-52(%rbp), %rbx
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_PACKET_get_net_2
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_PACKET_get_length_prefixed_2
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	-56(%rbp), %eax
	movq	_TLSEXT_TYPE_max_fragment_length@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_10
## %bb.14:
	leaq	-52(%rbp), %rdi
	callq	_PACKET_remaining
	xorl	%r13d, %r13d
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_TEST_uint_ne
	testl	%eax, %eax
	je	LBB0_17
## %bb.15:
	leaq	-52(%rbp), %rdi
	leaq	-60(%rbp), %rsi
	callq	_PACKET_get_1
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_17
## %bb.16:
	movl	-60(%rbp), %eax
	movl	%eax, (%r14)
	movl	$1, %r13d
LBB0_17:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_RT_HEADER_LENGTH,8,3      ## @SSL3_RT_HEADER_LENGTH
	.comm	_SSL3_HM_HEADER_LENGTH,8,3      ## @SSL3_HM_HEADER_LENGTH
	.comm	_CLIENT_VERSION_LEN,8,3         ## @CLIENT_VERSION_LEN
	.comm	_SSL3_RANDOM_SIZE,8,3           ## @SSL3_RANDOM_SIZE
	.comm	_TLSEXT_TYPE_max_fragment_length,4,2 ## @TLSEXT_TYPE_max_fragment_length
	.no_dead_strip	_get_MFL_from_client_hello
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_MFL_from_client_hello
_get_MFL_from_client_hello:             ; @get_MFL_from_client_hello
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x1
	stp	wzr, wzr, [sp, #4]
	add	x1, sp, #24
	bl	_BIO_get_mem_data
	mov	x20, x0
	mov	w1, #0
	bl	_TEST_uint_gt
	cbz	w0, LBB0_17
; %bb.1:
	add	x0, sp, #20
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x1, [sp, #24]
	add	x0, sp, #20
	mov	x2, x20
	bl	_PACKET_buf_init
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.2:
Lloh0:
	adrp	x8, _SSL3_RT_HEADER_LENGTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL3_RT_HEADER_LENGTH@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	add	x0, sp, #20
	bl	_PACKET_forward
	cbz	w0, LBB0_17
; %bb.3:
Lloh3:
	adrp	x8, _SSL3_HM_HEADER_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL3_HM_HEADER_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	add	x0, sp, #20
	bl	_PACKET_forward
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.4:
Lloh6:
	adrp	x8, _CLIENT_VERSION_LEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CLIENT_VERSION_LEN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x1, x9, x8
	add	x0, sp, #20
	bl	_PACKET_forward
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.5:
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_get_length_prefixed_1
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.6:
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_get_length_prefixed_2
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.7:
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_get_length_prefixed_1
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.8:
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_as_length_prefixed_2
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.9:
Lloh12:
	adrp	x20, _TLSEXT_TYPE_max_fragment_length@GOTPAGE
Lloh13:
	ldr	x20, [x20, _TLSEXT_TYPE_max_fragment_length@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #16
	bl	_PACKET_remaining
	cbz	x0, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #16
	add	x1, sp, #4
	bl	_PACKET_get_net_2
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x0, sp, #16
	add	x1, sp, #12
	bl	_PACKET_get_length_prefixed_2
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #4]
	ldr	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_10
; %bb.14:
	add	x0, sp, #12
	bl	_PACKET_remaining
	mov	w1, #0
	bl	_TEST_uint_ne
	cbz	w0, LBB0_17
; %bb.15:
	add	x0, sp, #12
	add	x1, sp, #8
	bl	_PACKET_get_1
	bl	_TEST_true
	cbz	w0, LBB0_17
; %bb.16:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	mov	w0, #1
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_RT_HEADER_LENGTH,8,3      ; @SSL3_RT_HEADER_LENGTH
	.comm	_SSL3_HM_HEADER_LENGTH,8,3      ; @SSL3_HM_HEADER_LENGTH
	.comm	_CLIENT_VERSION_LEN,8,3         ; @CLIENT_VERSION_LEN
	.comm	_SSL3_RANDOM_SIZE,8,3           ; @SSL3_RANDOM_SIZE
	.comm	_TLSEXT_TYPE_max_fragment_length,4,2 ; @TLSEXT_TYPE_max_fragment_length
	.no_dead_strip	_get_MFL_from_client_hello
.subsections_via_symbols
