	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_max_fragment_len_ext
_test_max_fragment_len_ext:             ## @test_max_fragment_len_ext
	.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
	movl	%edi, %ebx
	movl	$0, -44(%rbp)
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_TLS_method
	movl	%eax, %edi
	callq	_SSL_CTX_new
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_9
## %bb.1:
	movq	_max_fragment_len_test@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %esi
	movq	%r12, %rdi
	callq	_SSL_CTX_set_tlsext_max_fragment_length
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_9
## %bb.2:
	movq	%r12, %rdi
	callq	_SSL_new
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.3:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_SSL_set_bio
	movq	%r15, %rdi
	callq	_SSL_set_connect_state
	movq	%r15, %rdi
	callq	_SSL_connect
	xorl	%r14d, %r14d
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_le
	testl	%eax, %eax
	je	LBB0_11
## %bb.6:
	leaq	-44(%rbp), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_get_MFL_from_client_hello
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_11
## %bb.7:
	movq	_max_fragment_len_test@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rbx,4), %eax
	xorl	%edi, %edi
	cmpl	-44(%rbp), %eax
	sete	%dil
	callq	_TEST_true
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
	jmp	LBB0_11
LBB0_9:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rdi
	callq	_SSL_free
	movq	%r12, %rdi
	callq	_SSL_CTX_free
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r13, %rdi
	callq	_BIO_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_BIO_free
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_max_fragment_len_test,8,3      ## @max_fragment_len_test
	.no_dead_strip	_test_max_fragment_len_ext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_max_fragment_len_ext
_test_max_fragment_len_ext:             ; @test_max_fragment_len_ext
	.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	x21, x0
	str	wzr, [sp, #12]
	bl	_TLS_method
	bl	_SSL_CTX_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x24, _max_fragment_len_test@GOTPAGE
Lloh1:
	ldr	x24, [x24, _max_fragment_len_test@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	w1, [x8, w21, sxtw #2]
	mov	x0, x19
	bl	_SSL_CTX_set_tlsext_max_fragment_length
	bl	_TEST_true
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x19
	bl	_SSL_new
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_10
; %bb.3:
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x23, x0
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x22, x0
	mov	x0, x23
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x22
	bl	_TEST_ptr
	cbz	w0, LBB0_9
; %bb.5:
	mov	x0, x20
	mov	x1, x23
	mov	x2, x22
	bl	_SSL_set_bio
	mov	x0, x20
	bl	_SSL_set_connect_state
	mov	x0, x20
	bl	_SSL_connect
	mov	w1, #0
	bl	_TEST_int_le
	cbz	w0, LBB0_10
; %bb.6:
	add	x1, sp, #12
	mov	x0, x22
	bl	_get_MFL_from_client_hello
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.7:
	sxtw	x8, w21
	ldr	x9, [x24]
	ldr	w8, [x9, x8, lsl #2]
	ldr	w9, [sp, #12]
	cmp	w8, w9
	cset	w0, eq
	bl	_TEST_true
	cmp	w0, #0
	cset	w21, ne
	b	LBB0_11
LBB0_8:
	mov	w21, #0
	mov	x20, #0
	b	LBB0_11
LBB0_9:
	mov	x0, x23
	bl	_BIO_free
	mov	x0, x22
	bl	_BIO_free
LBB0_10:
	mov	w21, #0
LBB0_11:
	mov	x0, x20
	bl	_SSL_free
	mov	x0, x19
	bl	_SSL_CTX_free
	mov	x0, x21
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_max_fragment_len_test,8,3      ; @max_fragment_len_test
	.no_dead_strip	_test_max_fragment_len_ext
.subsections_via_symbols
