	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function final_maxfragmentlen
_final_maxfragmentlen:                  ## @final_maxfragmentlen
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_5
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.2:
	movl	%edx, %r14d
	movq	8(%rbx), %rdi
	callq	_USE_MAX_FRAGMENT_LENGTH_EXT
	testl	%r14d, %r14d
	jne	LBB0_5
## %bb.3:
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_SSL_AD_MISSING_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_FINAL_MAXFRAGMENTLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_EXTENSION@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_5:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.6:
	callq	_USE_MAX_FRAGMENT_LENGTH_EXT
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	(%rbx), %r14
	movq	8(%rbx), %rdi
	callq	_GET_MAX_FRAGMENT_LENGTH
	cmpq	%rax, %r14
	jge	LBB0_10
## %bb.8:
	movq	%rbx, %rdi
	callq	_ssl3_setup_buffers
	testl	%eax, %eax
	je	LBB0_9
LBB0_10:
	movl	$1, %eax
LBB0_11:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_MISSING_EXTENSION,4,2   ## @SSL_AD_MISSING_EXTENSION
	.comm	_SSL_F_FINAL_MAXFRAGMENTLEN,4,2 ## @SSL_F_FINAL_MAXFRAGMENTLEN
	.comm	_SSL_R_BAD_EXTENSION,4,2        ## @SSL_R_BAD_EXTENSION
	.no_dead_strip	_final_maxfragmentlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function final_maxfragmentlen
_final_maxfragmentlen:                  ; @final_maxfragmentlen
	.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
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x20, x2
	ldr	x0, [x19, #8]
	bl	_USE_MAX_FRAGMENT_LENGTH_EXT
	cbnz	w20, LBB0_5
; %bb.3:
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _SSL_AD_MISSING_EXTENSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_MISSING_EXTENSION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_FINAL_MAXFRAGMENTLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_FINAL_MAXFRAGMENTLEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_BAD_EXTENSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_BAD_EXTENSION@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #0
	b	LBB0_10
LBB0_5:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.6:
	bl	_USE_MAX_FRAGMENT_LENGTH_EXT
	cbz	x0, LBB0_9
; %bb.7:
	ldp	x20, x0, [x19]
	bl	_GET_MAX_FRAGMENT_LENGTH
	cmp	x20, x0
	b.ge	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_ssl3_setup_buffers
	cbz	w0, LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_MISSING_EXTENSION,4,2   ; @SSL_AD_MISSING_EXTENSION
	.comm	_SSL_F_FINAL_MAXFRAGMENTLEN,4,2 ; @SSL_F_FINAL_MAXFRAGMENTLEN
	.comm	_SSL_R_BAD_EXTENSION,4,2        ; @SSL_R_BAD_EXTENSION
	.no_dead_strip	_final_maxfragmentlen
.subsections_via_symbols
