	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_check_sigalg_curve         ## -- Begin function tls_check_sigalg_curve
	.p2align	4, 0x90
_tls_check_sigalg_curve:                ## @tls_check_sigalg_curve
	.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
	movl	%esi, %r14d
	movq	(%rdi), %rax
	movq	8(%rax), %r15
	testq	%r15, %r15
	je	LBB0_2
## %bb.1:
	movq	(%rax), %r12
	testq	%r12, %r12
	jne	LBB0_4
	jmp	LBB0_11
LBB0_2:
	movq	_tls12_sigalgs@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%r15, %rdi
	callq	_OSSL_NELEM
	movq	%rax, %r12
	testq	%r12, %r12
	je	LBB0_11
LBB0_4:
	xorl	%ebx, %ebx
	movq	_EVP_PKEY_EC@GOTPCREL(%rip), %r13
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_11
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15,%rbx,4), %edi
	callq	_tls1_lookup_sigalg
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r13), %rcx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rax), %eax
	cmpl	%r14d, %eax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_NID_undef@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_10
## %bb.9:
	movl	$1, %eax
	jmp	LBB0_12
LBB0_11:
	xorl	%eax, %eax
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tls12_sigalgs,8,3              ## @tls12_sigalgs
	.comm	_EVP_PKEY_EC,8,3                ## @EVP_PKEY_EC
	.comm	_NID_undef,4,2                  ## @NID_undef
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_check_sigalg_curve         ; -- Begin function tls_check_sigalg_curve
	.p2align	2
_tls_check_sigalg_curve:                ; @tls_check_sigalg_curve
	.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, x1
	ldr	x8, [x0]
	ldr	x20, [x8, #8]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	x21, [x8]
	cbnz	x21, LBB0_3
	b	LBB0_9
LBB0_2:
Lloh0:
	adrp	x8, _tls12_sigalgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tls12_sigalgs@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	mov	x0, x20
	bl	_OSSL_NELEM
	mov	x21, x0
	cbz	x21, LBB0_9
LBB0_3:
Lloh3:
	adrp	x22, _EVP_PKEY_EC@GOTPAGE
Lloh4:
	ldr	x22, [x22, _EVP_PKEY_EC@GOTPAGEOFF]
Lloh5:
	adrp	x23, _NID_undef@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NID_undef@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x20, x20, #4
	subs	x21, x21, #1
	b.eq	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x20]
	bl	_tls1_lookup_sigalg
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x0, #8]
	ldr	w9, [x23]
	cmp	w8, w19
	ccmp	w8, w9, #4, eq
	b.eq	LBB0_4
; %bb.8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tls12_sigalgs,8,3              ; @tls12_sigalgs
	.comm	_EVP_PKEY_EC,8,3                ; @EVP_PKEY_EC
	.comm	_NID_undef,4,2                  ; @NID_undef
.subsections_via_symbols
