	.file	"extr_dsl_pool.c_dsl_pool_create_obsolete_bpobj.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dsl_pool_create_obsolete_bpobj
	.type	dsl_pool_create_obsolete_bpobj, @function
dsl_pool_create_obsolete_bpobj:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR SPA_FEATURE_DEVICE_REMOVAL[rip]
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	spa_feature_is_active@PLT
	mov	edi, eax
	call	ASSERT@PLT
	mov	edi, DWORD PTR 4[rbx]
	mov	esi, DWORD PTR SPA_OLD_MAXBLOCKSIZE[rip]
	mov	rdx, r12
	call	bpobj_alloc@PLT
	mov	esi, DWORD PTR 4[rbx]
	lea	rdi, 8[rbx]
	mov	edx, eax
	mov	DWORD PTR 4[rsp], eax
	call	bpobj_open@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	mov	edi, DWORD PTR 4[rbx]
	mov	ecx, 4
	push	r12
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR DMU_POOL_OBSOLETE_BPOBJ[rip]
	mov	r8d, 1
	mov	esi, DWORD PTR DMU_POOL_DIRECTORY_OBJECT[rip]
	lea	r9, 20[rsp]
	call	zap_add@PLT
	mov	edi, eax
	call	VERIFY0@PLT
	mov	esi, DWORD PTR SPA_FEATURE_OBSOLETE_COUNTS[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r12
	call	spa_feature_incr@PLT
	pop	rax
	.cfi_def_cfa_offset 56
	pop	rdx
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dsl_pool_create_obsolete_bpobj, .-dsl_pool_create_obsolete_bpobj
	.comm	SPA_OLD_MAXBLOCKSIZE,4,4
	.comm	SPA_FEATURE_OBSOLETE_COUNTS,4,4
	.comm	SPA_FEATURE_DEVICE_REMOVAL,4,4
	.comm	DMU_POOL_OBSOLETE_BPOBJ,4,4
	.comm	DMU_POOL_DIRECTORY_OBJECT,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_dsl_pool.c_dsl_pool_create_obsolete_bpobj.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dsl_pool_create_obsolete_bpobj
	.syntax unified
	.arm
	.fpu softvfp
	.type	dsl_pool_create_obsolete_bpobj, %function
dsl_pool_create_obsolete_bpobj:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L6
	sub	sp, sp, #28
	ldr	r1, [r3]
	ldr	r3, .L6+4
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	spa_feature_is_active
	bl	ASSERT
	ldr	r3, .L6+8
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r4, #4]
	bl	bpobj_alloc
	mov	r2, r0
	ldr	r1, [r4, #4]
	add	r0, r4, #8
	str	r2, [sp, #16]
	bl	bpobj_open
	bl	VERIFY0
	mov	ip, #1
	str	r5, [sp, #8]
	ldr	r2, .L6+12
	ldr	r1, .L6+16
	ldr	r0, [r4, #4]
	add	r3, sp, #16
	str	ip, [sp]
	ldr	r2, [r2]
	ldr	r1, [r1]
	str	r3, [sp, #4]
	mov	r3, #4
	bl	zap_add
	bl	VERIFY0
	ldr	r3, .L6+20
	mov	r2, r5
	ldr	r1, [r3]
	ldr	r0, [r4]
	bl	spa_feature_incr
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	SPA_FEATURE_DEVICE_REMOVAL
	.word	.LC0
	.word	SPA_OLD_MAXBLOCKSIZE
	.word	DMU_POOL_OBSOLETE_BPOBJ
	.word	DMU_POOL_DIRECTORY_OBJECT
	.word	SPA_FEATURE_OBSOLETE_COUNTS
	.size	dsl_pool_create_obsolete_bpobj, .-dsl_pool_create_obsolete_bpobj
	.comm	SPA_OLD_MAXBLOCKSIZE,4,4
	.comm	SPA_FEATURE_OBSOLETE_COUNTS,4,4
	.comm	SPA_FEATURE_DEVICE_REMOVAL,4,4
	.comm	DMU_POOL_OBSOLETE_BPOBJ,4,4
	.comm	DMU_POOL_DIRECTORY_OBJECT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
