	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSO_up_ref                     ## -- Begin function DSO_up_ref
	.p2align	4, 0x90
_DSO_up_ref:                            ## @DSO_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_3
## %bb.1:
	movl	(%rdi), %edx
	addq	$4, %rdi
	leaq	-4(%rbp), %rsi
	callq	_CRYPTO_UP_REF
	testq	%rax, %rax
	jle	LBB0_4
## %bb.2:
	movq	_r@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_REF_PRINT_COUNT
	xorl	%edi, %edi
	cmpl	$2, -4(%rbp)
	setl	%dil
	callq	_REF_ASSERT_ISNT
	xorl	%eax, %eax
	cmpl	$2, -4(%rbp)
	setge	%al
	jmp	LBB0_5
LBB0_3:
	movq	_DSO_F_DSO_UP_REF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_PASSED_NULL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_DSOerr
LBB0_4:
	xorl	%eax, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSO_F_DSO_UP_REF,4,2           ## @DSO_F_DSO_UP_REF
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ## @ERR_R_PASSED_NULL_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DSO"

	.comm	_r,4,2                          ## @r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_DSO_up_ref                     ; -- Begin function DSO_up_ref
	.p2align	2
_DSO_up_ref:                            ; @DSO_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_3
; %bb.1:
	ldr	w2, [x0], #4
	sub	x1, x29, #4
	bl	_CRYPTO_UP_REF
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _r@GOTPAGE
Lloh1:
	ldr	x8, [x8, _r@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_REF_PRINT_COUNT
	ldur	w8, [x29, #-4]
	cmp	w8, #2
	cset	w0, lt
	bl	_REF_ASSERT_ISNT
	ldur	w8, [x29, #-4]
	cmp	w8, #1
	cset	w0, gt
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _DSO_F_DSO_UP_REF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DSO_F_DSO_UP_REF@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_PASSED_NULL_PARAMETER@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_DSOerr
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DSO_F_DSO_UP_REF,4,2           ; @DSO_F_DSO_UP_REF
	.comm	_ERR_R_PASSED_NULL_PARAMETER,4,2 ; @ERR_R_PASSED_NULL_PARAMETER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DSO"

	.comm	_r,4,2                          ; @r
.subsections_via_symbols
