	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssl_security_default_callback
_ssl_security_default_callback:         ## @ssl_security_default_callback
	.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
	movq	%r9, %r14
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rdi, %r12
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rdi
	callq	_SSL_CTX_get_security_level
	testl	%eax, %eax
	jle	LBB0_4
LBB0_5:
	movq	%r14, %rsi
	cmpl	$5, %eax
	movl	$5, %r14d
	cmovll	%eax, %r14d
	leal	-1(%r14), %eax
	leaq	_ssl_security_default_callback.minbits_table(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	addl	$-128, %ebx
	cmpl	$5, %ebx
	ja	LBB0_28
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rdx
	addq	%rax, %rdx
	jmpq	*%rdx
LBB0_7:
	xorl	%eax, %eax
	cmpl	%r13d, %ecx
	jg	LBB0_30
## %bb.8:
	movq	_SSL_aNULL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rsi)
	jne	LBB0_30
## %bb.9:
	movq	%rsi, %rdx
	movl	4(%rsi), %ecx
	movq	_SSL_MD5@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_30
## %bb.10:
	movl	%r14d, %edx
	andl	$-2, %edx
	cmpl	$4, %edx
	jne	LBB0_12
## %bb.11:
	movq	_SSL_SHA1@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_30
	jmp	LBB0_13
LBB0_2:
	movq	%r12, %rdi
	callq	_SSL_get_security_level
	testl	%eax, %eax
	jg	LBB0_5
LBB0_4:
	movq	_SSL_SECOP_TMP_DH@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	setne	%al
	cmpl	$80, %r13d
	setge	%cl
	orb	%al, %cl
	movzbl	%cl, %eax
	jmp	LBB0_30
LBB0_28:
	xorl	%eax, %eax
	cmpl	%r13d, %ecx
	jle	LBB0_29
	jmp	LBB0_30
LBB0_17:
	movq	%r12, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_18
## %bb.24:
	movq	_DTLS1_2_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	callq	_DTLS_VERSION_LT
	testl	%eax, %eax
	je	LBB0_29
## %bb.25:
	xorl	%eax, %eax
LBB0_23:
	cmpl	$3, %r14d
	ja	LBB0_30
	jmp	LBB0_29
LBB0_27:
	xorl	%eax, %eax
	cmpl	$2, %r14d
	jbe	LBB0_29
	jmp	LBB0_30
LBB0_26:
	xorl	%eax, %eax
	cmpl	$1, %r14d
	ja	LBB0_30
LBB0_29:
	movl	$1, %eax
LBB0_30:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%r15d, (%rcx)
	jl	LBB0_20
## %bb.19:
	cmpl	$1, %r14d
	ja	LBB0_30
LBB0_20:
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jl	LBB0_22
## %bb.21:
	cmpl	$2, %r14d
	ja	LBB0_30
LBB0_22:
	movq	_TLS1_1_VERSION@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	jge	LBB0_23
	jmp	LBB0_29
LBB0_12:
	cmpl	$2, %r14d
	jb	LBB0_29
LBB0_13:
	movq	%rsi, %rcx
	movl	16(%rsi), %ecx
	movq	_SSL_RC4@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_30
## %bb.14:
	cmpl	$3, %r14d
	jb	LBB0_29
## %bb.15:
	movl	12(%rsi), %ecx
	movq	_TLS1_3_VERSION@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_29
## %bb.16:
	movq	_SSL_kEDH@GOTPCREL(%rip), %rcx
	movq	_SSL_kEECDH@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, 8(%rsi)
	jne	LBB0_29
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_27
	.long	L0_0_set_26
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @ssl_security_default_callback.minbits_table
_ssl_security_default_callback.minbits_table:
	.long	80                              ## 0x50
	.long	112                             ## 0x70
	.long	128                             ## 0x80
	.long	192                             ## 0xc0
	.long	256                             ## 0x100

	.comm	_SSL_SECOP_TMP_DH,4,2           ## @SSL_SECOP_TMP_DH
	.comm	_SSL_aNULL,4,2                  ## @SSL_aNULL
	.comm	_SSL_MD5,4,2                    ## @SSL_MD5
	.comm	_SSL_SHA1,4,2                   ## @SSL_SHA1
	.comm	_SSL_RC4,4,2                    ## @SSL_RC4
	.comm	_TLS1_3_VERSION,4,2             ## @TLS1_3_VERSION
	.comm	_SSL_kEDH,4,2                   ## @SSL_kEDH
	.comm	_SSL_kEECDH,4,2                 ## @SSL_kEECDH
	.comm	_SSL3_VERSION,4,2               ## @SSL3_VERSION
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_TLS1_1_VERSION,4,2             ## @TLS1_1_VERSION
	.comm	_DTLS1_2_VERSION,4,2            ## @DTLS1_2_VERSION
	.no_dead_strip	_ssl_security_default_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssl_security_default_callback
_ssl_security_default_callback:         ; @ssl_security_default_callback
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x0
	cbz	x1, LBB0_9
; %bb.1:
	mov	x0, x1
	bl	_SSL_CTX_get_security_level
	cmp	w0, #0
	b.le	LBB0_10
LBB0_2:
	mov	w8, #5
	cmp	w0, #5
	csel	w24, w0, w8, lt
	sub	w8, w24, #1
Lloh0:
	adrp	x9, _ssl_security_default_callback.minbits_table@PAGE
Lloh1:
	add	x9, x9, _ssl_security_default_callback.minbits_table@PAGEOFF
	ldr	w8, [x9, w8, uxtw #2]
	sub	w9, w23, #128
	cmp	w9, #5
	b.hi	LBB0_11
; %bb.3:
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_4
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_4:
	cmp	w8, w21
	b.gt	LBB0_22
; %bb.5:
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _SSL_aNULL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _SSL_aNULL@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.6:
	ldr	w8, [x19, #4]
Lloh7:
	adrp	x9, _SSL_MD5@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SSL_MD5@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
; %bb.7:
	and	w9, w24, #0xfffffffe
	cmp	w9, #4
	b.ne	LBB0_20
; %bb.8:
Lloh10:
	adrp	x9, _SSL_SHA1@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSL_SHA1@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_22
	b	LBB0_21
LBB0_9:
	mov	x0, x22
	bl	_SSL_get_security_level
	cmp	w0, #0
	b.gt	LBB0_2
LBB0_10:
Lloh13:
	adrp	x8, _SSL_SECOP_TMP_DH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_SECOP_TMP_DH@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w21, #79
	ccmp	w8, w23, #0, le
	cset	w0, ne
	b	LBB0_23
LBB0_11:
	cmp	w8, w21
	b.gt	LBB0_22
	b	LBB0_16
LBB0_12:
	mov	x0, x22
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_17
; %bb.13:
Lloh16:
	adrp	x8, _DTLS1_2_VERSION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DTLS1_2_VERSION@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_DTLS_VERSION_LT
	cmp	w0, #0
	ccmp	w24, #3, #0, ne
	b.hi	LBB0_22
	b	LBB0_16
LBB0_14:
	cmp	w24, #2
	b.hi	LBB0_22
	b	LBB0_16
LBB0_15:
	cmp	w24, #1
	b.hi	LBB0_22
LBB0_16:
	mov	w0, #1
	b	LBB0_23
LBB0_17:
Lloh19:
	adrp	x8, _SSL3_VERSION@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SSL3_VERSION@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w20
	ccmp	w24, #1, #0, ge
	b.hi	LBB0_22
; %bb.18:
Lloh22:
	adrp	x8, _TLS1_VERSION@GOTPAGE
Lloh23:
	ldr	x8, [x8, _TLS1_VERSION@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmp	w8, w20
	ccmp	w24, #2, #0, ge
	b.hi	LBB0_22
; %bb.19:
Lloh25:
	adrp	x8, _TLS1_1_VERSION@GOTPAGE
Lloh26:
	ldr	x8, [x8, _TLS1_1_VERSION@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cmp	w8, w20
	ccmp	w24, #3, #0, ge
	b.hi	LBB0_22
	b	LBB0_16
LBB0_20:
	cmp	w24, #2
	b.lo	LBB0_16
LBB0_21:
	ldr	w8, [x19, #16]
Lloh28:
	adrp	x9, _SSL_RC4@GOTPAGE
Lloh29:
	ldr	x9, [x9, _SSL_RC4@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_24
LBB0_22:
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_24:
	cmp	w24, #3
	b.lo	LBB0_16
; %bb.25:
	ldr	w8, [x19, #12]
Lloh31:
	adrp	x9, _TLS1_3_VERSION@GOTPAGE
Lloh32:
	ldr	x9, [x9, _TLS1_3_VERSION@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_16
; %bb.26:
	ldr	w8, [x19, #8]
Lloh34:
	adrp	x9, _SSL_kEDH@GOTPAGE
Lloh35:
	ldr	x9, [x9, _SSL_kEDH@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
Lloh37:
	adrp	x10, _SSL_kEECDH@GOTPAGE
Lloh38:
	ldr	x10, [x10, _SSL_kEECDH@GOTPAGEOFF]
Lloh39:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_16
	b	LBB0_22
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.p2align	2                               ; @ssl_security_default_callback.minbits_table
_ssl_security_default_callback.minbits_table:
	.long	80                              ; 0x50
	.long	112                             ; 0x70
	.long	128                             ; 0x80
	.long	192                             ; 0xc0
	.long	256                             ; 0x100

	.comm	_SSL_SECOP_TMP_DH,4,2           ; @SSL_SECOP_TMP_DH
	.comm	_SSL_aNULL,4,2                  ; @SSL_aNULL
	.comm	_SSL_MD5,4,2                    ; @SSL_MD5
	.comm	_SSL_SHA1,4,2                   ; @SSL_SHA1
	.comm	_SSL_RC4,4,2                    ; @SSL_RC4
	.comm	_TLS1_3_VERSION,4,2             ; @TLS1_3_VERSION
	.comm	_SSL_kEDH,4,2                   ; @SSL_kEDH
	.comm	_SSL_kEECDH,4,2                 ; @SSL_kEECDH
	.comm	_SSL3_VERSION,4,2               ; @SSL3_VERSION
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_TLS1_1_VERSION,4,2             ; @TLS1_1_VERSION
	.comm	_DTLS1_2_VERSION,4,2            ; @DTLS1_2_VERSION
	.no_dead_strip	_ssl_security_default_callback
.subsections_via_symbols
