	.file	"extr_ngx_radix_tree.c_ngx_radix32tree_delete.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ngx_radix32tree_delete
	.type	ngx_radix32tree_delete, @function
ngx_radix32tree_delete:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 8[rdi]
	test	rax, rax
	je	.L2
	test	edx, edx
	jns	.L3
	mov	ecx, -2147483648
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L27:
	test	edx, ecx
	je	.L3
.L5:
	mov	r8, QWORD PTR 16[rax]
	test	esi, ecx
	cmovne	r8, QWORD PTR 24[rax]
	sar	ecx
	mov	rax, r8
	test	r8, r8
	jne	.L27
.L2:
	mov	eax, DWORD PTR NGX_ERROR[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	QWORD PTR 24[rax], 0
	mov	rcx, QWORD PTR NGX_RADIX_NO_VALUE[rip]
	je	.L28
.L15:
	cmp	QWORD PTR [rax], rcx
	je	.L2
	mov	QWORD PTR [rax], rcx
	mov	eax, DWORD PTR NGX_OK[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L28:
	cmp	QWORD PTR 16[rax], 0
	jne	.L15
	mov	r8, QWORD PTR [rdi]
	mov	rdx, QWORD PTR 8[rax]
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L8:
	mov	QWORD PTR 16[rdx], 0
.L9:
	mov	QWORD PTR 24[rax], r8
	cmp	QWORD PTR 24[rdx], 0
	jne	.L10
	cmp	QWORD PTR 16[rdx], 0
	jne	.L10
	cmp	QWORD PTR [rdx], rcx
	jne	.L10
	mov	rsi, QWORD PTR 8[rdx]
	mov	r8, rax
	test	rsi, rsi
	je	.L10
	mov	rax, rdx
	mov	rdx, rsi
.L14:
	cmp	QWORD PTR 24[rdx], rax
	jne	.L8
	mov	QWORD PTR 24[rdx], 0
	jmp	.L9
.L10:
	mov	QWORD PTR [rdi], rax
	mov	eax, DWORD PTR NGX_OK[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	ngx_radix32tree_delete, .-ngx_radix32tree_delete
	.comm	NGX_RADIX_NO_VALUE,8,8
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.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_ngx_radix_tree.c_ngx_radix32tree_delete.c"
	.text
	.align	2
	.global	ngx_radix32tree_delete
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_radix32tree_delete, %function
ngx_radix32tree_delete:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, #0
	beq	.L27
	cmp	r2, #0
	push	{r4, lr}
	bge	.L3
	mov	ip, #-2147483648
	b	.L5
.L31:
	tst	r2, ip
	beq	.L3
.L5:
	ldr	lr, [r3, #8]
	tst	r1, ip
	ldr	r3, [r3, #12]
	moveq	r3, lr
	cmp	r3, #0
	asr	ip, ip, #1
	bne	.L31
.L2:
	ldr	r3, .L34
	ldr	r0, [r3]
	pop	{r4, pc}
.L3:
	ldr	r1, [r3, #12]
	ldr	r2, .L34+4
	cmp	r1, #0
	ldr	r1, [r2]
	beq	.L32
.L15:
	ldr	r2, [r3]
	cmp	r2, r1
	beq	.L2
	ldr	r2, .L34+8
	str	r1, [r3]
	ldr	r0, [r2]
	pop	{r4, pc}
.L32:
	ldr	r4, [r3, #8]
	cmp	r4, #0
	bne	.L15
	ldr	lr, [r0]
	ldr	r2, [r3, #4]
	b	.L14
.L33:
	ldr	ip, [r2, #8]
	cmp	ip, #0
	bne	.L10
	ldr	ip, [r2]
	cmp	ip, r1
	bne	.L10
	ldr	ip, [r2, #4]
	mov	lr, r3
	cmp	ip, #0
	beq	.L10
	mov	r3, r2
	mov	r2, ip
.L14:
	ldr	ip, [r2, #12]
	cmp	ip, r3
	streq	r4, [r2, #12]
	strne	r4, [r2, #8]
	str	lr, [r3, #12]
	ldr	ip, [r2, #12]
	cmp	ip, #0
	beq	.L33
.L10:
	str	r3, [r0]
	ldr	r3, .L34+8
	ldr	r0, [r3]
	pop	{r4, pc}
.L27:
	ldr	r3, .L34
	ldr	r0, [r3]
	bx	lr
.L35:
	.align	2
.L34:
	.word	NGX_ERROR
	.word	NGX_RADIX_NO_VALUE
	.word	NGX_OK
	.size	ngx_radix32tree_delete, .-ngx_radix32tree_delete
	.comm	NGX_RADIX_NO_VALUE,4,4
	.comm	NGX_OK,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
