	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_check_allowed_versions
_ssl_check_allowed_versions:            ## @ssl_check_allowed_versions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DTLS1_BAD_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edi, %edx
	je	LBB0_3
## %bb.1:
	movl	%edi, %eax
	sarl	$8, %eax
	movq	_DTLS1_VERSION_MAJOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_2
LBB0_3:
	movb	$1, %r8b
	xorl	%eax, %eax
	cmpl	%esi, %edx
	jne	LBB0_5
	jmp	LBB0_6
LBB0_2:
	movb	$1, %al
	xorl	%r8d, %r8d
	cmpl	%esi, %edx
	je	LBB0_6
LBB0_5:
	movl	%esi, %edx
	sarl	$8, %edx
	movq	_DTLS1_VERSION_MAJOR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_7
LBB0_6:
	movl	%edi, %esi
	movl	%r8d, %eax
LBB0_7:
	testl	%esi, %esi
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DTLS1_BAD_VER,4,2              ## @DTLS1_BAD_VER
	.comm	_DTLS1_VERSION_MAJOR,4,2        ## @DTLS1_VERSION_MAJOR
	.comm	_DTLS1_VERSION,4,2              ## @DTLS1_VERSION
	.comm	_DTLS1_2_VERSION,4,2            ## @DTLS1_2_VERSION
	.comm	_SSL3_VERSION,4,2               ## @SSL3_VERSION
	.comm	_TLS1_3_VERSION,4,2             ## @TLS1_3_VERSION
	.comm	_TLS1_1_VERSION,4,2             ## @TLS1_1_VERSION
	.comm	_TLS1_2_VERSION,4,2             ## @TLS1_2_VERSION
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.no_dead_strip	_ssl_check_allowed_versions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_check_allowed_versions
_ssl_check_allowed_versions:            ; @ssl_check_allowed_versions
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DTLS1_BAD_VER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DTLS1_BAD_VER@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x8]
Lloh3:
	adrp	x9, _DTLS1_VERSION_MAJOR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DTLS1_VERSION_MAJOR@GOTPAGEOFF]
	cmp	w11, w0
	b.eq	LBB0_2
; %bb.1:
	ldr	w8, [x9]
	cmp	w8, w0, asr #8
	b.ne	LBB0_3
LBB0_2:
	mov	w8, #0
	mov	w10, #1
	cmp	w11, w1
	b.ne	LBB0_4
	b	LBB0_5
LBB0_3:
	mov	w10, #0
	mov	w8, #1
	cmp	w11, w1
	b.eq	LBB0_5
LBB0_4:
	ldr	w9, [x9]
	cmp	w9, w1, asr #8
	b.ne	LBB0_6
LBB0_5:
	mov	x1, x0
	mov	x8, x10
LBB0_6:
	cmp	w1, #0
	cset	w9, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DTLS1_BAD_VER,4,2              ; @DTLS1_BAD_VER
	.comm	_DTLS1_VERSION_MAJOR,4,2        ; @DTLS1_VERSION_MAJOR
	.comm	_DTLS1_VERSION,4,2              ; @DTLS1_VERSION
	.comm	_DTLS1_2_VERSION,4,2            ; @DTLS1_2_VERSION
	.comm	_SSL3_VERSION,4,2               ; @SSL3_VERSION
	.comm	_TLS1_3_VERSION,4,2             ; @TLS1_3_VERSION
	.comm	_TLS1_1_VERSION,4,2             ; @TLS1_1_VERSION
	.comm	_TLS1_2_VERSION,4,2             ; @TLS1_2_VERSION
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.no_dead_strip	_ssl_check_allowed_versions
.subsections_via_symbols
