	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_set_version_bound          ## -- Begin function ssl_set_version_bound
	.p2align	4, 0x90
_ssl_set_version_bound:                 ## @ssl_set_version_bound
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	testl	%esi, %esi
	je	LBB0_1
## %bb.2:
	movl	%esi, %ebx
	xorl	%r15d, %r15d
	cmpl	$129, %edi
	je	LBB0_6
## %bb.3:
	cmpl	$128, %edi
	jne	LBB0_9
## %bb.4:
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jg	LBB0_9
## %bb.5:
	movq	_TLS_MAX_VERSION_INTERNAL@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_8
	jmp	LBB0_9
LBB0_1:
	xorl	%ebx, %ebx
LBB0_8:
	movl	%ebx, (%r14)
	movl	$1, %r15d
	jmp	LBB0_9
LBB0_6:
	movq	_DTLS_MAX_VERSION_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_DTLS_VERSION_GT
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movq	_DTLS1_BAD_VER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_DTLS_VERSION_LT
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL3_VERSION,4,2               ## @SSL3_VERSION
	.comm	_TLS_MAX_VERSION_INTERNAL,4,2   ## @TLS_MAX_VERSION_INTERNAL
	.comm	_DTLS_MAX_VERSION_INTERNAL,4,2  ## @DTLS_MAX_VERSION_INTERNAL
	.comm	_DTLS1_BAD_VER,4,2              ## @DTLS1_BAD_VER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_set_version_bound          ; -- Begin function ssl_set_version_bound
	.p2align	2
_ssl_set_version_bound:                 ; @ssl_set_version_bound
	.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, x2
	mov	x20, x1
	cbz	w1, LBB0_7
; %bb.1:
	cmp	w0, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w0, #128
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _SSL3_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL3_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _TLS_MAX_VERSION_INTERNAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TLS_MAX_VERSION_INTERNAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w20
	ccmp	w9, w20, #8, le
	b.lt	LBB0_6
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _DTLS_MAX_VERSION_INTERNAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTLS_MAX_VERSION_INTERNAL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DTLS_VERSION_GT
	cbnz	w0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _DTLS1_BAD_VER@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DTLS1_BAD_VER@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DTLS_VERSION_LT
	cbz	w0, LBB0_7
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	str	w20, [x19]
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL3_VERSION,4,2               ; @SSL3_VERSION
	.comm	_TLS_MAX_VERSION_INTERNAL,4,2   ; @TLS_MAX_VERSION_INTERNAL
	.comm	_DTLS_MAX_VERSION_INTERNAL,4,2  ; @DTLS_MAX_VERSION_INTERNAL
	.comm	_DTLS1_BAD_VER,4,2              ; @DTLS1_BAD_VER
.subsections_via_symbols
