	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_new_ex_data             ## -- Begin function CRYPTO_new_ex_data
	.p2align	4, 0x90
_CRYPTO_new_ex_data:                    ## @CRYPTO_new_ex_data
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_get_and_lock
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r15
	movq	$0, (%r12)
	movl	(%rax), %edi
	callq	_sk_EX_CALLBACK_num
	movl	%eax, %ebx
	leaq	-128(%rbp), %r14
	testl	%eax, %eax
	jle	LBB0_9
## %bb.2:
	movq	%r14, %rdi
	callq	_OSSL_NELEM
	cmpl	%eax, %ebx
	jl	LBB0_4
## %bb.3:
	leal	(,%rbx,8), %edi
	callq	_OPENSSL_malloc
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_9
LBB0_4:
	movq	%r13, -144(%rbp)                ## 8-byte Spill
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	movl	%ebx, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edi
	movl	%ebx, %esi
	callq	_sk_EX_CALLBACK_value
	movq	%rax, (%r14,%rbx,8)
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_5
## %bb.6:
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_9:
	xorl	%r14d, %r14d
LBB0_10:
	movq	_ex_data_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_THREAD_unlock
	testl	%ebx, %ebx
	jle	LBB0_13
## %bb.11:
	testq	%r14, %r14
	jne	LBB0_13
## %bb.12:
	movq	_CRYPTO_F_CRYPTO_NEW_EX_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_CRYPTOerr
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_13:
	testl	%ebx, %ebx
	jle	LBB0_19
## %bb.14:
	movl	%ebx, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	cmpq	%rbx, %r15
	je	LBB0_19
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	cmpq	$0, 8(%rax)
	je	LBB0_15
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_CRYPTO_get_ex_data
	movq	(%r14,%rbx,8), %r10
	movl	(%r10), %r9d
	movl	4(%r10), %r8d
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	*8(%r10)
	jmp	LBB0_15
LBB0_19:
	movl	$1, %ebx
	leaq	-128(%rbp), %rax
	cmpq	%rax, %r14
	je	LBB0_21
## %bb.20:
	movq	%r14, %rdi
	callq	_OPENSSL_free
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ex_data_lock,4,2               ## @ex_data_lock
	.comm	_CRYPTO_F_CRYPTO_NEW_EX_DATA,4,2 ## @CRYPTO_F_CRYPTO_NEW_EX_DATA
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_new_ex_data             ; -- Begin function CRYPTO_new_ex_data
	.p2align	2
_CRYPTO_new_ex_data:                    ; @CRYPTO_new_ex_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_get_and_lock
	cbz	x0, LBB0_19
; %bb.1:
	mov	x23, x0
	str	xzr, [x19]
	ldr	w0, [x0]
	bl	_sk_EX_CALLBACK_num
	mov	x22, x0
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	add	x21, sp, #8
	add	x0, sp, #8
	bl	_OSSL_NELEM
	cmp	w22, w0
	b.lt	LBB0_4
; %bb.3:
	lsl	w0, w22, #3
	bl	_OPENSSL_malloc
	mov	x21, x0
	cbz	x0, LBB0_7
LBB0_4:
	mov	x24, #0
	mov	w25, w22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x24
	bl	_sk_EX_CALLBACK_value
	str	x0, [x21, x24, lsl #3]
	add	x24, x24, #1
	cmp	x25, x24
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	x21, #0
LBB0_7:
Lloh3:
	adrp	x8, _ex_data_lock@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ex_data_lock@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_CRYPTO_THREAD_unlock
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.8:
	cbnz	x21, LBB0_10
; %bb.9:
Lloh6:
	adrp	x8, _CRYPTO_F_CRYPTO_NEW_EX_DATA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CRYPTO_F_CRYPTO_NEW_EX_DATA@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	w0, #0
	b	LBB0_19
LBB0_10:
	cmp	w22, #1
	b.lt	LBB0_16
; %bb.11:
	mov	x23, #0
	mov	w22, w22
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #1
	cmp	x22, x23
	b.eq	LBB0_16
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x23, lsl #3]
	cbz	x8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_CRYPTO_get_ex_data
	mov	x1, x0
	ldr	x8, [x21, x23, lsl #3]
	ldr	x9, [x8, #8]
	ldp	w5, w4, [x8]
	mov	x0, x20
	mov	x2, x19
	mov	x3, x23
	blr	x9
	b	LBB0_12
LBB0_16:
	add	x8, sp, #8
	cmp	x21, x8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x21
	bl	_OPENSSL_free
LBB0_18:
	mov	w0, #1
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.20:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ex_data_lock,4,2               ; @ex_data_lock
	.comm	_CRYPTO_F_CRYPTO_NEW_EX_DATA,4,2 ; @CRYPTO_F_CRYPTO_NEW_EX_DATA
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
.subsections_via_symbols
