	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_check_version_downgrade    ## -- Begin function ssl_check_version_downgrade
	.p2align	4, 0x90
_ssl_check_version_downgrade:           ## @ssl_check_version_downgrade
	.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	8(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	movl	$1, %r14d
	cmpq	%rbx, (%rdi)
	je	LBB0_12
## %bb.1:
	movq	%rdi, %r15
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_TLS_method
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.2:
	movq	_tls_version_table@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	8(%r15), %rax
	movq	(%rax), %rax
	movq	(%rax), %rbx
	xorl	%eax, %eax
	callq	_DTLS_method
	cmpq	(%rax), %rbx
	jne	LBB0_12
## %bb.4:
	movq	_dtls_version_table@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_12
## %bb.6:
	addq	$16, %rbx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, (%rbx)
	leaq	16(%rbx), %rbx
	je	LBB0_11
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	*%rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_ssl_method_error
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	(%r15), %rax
	xorl	%r14d, %r14d
	cmpq	-16(%rbx), %rax
	sete	%r14b
	jmp	LBB0_12
LBB0_11:
	xorl	%r14d, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tls_version_table,8,3          ## @tls_version_table
	.comm	_dtls_version_table,8,3         ## @dtls_version_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_check_version_downgrade    ; -- Begin function ssl_check_version_downgrade
	.p2align	2
_ssl_check_version_downgrade:           ; @ssl_check_version_downgrade
	.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
	ldp	x8, x9, [x0]
	ldr	x9, [x9]
	ldr	x20, [x9]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_13
LBB0_2:
	mov	x19, x0
	bl	_TLS_method
	ldr	x8, [x0]
	cmp	x20, x8
	b.ne	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _tls_version_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tls_version_table@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	x20, [x8]
	bl	_DTLS_method
	ldr	x8, [x0]
	cmp	x20, x8
	b.ne	LBB0_12
; %bb.5:
Lloh2:
	adrp	x8, _dtls_version_table@GOTPAGE
Lloh3:
	ldr	x8, [x8, _dtls_version_table@GOTPAGEOFF]
LBB0_6:
	ldr	x8, [x8]
	ldr	x9, [x8]
	cbz	x9, LBB0_12
; %bb.7:
	add	x20, x8, #16
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x20], #16
	cbz	x8, LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x20, #-8]
	cbz	x8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	blr	x8
	mov	x1, x0
	mov	x0, x19
	bl	_ssl_method_error
	cbnz	x0, LBB0_8
; %bb.11:
	ldr	x8, [x19]
	ldur	x9, [x20, #-16]
	cmp	x8, x9
	cset	w0, eq
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_tls_version_table,8,3          ; @tls_version_table
	.comm	_dtls_version_table,8,3         ; @dtls_version_table
.subsections_via_symbols
