	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_data_del                       ## -- Begin function data_del
	.p2align	4, 0x90
_data_del:                              ## @data_del
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	callq	_data_get_local_id_by_id
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_data_get_pos_by_local_id
	testl	%eax, %eax
	js	LBB0_7
## %bb.3:
	movl	%eax, %ebx
	movq	_del@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r13), %r12
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_PERM
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.5:
	movq	_get_i@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	decl	%ebx
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_PERM
	movl	%eax, %esi
	jmp	LBB0_6
LBB0_1:
	movl	$-1, %r12d
	jmp	LBB0_9
LBB0_4:
	movl	$-1, %esi
LBB0_6:
	movq	%r13, %rdi
	movl	%r14d, %edx
	callq	_data_restore_append
LBB0_7:
	leaq	8(%r13), %rdi
	movl	%r15d, %esi
	movl	$-1, %edx
	callq	_lookup_set
	leaq	4(%r13), %rdi
	xorl	%r12d, %r12d
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_lookup_set
	incl	%r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_map_int_vptr_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_DATA_FUNC
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	movq	%rbx, %rsi
	callq	*(%rax)
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_map_int_vptr_del
LBB0_9:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_del,4,2                        ## @del
	.comm	_get_i,4,2                      ## @get_i
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_data_del                       ; -- Begin function data_del
	.p2align	2
_data_del:                              ; @data_del
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_data_get_local_id_by_id
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x19
	mov	x1, x21
	bl	_data_get_pos_by_local_id
	tbnz	w0, #31, LBB0_7
; %bb.2:
	mov	x22, x0
Lloh0:
	adrp	x8, _del@GOTPAGE
Lloh1:
	ldr	x8, [x8, _del@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x23, x19, #12
	mov	x1, x23
	mov	x2, x22
	bl	_PERM
	cbz	w22, LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _get_i@GOTPAGE
Lloh4:
	ldr	x8, [x8, _get_i@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	sub	w2, w22, #1
	mov	x1, x23
	bl	_PERM
	mov	x1, x0
	b	LBB0_6
LBB0_4:
	mov	w0, #-1
	b	LBB0_9
LBB0_5:
	mov	w1, #-1
LBB0_6:
	mov	x0, x19
	mov	x2, x21
	bl	_data_restore_append
LBB0_7:
	add	x0, x19, #8
	mov	x1, x20
	mov	w2, #-1
	bl	_lookup_set
	add	x0, x19, #4
	mov	x1, x20
	mov	w2, #0
	bl	_lookup_set
	add	w20, w21, #1
	mov	x0, x19
	mov	x1, x20
	bl	_map_int_vptr_get
	cbz	x0, LBB0_9
; %bb.8:
	mov	x21, x0
	mov	x0, x19
	bl	_DATA_FUNC
	ldr	x8, [x0]
	mov	x0, #0
	mov	x1, x21
	blr	x8
	mov	x0, x19
	mov	x1, x20
	bl	_map_int_vptr_del
	mov	w0, #0
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_del,4,2                        ; @del
	.comm	_get_i,4,2                      ; @get_i
.subsections_via_symbols
