	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_mem_debug_realloc       ## -- Begin function CRYPTO_mem_debug_realloc
	.p2align	4, 0x90
_CRYPTO_mem_debug_realloc:              ## @CRYPTO_mem_debug_realloc
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	cmpl	$1, %ecx
	jne	LBB0_7
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	xorl	%eax, %eax
	callq	_mem_check_on
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	_CRYPTO_MEM_CHECK_DISABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
	movq	%r15, -40(%rbp)
	movq	_mh@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	-56(%rbp), %rsi
	callq	_lh_MEM_delete
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %r15
	movq	%rbx, 16(%rax)
	movq	%r14, (%rax)
	movl	8(%rax), %ebx
	movl	%ebx, %edi
	callq	_OSSL_NELEM
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_backtrace
	movl	%eax, 12(%r15)
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_lh_MEM_insert
LBB0_6:
	movq	_CRYPTO_MEM_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
LBB0_7:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$129, %edx
	movq	%r8, %rcx
	movl	%r9d, %r8d
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CRYPTO_mem_debug_malloc        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CRYPTO_MEM_CHECK_DISABLE,4,2   ## @CRYPTO_MEM_CHECK_DISABLE
	.comm	_mh,4,2                         ## @mh
	.comm	_CRYPTO_MEM_CHECK_ENABLE,4,2    ## @CRYPTO_MEM_CHECK_ENABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CRYPTO_mem_debug_realloc       ; -- Begin function CRYPTO_mem_debug_realloc
	.p2align	2
_CRYPTO_mem_debug_realloc:              ; @CRYPTO_mem_debug_realloc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cbz	x1, LBB0_7
; %bb.1:
	cmp	w3, #1
	b.ne	LBB0_7
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	cbz	x0, LBB0_8
; %bb.3:
	bl	_mem_check_on
	cbz	w0, LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _CRYPTO_MEM_CHECK_DISABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_DISABLE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
	str	x21, [sp, #24]
Lloh3:
	adrp	x22, _mh@GOTPAGE
Lloh4:
	ldr	x22, [x22, _mh@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x1, sp, #8
	bl	_lh_MEM_delete
	cbz	x0, LBB0_6
; %bb.5:
	mov	x21, x0
	str	x20, [x0, #16]
	str	x19, [x0]
	ldr	w19, [x0, #8]
	mov	x0, x19
	bl	_OSSL_NELEM
	mov	x1, x0
	mov	x0, x19
	bl	_backtrace
	str	w0, [x21, #12]
	ldr	w0, [x22]
	mov	x1, x21
	bl	_lh_MEM_insert
LBB0_6:
Lloh5:
	adrp	x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ENABLE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #129
	mov	x3, x4
	mov	x4, x5
	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
	add	sp, sp, #80
	b	_CRYPTO_mem_debug_malloc
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CRYPTO_MEM_CHECK_DISABLE,4,2   ; @CRYPTO_MEM_CHECK_DISABLE
	.comm	_mh,4,2                         ; @mh
	.comm	_CRYPTO_MEM_CHECK_ENABLE,4,2    ; @CRYPTO_MEM_CHECK_ENABLE
.subsections_via_symbols
