	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls1_check_pkey_comp
_tls1_check_pkey_comp:                  ## @tls1_check_pkey_comp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	callq	_EVP_PKEY_id
	movq	_EVP_PKEY_EC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.1:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_get0_EC_KEY
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_EC_KEY_get0_group
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_EC_KEY_get_conv_form
	movq	_POINT_CONVERSION_UNCOMPRESSED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.2:
	movq	_TLSEXT_ECPOINTFORMAT_uncompressed@GOTPCREL(%rip), %rdx
LBB0_3:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:
	movq	8(%r15), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.5:
	movb	(%rdx), %dl
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	%dl, (%rax,%rsi)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_6
LBB0_14:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_9:
	movq	%r15, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_12
LBB0_10:
	movl	$1, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	%r14, %rdi
	callq	_EC_GROUP_method_of
	movl	%eax, %edi
	callq	_EC_METHOD_get_field_type
	movl	%eax, %ecx
	movq	_NID_X9_62_prime_field@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_15
## %bb.13:
	movq	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
LBB0_15:
	movq	_NID_X9_62_characteristic_two_field@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_11
## %bb.16:
	movq	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2@GOTPCREL(%rip), %rdx
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_PKEY_EC,8,3                ## @EVP_PKEY_EC
	.comm	_POINT_CONVERSION_UNCOMPRESSED,8,3 ## @POINT_CONVERSION_UNCOMPRESSED
	.comm	_TLSEXT_ECPOINTFORMAT_uncompressed,1,0 ## @TLSEXT_ECPOINTFORMAT_uncompressed
	.comm	_NID_X9_62_prime_field,4,2      ## @NID_X9_62_prime_field
	.comm	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime,1,0 ## @TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime
	.comm	_NID_X9_62_characteristic_two_field,4,2 ## @NID_X9_62_characteristic_two_field
	.comm	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2,1,0 ## @TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2
	.no_dead_strip	_tls1_check_pkey_comp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls1_check_pkey_comp
_tls1_check_pkey_comp:                  ; @tls1_check_pkey_comp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_EVP_PKEY_id
Lloh0:
	adrp	x8, _EVP_PKEY_EC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_PKEY_EC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_EVP_PKEY_get0_EC_KEY
	mov	x21, x0
	bl	_EC_KEY_get0_group
	mov	x20, x0
	mov	x0, x21
	bl	_EC_KEY_get_conv_form
Lloh3:
	adrp	x8, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _POINT_CONVERSION_UNCOMPRESSED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.2:
Lloh6:
	adrp	x10, _TLSEXT_ECPOINTFORMAT_uncompressed@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TLSEXT_ECPOINTFORMAT_uncompressed@GOTPAGEOFF]
LBB0_3:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.4:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_15
; %bb.5:
	ldrb	w10, [x10]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	cmp	w11, w10
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x8, x8, #1
	subs	x9, x9, #1
	b.ne	LBB0_6
	b	LBB0_15
LBB0_8:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_11
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x20
	bl	_EC_GROUP_method_of
	bl	_EC_METHOD_get_field_type
Lloh8:
	adrp	x8, _NID_X9_62_prime_field@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NID_X9_62_prime_field@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_13
; %bb.12:
Lloh11:
	adrp	x10, _TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime@GOTPAGE
Lloh12:
	ldr	x10, [x10, _TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime@GOTPAGEOFF]
	b	LBB0_3
LBB0_13:
Lloh13:
	adrp	x8, _NID_X9_62_characteristic_two_field@GOTPAGE
Lloh14:
	ldr	x8, [x8, _NID_X9_62_characteristic_two_field@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.14:
Lloh16:
	adrp	x10, _TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2@GOTPAGE
Lloh17:
	ldr	x10, [x10, _TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2@GOTPAGEOFF]
	b	LBB0_3
LBB0_15:
	mov	w0, #0
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_PKEY_EC,8,3                ; @EVP_PKEY_EC
	.comm	_POINT_CONVERSION_UNCOMPRESSED,8,3 ; @POINT_CONVERSION_UNCOMPRESSED
	.comm	_TLSEXT_ECPOINTFORMAT_uncompressed,1,0 ; @TLSEXT_ECPOINTFORMAT_uncompressed
	.comm	_NID_X9_62_prime_field,4,2      ; @NID_X9_62_prime_field
	.comm	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime,1,0 ; @TLSEXT_ECPOINTFORMAT_ansiX962_compressed_prime
	.comm	_NID_X9_62_characteristic_two_field,4,2 ; @NID_X9_62_characteristic_two_field
	.comm	_TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2,1,0 ; @TLSEXT_ECPOINTFORMAT_ansiX962_compressed_char2
	.no_dead_strip	_tls1_check_pkey_comp
.subsections_via_symbols
