	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_NAME_remove                ## -- Begin function OBJ_NAME_remove
	.p2align	4, 0x90
_OBJ_NAME_remove:                       ## @OBJ_NAME_remove
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_OBJ_NAME_init
	testl	%eax, %eax
	je	LBB0_8
## %bb.1:
	movq	_obj_lock@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_CRYPTO_THREAD_write_lock
	movq	_OBJ_NAME_ALIAS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%r14d, %eax
	movq	%r15, -48(%rbp)
	movl	%eax, -40(%rbp)
	movq	_names_lh@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rsi
	callq	_lh_OBJ_NAME_delete
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %rbx
	movq	_name_funcs_stack@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	callq	_sk_NAME_FUNCS_num
	movslq	8(%rbx), %rsi
	cmpq	%rsi, %rax
	jle	LBB0_6
## %bb.5:
	movq	(%r14), %rdi
	callq	_sk_NAME_FUNCS_value
	movq	(%rbx), %rdi
	movslq	8(%rbx), %rsi
	movl	12(%rbx), %edx
	callq	*(%rax)
LBB0_6:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movl	$1, %ebx
	jmp	LBB0_7
LBB0_2:
	xorl	%ebx, %ebx
LBB0_7:
	movl	(%r12), %edi
	callq	_CRYPTO_THREAD_unlock
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_obj_lock,4,2                   ## @obj_lock
	.comm	_OBJ_NAME_ALIAS,4,2             ## @OBJ_NAME_ALIAS
	.comm	_names_lh,4,2                   ## @names_lh
	.comm	_name_funcs_stack,8,3           ## @name_funcs_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OBJ_NAME_remove                ; -- Begin function OBJ_NAME_remove
	.p2align	2
_OBJ_NAME_remove:                       ; @OBJ_NAME_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_OBJ_NAME_init
	cbz	w0, LBB0_7
; %bb.1:
Lloh0:
	adrp	x21, _obj_lock@GOTPAGE
Lloh1:
	ldr	x21, [x21, _obj_lock@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_CRYPTO_THREAD_write_lock
Lloh2:
	adrp	x8, _OBJ_NAME_ALIAS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OBJ_NAME_ALIAS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	bic	w8, w20, w8
	str	x19, [sp]
	str	w8, [sp, #8]
Lloh5:
	adrp	x8, _names_lh@GOTPAGE
Lloh6:
	ldr	x8, [x8, _names_lh@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_lh_OBJ_NAME_delete
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.2:
Lloh8:
	adrp	x20, _name_funcs_stack@GOTPAGE
Lloh9:
	ldr	x20, [x20, _name_funcs_stack@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_sk_NAME_FUNCS_num
	ldrsw	x1, [x19, #8]
	cmp	x0, x1
	b.le	LBB0_5
; %bb.4:
	ldr	x0, [x20]
	bl	_sk_NAME_FUNCS_value
	ldr	x8, [x0]
	ldr	x0, [x19]
	ldp	w1, w2, [x19, #8]
                                        ; kill: def $w1 killed $w1 def $x1
	sxtw	x1, w1
	blr	x8
LBB0_5:
	mov	x0, x19
	bl	_OPENSSL_free
	mov	w19, #1
LBB0_6:
	ldr	w0, [x21]
	bl	_CRYPTO_THREAD_unlock
	b	LBB0_8
LBB0_7:
	mov	w19, #0
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_obj_lock,4,2                   ; @obj_lock
	.comm	_OBJ_NAME_ALIAS,4,2             ; @OBJ_NAME_ALIAS
	.comm	_names_lh,4,2                   ; @names_lh
	.comm	_name_funcs_stack,8,3           ; @name_funcs_stack
.subsections_via_symbols
