	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_get_ex_new_index        ## -- Begin function CRYPTO_get_ex_new_index
	.p2align	4, 0x90
_CRYPTO_get_ex_new_index:               ## @CRYPTO_get_ex_new_index
	.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	%r9, %r15
	movq	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	callq	_get_and_lock
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r12
	cmpq	$0, (%rax)
	je	LBB0_6
LBB0_2:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	$40, %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	%rax, %r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	%rbx, 32(%r15)
	movq	%r14, 24(%r15)
	movq	%r13, 16(%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	(%r12), %rdi
	xorl	%esi, %esi
	callq	_sk_EX_CALLBACK_push
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	movq	(%r12), %rdi
	callq	_sk_EX_CALLBACK_num
	movl	%eax, %ebx
	decl	%ebx
	movq	(%r12), %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_sk_EX_CALLBACK_set
	jmp	LBB0_11
LBB0_5:
	movl	$-1, %ebx
	jmp	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	callq	_sk_EX_CALLBACK_new_null
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_sk_EX_CALLBACK_push
	testl	%eax, %eax
	jne	LBB0_2
LBB0_8:
	movq	_CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CRYPTOerr
	jmp	LBB0_10
LBB0_9:
	movq	_CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CRYPTOerr
	movq	%r15, %rdi
	callq	_OPENSSL_free
LBB0_10:
	movl	$-1, %ebx
LBB0_11:
	movq	_ex_data_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_THREAD_unlock
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX,4,2 ## @CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ex_data_lock,4,2               ## @ex_data_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_get_ex_new_index        ; -- Begin function CRYPTO_get_ex_new_index
	.p2align	2
_CRYPTO_get_ex_new_index:               ; @CRYPTO_get_ex_new_index
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	bl	_get_and_lock
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_6
LBB0_2:
	mov	w0, #40
	bl	_OPENSSL_malloc
	cbz	x0, LBB0_8
; %bb.3:
	mov	x25, x0
	stp	x22, x24, [x0, #24]
	stp	x20, x21, [x0, #8]
	str	x23, [x0]
	ldr	x0, [x19]
	mov	x1, #0
	bl	_sk_EX_CALLBACK_push
	cbz	w0, LBB0_9
; %bb.4:
	ldr	x0, [x19]
	bl	_sk_EX_CALLBACK_num
	sub	w20, w0, #1
	ldr	x0, [x19]
	mov	x1, x20
	mov	x2, x25
	bl	_sk_EX_CALLBACK_set
	b	LBB0_11
LBB0_5:
	mov	w20, #-1
	b	LBB0_12
LBB0_6:
	bl	_sk_EX_CALLBACK_new_null
	str	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:
	mov	x1, #0
	bl	_sk_EX_CALLBACK_push
	cbnz	w0, LBB0_2
LBB0_8:
Lloh0:
	adrp	x8, _CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_CRYPTOerr
	b	LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_CRYPTOerr
	mov	x0, x25
	bl	_OPENSSL_free
LBB0_10:
	mov	w20, #-1
LBB0_11:
Lloh12:
	adrp	x8, _ex_data_lock@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ex_data_lock@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX,4,2 ; @CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ex_data_lock,4,2               ; @ex_data_lock
.subsections_via_symbols
