	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_cert_lookup_by_pkey        ## -- Begin function ssl_cert_lookup_by_pkey
	.p2align	4, 0x90
_ssl_cert_lookup_by_pkey:               ## @ssl_cert_lookup_by_pkey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_EVP_PKEY_id
	movq	_NID_undef@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.2:
	leaq	-16(%rbp), %rsi
	movl	%eax, %edi
	callq	_ssl_cert_lookup_by_nid
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	-16(%rbp), %rax
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	movq	%rax, (%rbx)
LBB0_5:
	movq	_ssl_cert_info@GOTPCREL(%rip), %rcx
	shlq	$2, %rax
	addq	(%rcx), %rax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_undef,4,2                  ## @NID_undef
	.comm	_ssl_cert_info,8,3              ## @ssl_cert_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_cert_lookup_by_pkey        ; -- Begin function ssl_cert_lookup_by_pkey
	.p2align	2
_ssl_cert_lookup_by_pkey:               ; @ssl_cert_lookup_by_pkey
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	bl	_EVP_PKEY_id
Lloh0:
	adrp	x8, _NID_undef@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NID_undef@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.1:
	add	x1, sp, #8
	bl	_ssl_cert_lookup_by_nid
	cbz	w0, LBB0_5
; %bb.2:
	ldr	x8, [sp, #8]
	cbz	x19, LBB0_4
; %bb.3:
	str	x8, [x19]
LBB0_4:
Lloh3:
	adrp	x9, _ssl_cert_info@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ssl_cert_info@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8, lsl #2
	b	LBB0_6
LBB0_5:
	mov	x0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_undef,4,2                  ; @NID_undef
	.comm	_ssl_cert_info,8,3              ; @ssl_cert_info
.subsections_via_symbols
