	.file	"extr_extent.c_extent_dalloc_wrapper_try.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	extent_dalloc_wrapper_try, @function
extent_dalloc_wrapper_try:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	extent_base_get@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	assert@PLT
	mov	rdi, r12
	call	extent_size_get@PLT
	xor	edi, edi
	test	rax, rax
	setne	dil
	call	assert@PLT
	mov	r14d, DWORD PTR WITNESS_RANK_CORE[rip]
	mov	rdi, rbp
	call	tsdn_witness_tsdp_get@PLT
	xor	edx, edx
	mov	esi, r14d
	mov	edi, eax
	call	witness_assert_depth_to_rank@PLT
	mov	rdi, r12
	call	extent_base_get@PLT
	mov	rdi, r12
	mov	rsi, rax
	call	extent_addr_set@PLT
	mov	rsi, rbx
	mov	rdi, r13
	call	extent_hooks_assure_initialized@PLT
	lea	rax, extent_hooks_default[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L15
	mov	rsi, r13
	mov	rdi, rbp
	call	extent_hook_pre_reentrancy@PLT
	mov	rax, QWORD PTR [rbx]
	mov	r14, QWORD PTR [rax]
	test	r14, r14
	je	.L5
	mov	rdi, r13
	call	arena_ind_get@PLT
	mov	rdi, r12
	mov	DWORD PTR 12[rsp], eax
	call	extent_committed_get@PLT
	mov	rdi, r12
	mov	DWORD PTR 8[rsp], eax
	call	extent_size_get@PLT
	mov	rdi, r12
	mov	r15, rax
	call	extent_base_get@PLT
	mov	r8d, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR [rbx]
	mov	rdx, r15
	mov	ecx, DWORD PTR 8[rsp]
	mov	rsi, rax
	call	r14
	test	rax, rax
	je	.L6
.L5:
	mov	rdi, rbp
	call	extent_hook_post_reentrancy@PLT
	mov	eax, 1
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	rdi, r12
	call	extent_size_get@PLT
	mov	rdi, r12
	mov	r14, rax
	call	extent_base_get@PLT
	mov	rsi, r14
	mov	rdi, rax
	call	extent_dalloc_default_impl@PLT
	test	eax, eax
	jne	.L1
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	extent_dalloc@PLT
	xor	eax, eax
.L16:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, rbp
	call	extent_hook_post_reentrancy@PLT
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	call	extent_dalloc@PLT
	xor	eax, eax
	jmp	.L16
	.cfi_endproc
.LFE0:
	.size	extent_dalloc_wrapper_try, .-extent_dalloc_wrapper_try
	.comm	extent_hooks_default,8,8
	.comm	WITNESS_RANK_CORE,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_extent.c_extent_dalloc_wrapper_try.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	extent_dalloc_wrapper_try, %function
extent_dalloc_wrapper_try:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	sub	sp, sp, #12
	mov	r0, r3
	mov	r4, r3
	mov	r6, r2
	mov	r7, r1
	bl	extent_base_get
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r0, r4
	bl	extent_size_get
	subs	r0, r0, #0
	movne	r0, #1
	bl	assert
	mov	r0, r5
	bl	tsdn_witness_tsdp_get
	ldr	r3, .L16
	mov	r2, #0
	ldr	r1, [r3]
	bl	witness_assert_depth_to_rank
	mov	r0, r4
	bl	extent_base_get
	mov	r1, r0
	mov	r0, r4
	bl	extent_addr_set
	mov	r1, r6
	mov	r0, r7
	bl	extent_hooks_assure_initialized
	ldr	r2, [r6]
	ldr	r3, .L16+4
	cmp	r2, r3
	beq	.L15
	mov	r1, r7
	mov	r0, r5
	bl	extent_hook_pre_reentrancy
	ldr	r8, [r6]
	ldr	r6, [r8]
	cmp	r6, #0
	beq	.L5
	mov	r0, r4
	bl	extent_base_get
	mov	r9, r0
	mov	r0, r4
	bl	extent_size_get
	mov	r10, r0
	mov	r0, r4
	bl	extent_committed_get
	mov	fp, r0
	mov	r0, r7
	bl	arena_ind_get
	mov	r3, fp
	str	r0, [sp]
	mov	r2, r10
	mov	r1, r9
	mov	r0, r8
	blx	r6
	cmp	r0, #0
	beq	.L6
.L5:
	mov	r0, r5
	bl	extent_hook_post_reentrancy
	mov	r0, #1
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r0, r4
	bl	extent_base_get
	mov	r6, r0
	mov	r0, r4
	bl	extent_size_get
	mov	r1, r0
	mov	r0, r6
	bl	extent_dalloc_default_impl
	cmp	r0, #0
	bne	.L1
.L3:
	mov	r2, r4
	mov	r1, r7
	mov	r0, r5
	bl	extent_dalloc
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
	mov	r0, r5
	bl	extent_hook_post_reentrancy
	b	.L3
.L17:
	.align	2
.L16:
	.word	WITNESS_RANK_CORE
	.word	extent_hooks_default
	.size	extent_dalloc_wrapper_try, .-extent_dalloc_wrapper_try
	.comm	extent_hooks_default,4,4
	.comm	WITNESS_RANK_CORE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
