	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_set_masks                  ## -- Begin function ssl_set_masks
	.p2align	4, 0x90
_ssl_set_masks:                         ## @ssl_set_masks
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_46
## %bb.1:
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movb	$1, %cl
	cmpq	$0, 24(%rax)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, 16(%rax)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 8(%rax)
	setne	%cl
LBB0_4:
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movb	%cl, -41(%rbp)                  ## 1-byte Spill
	movzbl	%cl, %edx
	movq	_SSL_PKEY_RSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CERT_PKEY_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	_SSL_PKEY_DSA_SIGN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %r9d
	andl	%ebx, %r9d
	movq	_SSL_PKEY_ECC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rsi,%rcx,4), %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	_TLS_CIPHER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movl	(%rsi,%rax,4), %r15d
	leaq	L_.str(%rip), %rsi
	movl	%ebx, -64(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	andl	%r15d, %ecx
	movl	%ecx, %r8d
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	callq	_OSSL_TRACE4
	movq	_SSL_PKEY_GOST12_512@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_ssl_has_cert
	movq	%rax, %r12
	movq	_SSL_aGOST12@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	(%r13), %r12
	movq	_SSL_kGOST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_6:
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_SSL_PKEY_GOST12_256@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_ssl_has_cert
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%r13), %rbx
	movq	_SSL_kGOST@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_8:
	movq	_SSL_PKEY_GOST01@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_ssl_has_cert
	xorl	%esi, %esi
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	movl	$0, %r13d
	andl	%r15d, %ecx
	je	LBB0_10
## %bb.9:
	movq	_SSL_kRSA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r13
LBB0_10:
	movq	%rax, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	_SSL_aGOST01@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_SSL_kGOST@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
LBB0_12:
	orq	%r12, %rbx
	movq	_SSL_kDHE@GOTPCREL(%rip), %rcx
	cmpb	$0, -41(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_14
## %bb.13:
	movq	(%rcx), %rsi
LBB0_14:
	orq	%rax, %rbx
	andl	%edx, %r15d
	je	LBB0_15
LBB0_19:
	movq	_SSL_aRSA@GOTPCREL(%rip), %rax
	orq	(%rax), %rbx
LBB0_20:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_15:
	movq	%rdi, %r12
	movq	%rsi, %r15
	movq	_SSL_PKEY_RSA_PSS_SIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ssl_has_cert
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	_SSL_PKEY_RSA_PSS_SIGN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CERT_PKEY_EXPLICIT_SIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	testl	%ecx, (%rdx,%rax,4)
	je	LBB0_16
## %bb.18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TLS1_get_version
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rsi
	movq	%r12, %rdi
	je	LBB0_19
	jmp	LBB0_20
LBB0_16:
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	movq	%r15, %rsi
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %rdi
LBB0_21:
	orq	%rcx, %r14
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	movq	_SSL_aDSS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	jmp	LBB0_24
LBB0_22:
	xorl	%r15d, %r15d
LBB0_24:
	orq	%rbx, %r15
	orq	%rdi, %r14
	movq	_SSL_aNULL@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	testl	%edx, -84(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_25
## %bb.26:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_SSL_PKEY_ECC@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	%rsi, %rbx
	callq	_X509_get_key_usage
	movq	_X509v3_KU_DIGITAL_SIGNATURE@GOTPCREL(%rip), %rcx
	movq	(%r12), %rdx
	movq	_CERT_PKEY_SIGN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	xorl	%edi, %edi
	testl	%eax, (%rcx)
	movq	_SSL_aECDSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
	cmoveq	%rdi, %rcx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testl	%esi, (%r12,%rdx,4)
	movq	%rbx, %rsi
	cmoveq	%rdi, %rcx
	orq	%rcx, %r15
	jmp	LBB0_27
LBB0_25:
	movq	_SSL_aECDSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %r12                 ## 8-byte Reload
LBB0_27:
	orq	%rsi, %r14
	testq	%r15, %rax
	je	LBB0_28
LBB0_33:
	orq	%r14, %r13
	movq	_SSL_aECDSA@GOTPCREL(%rip), %r14
	testq	%r15, (%r14)
	je	LBB0_35
LBB0_34:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_39:
	movq	_SSL_kDHE@GOTPCREL(%rip), %r12
	movq	_SSL_kECDHE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rax, %r13
	movq	_SSL_kPSK@GOTPCREL(%rip), %rcx
	orq	(%rcx), %r13
	movq	_SSL_kRSA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	andq	%r13, %rcx
	je	LBB0_41
## %bb.40:
	movq	_SSL_kRSAPSK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_41:
	movq	_SSL_aPSK@GOTPCREL(%rip), %rsi
	orq	%r13, %rcx
	movq	(%r12), %rdx
	andq	%rcx, %rdx
	je	LBB0_43
## %bb.42:
	movq	_SSL_kDHEPSK@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
LBB0_43:
	orq	(%rsi), %r15
	orq	%rcx, %rdx
	andq	%rdx, %rax
	je	LBB0_45
## %bb.44:
	movq	_SSL_kECDHEPSK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_45:
	orq	%rdx, %rax
	movq	%rax, 8(%rbx)
	movq	%r15, 16(%rbx)
LBB0_46:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_SSL_PKEY_ED25519@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ssl_has_cert
	testq	%rax, %rax
	je	LBB0_29
## %bb.30:
	movq	(%rbx), %rax
	movq	_CERT_PKEY_EXPLICIT_SIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	testl	%ecx, (%r12,%rax,4)
	je	LBB0_33
## %bb.31:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TLS1_get_version
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
## %bb.32:
	movq	_SSL_aECDSA@GOTPCREL(%rip), %rax
	orq	(%rax), %r15
	jmp	LBB0_33
LBB0_35:
	movq	_SSL_PKEY_ED448@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_ssl_has_cert
	testq	%rax, %rax
	je	LBB0_34
## %bb.36:
	movq	(%rbx), %rax
	movq	_CERT_PKEY_EXPLICIT_SIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12,%rax,4)
	je	LBB0_34
## %bb.37:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_TLS1_get_version
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_39
## %bb.38:
	orq	(%r14), %r15
	jmp	LBB0_39
LBB0_29:
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_PKEY_RSA,8,3               ## @SSL_PKEY_RSA
	.comm	_CERT_PKEY_VALID,4,2            ## @CERT_PKEY_VALID
	.comm	_SSL_PKEY_DSA_SIGN,8,3          ## @SSL_PKEY_DSA_SIGN
	.comm	_SSL_PKEY_ECC,8,3               ## @SSL_PKEY_ECC
	.comm	_TLS_CIPHER,4,2                 ## @TLS_CIPHER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dh_tmp=%d rsa_enc=%d rsa_sign=%d dsa_sign=%d\n"

	.comm	_SSL_PKEY_GOST12_512,8,3        ## @SSL_PKEY_GOST12_512
	.comm	_SSL_kGOST,8,3                  ## @SSL_kGOST
	.comm	_SSL_aGOST12,8,3                ## @SSL_aGOST12
	.comm	_SSL_PKEY_GOST12_256,8,3        ## @SSL_PKEY_GOST12_256
	.comm	_SSL_PKEY_GOST01,8,3            ## @SSL_PKEY_GOST01
	.comm	_SSL_aGOST01,8,3                ## @SSL_aGOST01
	.comm	_SSL_kRSA,8,3                   ## @SSL_kRSA
	.comm	_SSL_kDHE,8,3                   ## @SSL_kDHE
	.comm	_SSL_PKEY_RSA_PSS_SIGN,8,3      ## @SSL_PKEY_RSA_PSS_SIGN
	.comm	_CERT_PKEY_EXPLICIT_SIGN,4,2    ## @CERT_PKEY_EXPLICIT_SIGN
	.comm	_TLS1_2_VERSION,8,3             ## @TLS1_2_VERSION
	.comm	_SSL_aRSA,8,3                   ## @SSL_aRSA
	.comm	_SSL_aDSS,8,3                   ## @SSL_aDSS
	.comm	_SSL_aNULL,8,3                  ## @SSL_aNULL
	.comm	_X509v3_KU_DIGITAL_SIGNATURE,4,2 ## @X509v3_KU_DIGITAL_SIGNATURE
	.comm	_CERT_PKEY_SIGN,4,2             ## @CERT_PKEY_SIGN
	.comm	_SSL_aECDSA,8,3                 ## @SSL_aECDSA
	.comm	_SSL_PKEY_ED25519,8,3           ## @SSL_PKEY_ED25519
	.comm	_SSL_PKEY_ED448,8,3             ## @SSL_PKEY_ED448
	.comm	_SSL_kECDHE,8,3                 ## @SSL_kECDHE
	.comm	_SSL_kPSK,8,3                   ## @SSL_kPSK
	.comm	_SSL_aPSK,8,3                   ## @SSL_aPSK
	.comm	_SSL_kRSAPSK,8,3                ## @SSL_kRSAPSK
	.comm	_SSL_kDHEPSK,8,3                ## @SSL_kDHEPSK
	.comm	_SSL_kECDHEPSK,8,3              ## @SSL_kECDHEPSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_set_masks                  ; -- Begin function ssl_set_masks
	.p2align	2
_ssl_set_masks:                         ; @ssl_set_masks
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	x10, [x0, #24]
	cbz	x10, LBB0_17
; %bb.1:
	ldr	x9, [x0]
	ldr	x8, [x10, #24]
	str	x0, [sp, #40]                   ; 8-byte Folded Spill
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x10, #16]
	cbz	x8, LBB0_26
LBB0_3:
	mov	w19, #1
LBB0_4:
Lloh0:
	adrp	x8, _SSL_PKEY_RSA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_PKEY_RSA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w25, [x9, x8, lsl #2]
Lloh3:
	adrp	x8, _CERT_PKEY_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CERT_PKEY_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w27, [x8]
Lloh6:
	adrp	x8, _SSL_PKEY_DSA_SIGN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_PKEY_DSA_SIGN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	and	w5, w8, w27
Lloh9:
	adrp	x8, _SSL_PKEY_ECC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_PKEY_ECC@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
Lloh12:
	adrp	x8, _TLS_CIPHER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TLS_CIPHER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	ands	w3, w27, w25
	mov	x2, x19
	str	w19, [sp, #20]                  ; 4-byte Folded Spill
	mov	x4, x3
	str	w5, [sp, #28]                   ; 4-byte Folded Spill
	bl	_OSSL_TRACE4
Lloh17:
	adrp	x8, _SSL_PKEY_GOST12_512@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_PKEY_GOST12_512@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	ldr	x24, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x24
	bl	_ssl_has_cert
	mov	x22, x0
Lloh20:
	adrp	x19, _SSL_kGOST@GOTPAGE
Lloh21:
	ldr	x19, [x19, _SSL_kGOST@GOTPAGEOFF]
	ldr	x20, [x19]
Lloh22:
	adrp	x21, _SSL_aGOST12@GOTPAGE
Lloh23:
	ldr	x21, [x21, _SSL_aGOST12@GOTPAGEOFF]
	ldr	x26, [x21]
Lloh24:
	adrp	x8, _SSL_PKEY_GOST12_256@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSL_PKEY_GOST12_256@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	mov	x0, x24
	bl	_ssl_has_cert
	mov	x23, x0
	ldr	x28, [x19]
	ldr	x21, [x21]
Lloh27:
	adrp	x8, _SSL_PKEY_GOST01@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSL_PKEY_GOST01@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
	mov	x0, x24
	bl	_ssl_has_cert
	ands	w8, w27, w25
Lloh30:
	adrp	x9, _SSL_kRSA@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SSL_kRSA@GOTPAGEOFF]
	ldr	w10, [sp, #24]                  ; 4-byte Folded Reload
	and	w25, w10, w27
Lloh32:
	ldr	x9, [x9]
	csel	x12, xzr, x9, eq
	cmp	x22, #0
	csel	x9, xzr, x26, eq
	csel	x10, xzr, x20, eq
	cmp	x23, #0
	csel	x11, xzr, x21, eq
	orr	x9, x11, x9
	csel	x11, xzr, x28, eq
	orr	x23, x11, x10
	ldr	x10, [x19]
Lloh33:
	adrp	x11, _SSL_aGOST01@GOTPAGE
Lloh34:
	ldr	x11, [x11, _SSL_aGOST01@GOTPAGEOFF]
Lloh35:
	ldr	x11, [x11]
	cmp	x0, #0
	csel	x11, xzr, x11, eq
	orr	x22, x9, x11
	csel	x27, xzr, x10, eq
Lloh36:
	adrp	x26, _SSL_kDHE@GOTPAGE
Lloh37:
	ldr	x26, [x26, _SSL_kDHE@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	x28, x9, xzr, ne
	cbz	w8, LBB0_6
LBB0_5:
Lloh38:
	adrp	x8, _SSL_aRSA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SSL_aRSA@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	orr	x22, x8, x22
	b	LBB0_10
LBB0_6:
	mov	x21, x12
Lloh41:
	adrp	x20, _SSL_PKEY_RSA_PSS_SIGN@GOTPAGE
Lloh42:
	ldr	x20, [x20, _SSL_PKEY_RSA_PSS_SIGN@GOTPAGEOFF]
	ldr	x1, [x20]
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	mov	x0, x19
	bl	_ssl_has_cert
	cbz	x0, LBB0_9
; %bb.7:
	ldr	x8, [x20]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w8, [x9, x8, lsl #2]
Lloh43:
	adrp	x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGE
Lloh44:
	ldr	x9, [x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_TLS1_get_version
Lloh46:
	adrp	x8, _TLS1_2_VERSION@GOTPAGE
Lloh47:
	ldr	x8, [x8, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh48:
	ldr	x8, [x8]
	cmp	x0, x8
	mov	x12, x21
	b.eq	LBB0_5
	b	LBB0_10
LBB0_9:
	mov	x12, x21
LBB0_10:
	orr	x27, x23, x27
Lloh49:
	adrp	x8, _SSL_aDSS@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SSL_aDSS@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w9, #0
	csel	x8, xzr, x8, eq
	orr	x8, x8, x22
Lloh52:
	adrp	x9, _SSL_aNULL@GOTPAGE
Lloh53:
	ldr	x9, [x9, _SSL_aNULL@GOTPAGEOFF]
Lloh54:
	ldr	x9, [x9]
	orr	x20, x8, x9
Lloh55:
	adrp	x23, _SSL_aECDSA@GOTPAGE
Lloh56:
	ldr	x23, [x23, _SSL_aECDSA@GOTPAGEOFF]
	cbz	w25, LBB0_12
; %bb.11:
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x8]
Lloh57:
	adrp	x21, _SSL_PKEY_ECC@GOTPAGE
Lloh58:
	ldr	x21, [x21, _SSL_PKEY_ECC@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	mov	x22, x12
	bl	_X509_get_key_usage
	mov	x12, x22
Lloh59:
	adrp	x8, _X509v3_KU_DIGITAL_SIGNATURE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _X509v3_KU_DIGITAL_SIGNATURE@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	ldr	x9, [x21]
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
	ldr	w9, [x24, x9, lsl #2]
Lloh62:
	adrp	x10, _CERT_PKEY_SIGN@GOTPAGE
Lloh63:
	ldr	x10, [x10, _CERT_PKEY_SIGN@GOTPAGEOFF]
Lloh64:
	ldr	w10, [x10]
	and	w9, w10, w9
	tst	w8, w0
	ccmp	w9, #0, #4, ne
	ldr	x8, [x23]
	csel	x9, xzr, x8, eq
	orr	x20, x9, x20
	b	LBB0_13
LBB0_12:
	ldr	x8, [x23]
	ldr	x24, [sp, #32]                  ; 8-byte Folded Reload
LBB0_13:
	ldr	x19, [sp, #40]                  ; 8-byte Folded Reload
	orr	x22, x27, x12
	tst	x8, x20
	b.eq	LBB0_18
LBB0_14:
	orr	x21, x22, x28
	ldr	x8, [x23]
	tst	x8, x20
	b.eq	LBB0_22
LBB0_15:
Lloh65:
	adrp	x11, _SSL_kRSA@GOTPAGE
Lloh66:
	ldr	x11, [x11, _SSL_kRSA@GOTPAGEOFF]
LBB0_16:
Lloh67:
	adrp	x8, _SSL_kECDHE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _SSL_kECDHE@GOTPAGEOFF]
Lloh69:
	ldr	x8, [x8]
	orr	x9, x21, x8
Lloh70:
	adrp	x10, _SSL_kPSK@GOTPAGE
Lloh71:
	ldr	x10, [x10, _SSL_kPSK@GOTPAGEOFF]
Lloh72:
	ldr	x10, [x10]
	orr	x9, x9, x10
Lloh73:
	adrp	x10, _SSL_aPSK@GOTPAGE
Lloh74:
	ldr	x10, [x10, _SSL_aPSK@GOTPAGEOFF]
Lloh75:
	ldr	x10, [x10]
	orr	x10, x10, x20
	ldr	x11, [x11]
Lloh76:
	adrp	x12, _SSL_kRSAPSK@GOTPAGE
Lloh77:
	ldr	x12, [x12, _SSL_kRSAPSK@GOTPAGEOFF]
Lloh78:
	ldr	x12, [x12]
	tst	x11, x9
	csel	x11, xzr, x12, eq
	orr	x9, x11, x9
	ldr	x11, [x26]
Lloh79:
	adrp	x12, _SSL_kDHEPSK@GOTPAGE
Lloh80:
	ldr	x12, [x12, _SSL_kDHEPSK@GOTPAGEOFF]
Lloh81:
	ldr	x12, [x12]
	tst	x9, x11
	csel	x11, xzr, x12, eq
	orr	x9, x11, x9
Lloh82:
	adrp	x11, _SSL_kECDHEPSK@GOTPAGE
Lloh83:
	ldr	x11, [x11, _SSL_kECDHEPSK@GOTPAGEOFF]
Lloh84:
	ldr	x11, [x11]
	tst	x9, x8
	csel	x8, xzr, x11, eq
	orr	x8, x8, x9
	stp	x8, x10, [x19, #8]
LBB0_17:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_18:
Lloh85:
	adrp	x21, _SSL_PKEY_ED25519@GOTPAGE
Lloh86:
	ldr	x21, [x21, _SSL_PKEY_ED25519@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_ssl_has_cert
	cbz	x0, LBB0_14
; %bb.19:
	ldr	x8, [x21]
	ldr	w8, [x24, x8, lsl #2]
Lloh87:
	adrp	x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGE
Lloh88:
	ldr	x9, [x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGEOFF]
Lloh89:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.20:
	mov	x0, x19
	bl	_TLS1_get_version
Lloh90:
	adrp	x8, _TLS1_2_VERSION@GOTPAGE
Lloh91:
	ldr	x8, [x8, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh92:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.21:
	ldr	x8, [x23]
	orr	x20, x8, x20
	b	LBB0_14
LBB0_22:
Lloh93:
	adrp	x22, _SSL_PKEY_ED448@GOTPAGE
Lloh94:
	ldr	x22, [x22, _SSL_PKEY_ED448@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	x0, x19
	bl	_ssl_has_cert
	cbz	x0, LBB0_15
; %bb.23:
	ldr	x8, [x22]
	ldr	w8, [x24, x8, lsl #2]
Lloh95:
	adrp	x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGE
Lloh96:
	ldr	x9, [x9, _CERT_PKEY_EXPLICIT_SIGN@GOTPAGEOFF]
Lloh97:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.24:
	mov	x0, x19
	bl	_TLS1_get_version
Lloh98:
	adrp	x8, _TLS1_2_VERSION@GOTPAGE
Lloh99:
	ldr	x8, [x8, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh100:
	ldr	x8, [x8]
	cmp	x0, x8
Lloh101:
	adrp	x11, _SSL_kRSA@GOTPAGE
Lloh102:
	ldr	x11, [x11, _SSL_kRSA@GOTPAGEOFF]
	b.ne	LBB0_16
; %bb.25:
	ldr	x8, [x23]
	orr	x20, x8, x20
	b	LBB0_16
LBB0_26:
	ldr	x8, [x10, #8]
	cmp	x8, #0
	cset	w19, ne
	b	LBB0_4
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_PKEY_RSA,8,3               ; @SSL_PKEY_RSA
	.comm	_CERT_PKEY_VALID,4,2            ; @CERT_PKEY_VALID
	.comm	_SSL_PKEY_DSA_SIGN,8,3          ; @SSL_PKEY_DSA_SIGN
	.comm	_SSL_PKEY_ECC,8,3               ; @SSL_PKEY_ECC
	.comm	_TLS_CIPHER,4,2                 ; @TLS_CIPHER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dh_tmp=%d rsa_enc=%d rsa_sign=%d dsa_sign=%d\n"

	.comm	_SSL_PKEY_GOST12_512,8,3        ; @SSL_PKEY_GOST12_512
	.comm	_SSL_kGOST,8,3                  ; @SSL_kGOST
	.comm	_SSL_aGOST12,8,3                ; @SSL_aGOST12
	.comm	_SSL_PKEY_GOST12_256,8,3        ; @SSL_PKEY_GOST12_256
	.comm	_SSL_PKEY_GOST01,8,3            ; @SSL_PKEY_GOST01
	.comm	_SSL_aGOST01,8,3                ; @SSL_aGOST01
	.comm	_SSL_kRSA,8,3                   ; @SSL_kRSA
	.comm	_SSL_kDHE,8,3                   ; @SSL_kDHE
	.comm	_SSL_PKEY_RSA_PSS_SIGN,8,3      ; @SSL_PKEY_RSA_PSS_SIGN
	.comm	_CERT_PKEY_EXPLICIT_SIGN,4,2    ; @CERT_PKEY_EXPLICIT_SIGN
	.comm	_TLS1_2_VERSION,8,3             ; @TLS1_2_VERSION
	.comm	_SSL_aRSA,8,3                   ; @SSL_aRSA
	.comm	_SSL_aDSS,8,3                   ; @SSL_aDSS
	.comm	_SSL_aNULL,8,3                  ; @SSL_aNULL
	.comm	_X509v3_KU_DIGITAL_SIGNATURE,4,2 ; @X509v3_KU_DIGITAL_SIGNATURE
	.comm	_CERT_PKEY_SIGN,4,2             ; @CERT_PKEY_SIGN
	.comm	_SSL_aECDSA,8,3                 ; @SSL_aECDSA
	.comm	_SSL_PKEY_ED25519,8,3           ; @SSL_PKEY_ED25519
	.comm	_SSL_PKEY_ED448,8,3             ; @SSL_PKEY_ED448
	.comm	_SSL_kECDHE,8,3                 ; @SSL_kECDHE
	.comm	_SSL_kPSK,8,3                   ; @SSL_kPSK
	.comm	_SSL_aPSK,8,3                   ; @SSL_aPSK
	.comm	_SSL_kRSAPSK,8,3                ; @SSL_kRSAPSK
	.comm	_SSL_kDHEPSK,8,3                ; @SSL_kDHEPSK
	.comm	_SSL_kECDHEPSK,8,3              ; @SSL_kECDHEPSK
.subsections_via_symbols
