	.file	"extr_t_zset.c_zslDeleteNode.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zslDeleteNode
	.type	zslDeleteNode, @function
zslDeleteNode:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r10d, DWORD PTR [rdi]
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	r11, QWORD PTR 8[rsi]
	test	r10d, r10d
	jle	.L8
	lea	r9d, -1[r10]
	xor	eax, eax
	add	r9, 1
	sal	r9, 4
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	sub	r8d, 1
	add	rax, 16
	add	rdx, 8
	mov	DWORD PTR [rcx], r8d
	cmp	rax, r9
	je	.L8
.L7:
	mov	rcx, QWORD PTR [rdx]
	mov	r8, QWORD PTR 8[rcx]
	add	r8, rax
	mov	rcx, r8
	mov	r8d, DWORD PTR [r8]
	cmp	QWORD PTR 8[rcx], rsi
	jne	.L5
	mov	ebx, DWORD PTR [r11+rax]
	add	rdx, 8
	lea	r8d, -1[r8+rbx]
	mov	DWORD PTR [rcx], r8d
	mov	r8, QWORD PTR 8[r11+rax]
	add	rax, 16
	mov	QWORD PTR 8[rcx], r8
	cmp	rax, r9
	jne	.L7
.L8:
	mov	rax, QWORD PTR 8[r11]
	mov	edx, DWORD PTR [rsi]
	test	rax, rax
	je	.L19
	mov	DWORD PTR [rax], edx
.L9:
	cmp	r10d, 1
	jle	.L12
	mov	rax, QWORD PTR 8[rdi]
	movsx	rdx, r10d
	lea	esi, -2[r10]
	sub	rdx, 2
	mov	rcx, QWORD PTR [rax]
	lea	eax, -1[r10]
	sub	rdx, rsi
	cdqe
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	mov	DWORD PTR [rdi], eax
	sub	rax, 1
	cmp	rdx, rax
	je	.L12
.L11:
	cmp	QWORD PTR [rcx+rax*8], 0
	je	.L13
.L12:
	sub	DWORD PTR 4[rdi], 1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	mov	DWORD PTR 16[rdi], edx
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	zslDeleteNode, .-zslDeleteNode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_t_zset.c_zslDeleteNode.c"
	.text
	.align	2
	.global	zslDeleteNode
	.syntax unified
	.arm
	.fpu softvfp
	.type	zslDeleteNode, %function
zslDeleteNode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, [r0]
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	cmp	ip, #0
	ldr	r8, [r1, #4]
	subgt	lr, r2, #4
	movgt	r3, #0
	addgt	r7, lr, ip, lsl #2
	addgt	r9, r8, #4
	ble	.L8
.L7:
	ldr	r2, [lr, #4]!
	ldr	r2, [r2, #4]
	add	r5, r2, r3
	ldr	r6, [r5, #4]
	ldr	r4, [r2, r3]
	cmp	r6, r1
	ldreq	r6, [r8, r3]
	ldreq	r10, [r9, r3]
	subeq	r6, r6, #1
	addeq	r4, r6, r4
	subne	r4, r4, #1
	streq	r4, [r2, r3]
	strne	r4, [r2, r3]
	streq	r10, [r5, #4]
	cmp	lr, r7
	add	r3, r3, #8
	bne	.L7
.L8:
	ldr	r3, [r8, #4]
	ldr	r2, [r1]
	cmp	r3, #0
	strne	r2, [r3]
	beq	.L23
.L9:
	cmp	ip, #1
	ble	.L12
	ldr	r3, [r0, #8]
	sub	r1, ip, #-1073741823
	ldr	r2, [r3]
	sub	r3, ip, #1
	add	r2, r2, r1, lsl #2
	b	.L11
.L13:
	str	r3, [r0]
	subs	r3, r3, #1
	beq	.L12
.L11:
	ldr	r1, [r2], #-4
	cmp	r1, #0
	beq	.L13
.L12:
	ldr	r3, [r0, #4]
	sub	r3, r3, #1
	str	r3, [r0, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	str	r2, [r0, #12]
	b	.L9
	.size	zslDeleteNode, .-zslDeleteNode
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
