	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_cert_new                   ## -- Begin function ssl_cert_new
	.p2align	4, 0x90
_ssl_cert_new:                          ## @ssl_cert_new
	.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
	movl	$48, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_SSL_PKEY_RSA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$2, %rax
	addq	32(%rbx), %rax
	movq	%rax, 40(%rbx)
	movl	$1, (%rbx)
	movq	_ssl_security_default_callback@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movq	_OPENSSL_TLS_SECURITY_LEVEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	xorl	%eax, %eax
	callq	_CRYPTO_THREAD_lock_new
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.3:
	movq	_SSL_F_SSL_CERT_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	jmp	LBB0_4
LBB0_1:
	movq	_SSL_F_SSL_CERT_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
LBB0_4:
	xorl	%ebx, %ebx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_F_SSL_CERT_NEW,4,2         ## @SSL_F_SSL_CERT_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_SSL_PKEY_RSA,8,3               ## @SSL_PKEY_RSA
	.comm	_ssl_security_default_callback,4,2 ## @ssl_security_default_callback
	.comm	_OPENSSL_TLS_SECURITY_LEVEL,4,2 ## @OPENSSL_TLS_SECURITY_LEVEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl_cert_new                   ; -- Begin function ssl_cert_new
	.p2align	2
_ssl_cert_new:                          ; @ssl_cert_new
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	w0, #48
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _SSL_PKEY_RSA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_PKEY_RSA@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x8, x8, x9, lsl #2
	str	x8, [x19, #40]
	mov	w8, #1
	str	w8, [x19]
Lloh3:
	adrp	x8, _ssl_security_default_callback@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ssl_security_default_callback@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _OPENSSL_TLS_SECURITY_LEVEL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OPENSSL_TLS_SECURITY_LEVEL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	str	xzr, [x19, #16]
	bl	_CRYPTO_THREAD_lock_new
	str	x0, [x19, #8]
	cbnz	x0, LBB0_4
; %bb.2:
Lloh9:
	adrp	x8, _SSL_F_SSL_CERT_NEW@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_SSL_CERT_NEW@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_SSLerr
	mov	x0, x19
	bl	_OPENSSL_free
	mov	x19, #0
	b	LBB0_4
LBB0_3:
Lloh15:
	adrp	x8, _SSL_F_SSL_CERT_NEW@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_F_SSL_CERT_NEW@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_SSLerr
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_F_SSL_CERT_NEW,4,2         ; @SSL_F_SSL_CERT_NEW
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_SSL_PKEY_RSA,8,3               ; @SSL_PKEY_RSA
	.comm	_ssl_security_default_callback,4,2 ; @ssl_security_default_callback
	.comm	_OPENSSL_TLS_SECURITY_LEVEL,4,2 ; @OPENSSL_TLS_SECURITY_LEVEL
.subsections_via_symbols
