	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_should_add_extension           ## -- Begin function should_add_extension
	.p2align	4, 0x90
_should_add_extension:                  ## @should_add_extension
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testl	%esi, %edx
	je	LBB0_7
## %bb.1:
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_extension_is_relevant
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	_SSL_EXT_TLS1_3_ONLY@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_6
## %bb.3:
	movq	_SSL_EXT_CLIENT_HELLO@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_6
## %bb.4:
	movq	%r12, %rdi
	callq	_SSL_IS_DTLS
	testq	%rax, %rax
	jne	LBB0_7
## %bb.5:
	movq	_TLS1_3_VERSION@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jg	LBB0_7
LBB0_6:
	movl	$1, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_EXT_TLS1_3_ONLY,4,2        ## @SSL_EXT_TLS1_3_ONLY
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ## @SSL_EXT_CLIENT_HELLO
	.comm	_TLS1_3_VERSION,4,2             ## @TLS1_3_VERSION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_should_add_extension           ; -- Begin function should_add_extension
	.p2align	2
_should_add_extension:                  ; @should_add_extension
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	tst	w2, w1
	b.eq	LBB0_7
; %bb.1:
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_extension_is_relevant
	cbz	w0, LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _SSL_EXT_TLS1_3_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_EXT_TLS1_3_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w22
	b.eq	LBB0_6
; %bb.3:
Lloh3:
	adrp	x8, _SSL_EXT_CLIENT_HELLO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_EXT_CLIENT_HELLO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_SSL_IS_DTLS
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_8
; %bb.5:
Lloh6:
	adrp	x8, _TLS1_3_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TLS1_3_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_8
LBB0_6:
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_EXT_TLS1_3_ONLY,4,2        ; @SSL_EXT_TLS1_3_ONLY
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ; @SSL_EXT_CLIENT_HELLO
	.comm	_TLS1_3_VERSION,4,2             ; @TLS1_3_VERSION
.subsections_via_symbols
