	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_up_ref                  ## -- Begin function ENGINE_up_ref
	.p2align	4, 0x90
_ENGINE_up_ref:                         ## @ENGINE_up_ref
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	_global_engine_lock@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(%rbp), %rsi
	callq	_CRYPTO_UP_REF
	movl	$1, %eax
	jmp	LBB0_3
LBB0_1:
	movq	_ENGINE_F_ENGINE_UP_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ENGINEerr
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENGINE_F_ENGINE_UP_REF,4,2     ## @ENGINE_F_ENGINE_UP_REF
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.comm	_global_engine_lock,4,2         ## @global_engine_lock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ENGINE_up_ref                  ; -- Begin function ENGINE_up_ref
	.p2align	2
_ENGINE_up_ref:                         ; @ENGINE_up_ref
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _global_engine_lock@GOTPAGE
Lloh1:
	ldr	x8, [x8, _global_engine_lock@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x1, x29, #4
	bl	_CRYPTO_UP_REF
	mov	w0, #1
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _ENGINE_F_ENGINE_UP_REF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENGINE_F_ENGINE_UP_REF@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_ENGINEerr
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENGINE_F_ENGINE_UP_REF,4,2     ; @ENGINE_F_ENGINE_UP_REF
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.comm	_global_engine_lock,4,2         ; @global_engine_lock
.subsections_via_symbols
