	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls1_set_shared_sigalgs
_tls1_set_shared_sigalgs:               ## @tls1_set_shared_sigalgs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	48(%rdi), %r14
	callq	_tls1_suiteb
	movl	%eax, %r15d
	movq	16(%rbx), %rdi
	callq	_OPENSSL_free
	movq	$0, 16(%rbx)
	movq	$0, (%rbx)
	cmpl	$0, 40(%rbx)
	je	LBB0_1
LBB0_4:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	testl	%r15d, %r15d
	jne	LBB0_7
## %bb.6:
	movq	%rax, -48(%rbp)
	movq	8(%r14), %r14
	jmp	LBB0_8
LBB0_7:
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_tls12_get_psigalgs
	movq	%rax, %r14
	jmp	LBB0_8
LBB0_1:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.3:
	movq	%rax, -48(%rbp)
	movq	(%r14), %r14
LBB0_8:
	movq	_SSL_OP_CIPHER_SERVER_PREFERENCE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	leaq	32(%rbx), %rcx
	orl	%r15d, %eax
	movq	24(%rbx), %rax
	leaq	-48(%rbp), %rdx
	movq	%rdx, %rsi
	cmovneq	%rcx, %rsi
	movq	%rax, %r12
	cmovneq	%r14, %r12
	cmovneq	%rax, %r14
	cmovneq	%rdx, %rcx
	movq	(%rcx), %r13
	movq	(%rsi), %r8
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movq	%r14, %r9
	callq	_tls12_shared_sigalgs
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	shlq	$3, %rax
	movq	%rax, %rdi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r15
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	%r14, %r9
	callq	_tls12_shared_sigalgs
	jmp	LBB0_13
LBB0_9:
	xorl	%eax, %eax
LBB0_13:
	movq	%r15, 16(%rbx)
	movq	%rax, (%rbx)
	movl	$1, %eax
	jmp	LBB0_14
LBB0_11:
	movq	_SSL_F_TLS1_SET_SHARED_SIGALGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	xorl	%eax, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_OP_CIPHER_SERVER_PREFERENCE,4,2 ## @SSL_OP_CIPHER_SERVER_PREFERENCE
	.comm	_SSL_F_TLS1_SET_SHARED_SIGALGS,4,2 ## @SSL_F_TLS1_SET_SHARED_SIGALGS
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_tls1_set_shared_sigalgs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls1_set_shared_sigalgs
_tls1_set_shared_sigalgs:               ; @tls1_set_shared_sigalgs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x0
	ldr	x21, [x0, #48]
	bl	_tls1_suiteb
	mov	x20, x0
	ldr	x0, [x19, #16]
	bl	_OPENSSL_free
	str	xzr, [x19, #16]
	str	xzr, [x19]
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	ccmp	w20, #0, #0, ne
	b.eq	LBB0_5
LBB0_2:
	ldr	x8, [x21, #16]
	cmp	x8, #0
	ccmp	w20, #0, #0, ne
	b.eq	LBB0_4
; %bb.3:
	add	x2, sp, #8
	mov	x0, x19
	mov	w1, #0
	bl	_tls12_get_psigalgs
	b	LBB0_6
LBB0_4:
	str	x8, [sp, #8]
	ldr	x0, [x21, #8]
	b	LBB0_6
LBB0_5:
	str	x8, [sp, #8]
	ldr	x0, [x21]
LBB0_6:
	ldr	w8, [x19, #8]
Lloh0:
	adrp	x9, _SSL_OP_CIPHER_SERVER_PREFERENCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_OP_CIPHER_SERVER_PREFERENCE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w8, w8, w20
	add	x9, x19, #32
	ldr	x10, [x19, #24]
	cmp	w8, #0
	add	x8, sp, #8
	csel	x11, x9, x8, ne
	csel	x21, x0, x10, ne
	csel	x20, x10, x0, ne
	csel	x8, x8, x9, ne
	ldr	x23, [x8]
	ldr	x22, [x11]
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	mov	x5, x20
	bl	_tls12_shared_sigalgs
	cbz	x0, LBB0_9
; %bb.7:
	lsl	x0, x0, #3
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_11
; %bb.8:
	mov	x24, x0
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	mov	x5, x20
	bl	_tls12_shared_sigalgs
	b	LBB0_10
LBB0_9:
	mov	x24, #0
LBB0_10:
	str	x24, [x19, #16]
	str	x0, [x19]
	mov	w0, #1
	b	LBB0_12
LBB0_11:
Lloh3:
	adrp	x8, _SSL_F_TLS1_SET_SHARED_SIGALGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS1_SET_SHARED_SIGALGS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_OP_CIPHER_SERVER_PREFERENCE,4,2 ; @SSL_OP_CIPHER_SERVER_PREFERENCE
	.comm	_SSL_F_TLS1_SET_SHARED_SIGALGS,4,2 ; @SSL_F_TLS1_SET_SHARED_SIGALGS
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.no_dead_strip	_tls1_set_shared_sigalgs
.subsections_via_symbols
