	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls12_copy_sigalgs             ## -- Begin function tls12_copy_sigalgs
	.p2align	4, 0x90
_tls12_copy_sigalgs:                    ## @tls12_copy_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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_12
## %bb.1:
	movq	%rdx, %rbx
	movq	%rdi, %r12
	xorl	%r13d, %r13d
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %r13d
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	cmpq	%r14, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx,%r14,4), %edi
	callq	_tls1_lookup_sigalg
	movq	%rax, %r15
	movq	_SSL_SECOP_SIGALG_SUPPORTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_tls12_sigalg_allowed
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx,%r14,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%r13d, %r13d
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_SSL_IS_TLS13
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	xorl	%r13d, %r13d
	movq	_EVP_PKEY_RSA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movq	_NID_sha1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NID_sha224@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
	jmp	LBB0_10
LBB0_11:
	testl	%r13d, %r13d
	jne	LBB0_14
LBB0_12:
	movq	_SSL_F_TLS12_COPY_SIGALGS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_13:
	xorl	%r13d, %r13d
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_SECOP_SIGALG_SUPPORTED,4,2 ## @SSL_SECOP_SIGALG_SUPPORTED
	.comm	_EVP_PKEY_RSA,8,3               ## @EVP_PKEY_RSA
	.comm	_NID_sha1,8,3                   ## @NID_sha1
	.comm	_NID_sha224,8,3                 ## @NID_sha224
	.comm	_SSL_F_TLS12_COPY_SIGALGS,4,2   ## @SSL_F_TLS12_COPY_SIGALGS
	.comm	_SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM,4,2 ## @SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls12_copy_sigalgs             ; -- Begin function tls12_copy_sigalgs
	.p2align	2
_tls12_copy_sigalgs:                    ; @tls12_copy_sigalgs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cbz	x3, LBB0_12
; %bb.1:
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	mov	w23, #0
Lloh0:
	adrp	x25, _SSL_SECOP_SIGALG_SUPPORTED@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SSL_SECOP_SIGALG_SUPPORTED@GOTPAGEOFF]
Lloh2:
	adrp	x26, _EVP_PKEY_RSA@GOTPAGE
Lloh3:
	ldr	x26, [x26, _EVP_PKEY_RSA@GOTPAGEOFF]
Lloh4:
	adrp	x27, _NID_sha1@GOTPAGE
Lloh5:
	ldr	x27, [x27, _NID_sha1@GOTPAGEOFF]
Lloh6:
	adrp	x28, _NID_sha224@GOTPAGE
Lloh7:
	ldr	x28, [x28, _NID_sha224@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #4
	subs	x19, x19, #1
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_tls1_lookup_sigalg
	mov	x24, x0
	ldr	w1, [x25]
	mov	x0, x22
	mov	x2, x24
	bl	_tls12_sigalg_allowed
	cbz	w0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x20]
	mov	x0, x21
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w23, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_SSL_IS_TLS13
	cbz	w0, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x24, #8]
	ldr	x9, [x27]
	ldr	x10, [x28]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w23, #0
	b	LBB0_3
LBB0_11:
	cbnz	w23, LBB0_14
LBB0_12:
Lloh8:
	adrp	x8, _SSL_F_TLS12_COPY_SIGALGS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SSL_F_TLS12_COPY_SIGALGS@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_13:
	mov	w23, #0
LBB0_14:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_SECOP_SIGALG_SUPPORTED,4,2 ; @SSL_SECOP_SIGALG_SUPPORTED
	.comm	_EVP_PKEY_RSA,8,3               ; @EVP_PKEY_RSA
	.comm	_NID_sha1,8,3                   ; @NID_sha1
	.comm	_NID_sha224,8,3                 ; @NID_sha224
	.comm	_SSL_F_TLS12_COPY_SIGALGS,4,2   ; @SSL_F_TLS12_COPY_SIGALGS
	.comm	_SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM,4,2 ; @SSL_R_NO_SUITABLE_SIGNATURE_ALGORITHM
.subsections_via_symbols
