	.file	"extr_zil.c_zil_free_log_record.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zil_free_log_record, @function
zil_free_log_record:
.LFB0:
	.cfi_startproc
	endbr64
	test	rcx, rcx
	je	.L12
	mov	rax, QWORD PTR [rsi]
	cmp	QWORD PTR TX_WRITE[rip], rax
	jne	.L12
	cmp	rax, rcx
	jge	.L16
.L12:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, rdi
	sub	rsp, 16
	.cfi_def_cfa_offset 32
	mov	QWORD PTR [rsp], rsi
	mov	QWORD PTR 8[rsp], rdx
	call	zil_bp_tree_add@PLT
	mov	rsi, QWORD PTR [rsp]
	test	rax, rax
	je	.L17
.L3:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	rdi, rsi
	call	BP_IS_HOLE@PLT
	mov	rdx, QWORD PTR 8[rsp]
	test	eax, eax
	jne	.L3
	mov	rdi, rdx
	call	dmu_tx_get_txg@PLT
	mov	rsi, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rbx]
	mov	rdx, rsi
	mov	esi, eax
	call	zio_free@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	zil_free_log_record, .-zil_free_log_record
	.comm	TX_WRITE,8,8
	.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_zil.c_zil_free_log_record.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zil_free_log_record, %function
zil_free_log_record:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #0
	beq	.L9
	push	{r4, r5, lr}
	ldr	lr, .L14
	ldr	ip, [r1]
	ldr	lr, [lr]
	mov	r5, r1
	cmp	ip, r3
	cmpge	lr, ip
	sub	sp, sp, #12
	beq	.L13
.L3:
	mov	r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	mov	r0, #0
	bx	lr
.L13:
	mov	r4, r0
	str	r2, [sp, #4]
	bl	zil_bp_tree_add
	cmp	r0, #0
	bne	.L3
	mov	r0, r5
	bl	BP_IS_HOLE
	cmp	r0, #0
	ldr	r2, [sp, #4]
	bne	.L3
	mov	r0, r2
	ldr	r4, [r4]
	bl	dmu_tx_get_txg
	mov	r2, r5
	mov	r1, r0
	mov	r0, r4
	bl	zio_free
	b	.L3
.L15:
	.align	2
.L14:
	.word	TX_WRITE
	.size	zil_free_log_record, .-zil_free_log_record
	.comm	TX_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
