	.file	"extr_zfs_ioctl.c_zfs_ioc_recv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zfs_ioc_recv, @function
zfs_ioc_recv:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR ZFS_MAX_DATASET_NAME_LEN[rip]
	mov	rbx, rsp
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	r13, rax
	add	rax, 15
	mov	QWORD PTR -88[rbp], 0
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L31:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L31
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L32
.L4:
	mov	rdi, QWORD PTR [r12]
	xor	edx, edx
	xor	esi, esi
	mov	r14, rsp
	call	dataset_namecheck@PLT
	test	rax, rax
	jne	.L7
	mov	rdi, QWORD PTR [r12]
	mov	esi, 64
	call	strchr@PLT
	test	rax, rax
	je	.L7
	mov	rdi, QWORD PTR [r12]
	mov	esi, 37
	call	strchr@PLT
	mov	r15, rax
	test	rax, rax
	je	.L33
.L7:
	mov	edi, DWORD PTR EINVAL[rip]
	call	SET_ERROR@PLT
	mov	r13d, eax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L34
	lea	rsp, -40[rbp]
	mov	eax, r13d
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rsi, QWORD PTR [r12]
	mov	edx, r13d
	mov	rdi, rsp
	call	strlcpy@PLT
	mov	rdi, rsp
	mov	esi, 64
	call	strchr@PLT
	mov	BYTE PTR [rax], 0
	mov	rdi, QWORD PTR 8[r12]
	lea	rbx, 1[rax]
	test	rdi, rdi
	jne	.L8
.L11:
	mov	rdi, QWORD PTR 16[r12]
	test	rdi, rdi
	jne	.L35
.L10:
	mov	rax, QWORD PTR 24[r12]
	mov	r8, QWORD PTR -88[rbp]
	mov	rsi, rbx
	mov	rdi, r14
	mov	rcx, QWORD PTR -96[rbp]
	cmp	BYTE PTR [rax], 0
	mov	QWORD PTR -72[rbp], 0
	cmovne	r15, rax
	mov	eax, DWORD PTR DRR_BEGIN[rip]
	sub	rsp, 8
	xor	r9d, r9d
	mov	DWORD PTR -64[rbp], eax
	mov	eax, DWORD PTR 56[r12]
	mov	rdx, r15
	mov	DWORD PTR -80[rbp], eax
	lea	rax, -104[rbp]
	push	rax
	lea	rax, 36[r12]
	push	rax
	lea	rax, 40[r12]
	push	rax
	lea	rax, 44[r12]
	push	rax
	mov	eax, DWORD PTR 48[r12]
	push	rax
	lea	rax, -80[rbp]
	push	rax
	mov	eax, DWORD PTR 44[r12]
	push	rax
	mov	eax, DWORD PTR B_FALSE[rip]
	push	rax
	mov	eax, DWORD PTR 52[r12]
	push	rax
	call	zfs_ioc_recv_impl@PLT
	mov	rdi, QWORD PTR -96[rbp]
	add	rsp, 80
	mov	r13d, eax
	call	nvlist_free@PLT
	mov	rdi, QWORD PTR -88[rbp]
	call	nvlist_free@PLT
	mov	esi, DWORD PTR 32[r12]
	test	esi, esi
	je	.L29
	mov	rdi, QWORD PTR -104[rbp]
	test	rdi, rdi
	je	.L15
	call	nvlist_smush@PLT
	test	rax, rax
	jne	.L16
	mov	rsi, QWORD PTR -104[rbp]
	mov	rdi, r12
	call	put_nvlist@PLT
	test	rax, rax
	je	.L29
.L16:
	mov	edi, DWORD PTR EINVAL[rip]
	call	SET_ERROR@PLT
	mov	r13d, eax
.L29:
	mov	rdi, QWORD PTR -104[rbp]
.L15:
	call	nvlist_free@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	edx, DWORD PTR 60[r12]
	mov	esi, DWORD PTR 68[r12]
	lea	rcx, -96[rbp]
	call	get_nvlist@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L11
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L35:
	mov	edx, DWORD PTR 60[r12]
	mov	esi, DWORD PTR 64[r12]
	lea	rcx, -88[rbp]
	call	get_nvlist@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L10
	jmp	.L1
.L34:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfs_ioc_recv, .-zfs_ioc_recv
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	EINVAL,4,4
	.comm	DRR_BEGIN,4,4
	.comm	B_FALSE,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_zfs_ioctl.c_zfs_ioc_recv.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfs_ioc_recv, %function
zfs_ioc_recv:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #84
	mov	r2, #0
	ldr	r3, .L28
	mov	r4, r0
	ldr	r5, [r3]
	mov	r1, r2
	add	r3, r5, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L28+4
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	str	r2, [fp, #-56]
	str	r2, [fp, #-52]
	str	r2, [fp, #-48]
	bl	dataset_namecheck
	cmp	r0, #0
	bne	.L4
	mov	r1, #64
	ldr	r0, [r4]
	bl	strchr
	cmp	r0, #0
	beq	.L4
	mov	r1, #37
	ldr	r0, [r4]
	bl	strchr
	subs	r7, r0, #0
	beq	.L25
.L4:
	ldr	r3, .L28+8
	ldr	r0, [r3]
	bl	SET_ERROR
	mov	r5, r0
.L1:
	ldr	r3, .L28+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r5
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L25:
	add	r6, sp, #48
	mov	r2, r5
	ldr	r1, [r4]
	mov	r0, r6
	bl	strlcpy
	mov	r1, #64
	mov	r0, r6
	bl	strchr
	mov	r8, r0
	strb	r7, [r8], #1
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L5
.L8:
	ldr	r0, [r4, #8]
	cmp	r0, #0
	bne	.L27
.L7:
	mov	r3, #0
	ldr	r1, .L28+12
	ldr	r2, [r4, #12]
	ldr	lr, [r1]
	ldrb	ip, [r2]	@ zero_extendqisi2
	str	lr, [sp, #12]
	ldr	lr, [r4, #32]
	cmp	ip, r3
	ldr	ip, .L28+16
	mov	r1, r8
	ldr	ip, [ip]
	str	r3, [sp, #4]
	str	lr, [sp, #24]
	ldr	lr, [r4, #36]
	ldr	r5, [r4, #28]
	str	lr, [sp, #8]
	ldr	lr, [fp, #-48]
	str	r5, [sp, #16]
	str	ip, [fp, #-36]
	ldr	ip, [r4, #40]
	str	lr, [sp]
	add	lr, r4, #28
	str	lr, [sp, #28]
	sub	lr, fp, #44
	moveq	r2, r7
	str	lr, [sp, #20]
	sub	r5, fp, #56
	add	lr, r4, #20
	str	r3, [fp, #-40]
	str	ip, [fp, #-44]
	ldr	r3, [fp, #-52]
	add	ip, r4, #24
	mov	r0, r6
	str	lr, [sp, #36]
	str	ip, [sp, #32]
	str	r5, [sp, #40]
	bl	zfs_ioc_recv_impl
	mov	r5, r0
	ldr	r0, [fp, #-52]
	bl	nvlist_free
	ldr	r0, [fp, #-48]
	bl	nvlist_free
	ldr	r1, [r4, #16]
	cmp	r1, #0
	beq	.L23
	ldr	r0, [fp, #-56]
	cmp	r0, #0
	beq	.L12
	bl	nvlist_smush
	cmp	r0, #0
	bne	.L13
	mov	r0, r4
	ldr	r1, [fp, #-56]
	bl	put_nvlist
	cmp	r0, #0
	beq	.L23
.L13:
	ldr	r3, .L28+8
	ldr	r0, [r3]
	bl	SET_ERROR
	mov	r5, r0
.L23:
	ldr	r0, [fp, #-56]
.L12:
	bl	nvlist_free
	b	.L1
.L5:
	ldr	r2, [r4, #44]
	ldr	r1, [r4, #52]
	sub	r3, fp, #52
	bl	get_nvlist
	subs	r5, r0, #0
	beq	.L8
	b	.L1
.L27:
	ldr	r2, [r4, #44]
	ldr	r1, [r4, #48]
	sub	r3, fp, #48
	bl	get_nvlist
	subs	r5, r0, #0
	beq	.L7
	b	.L1
.L26:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	ZFS_MAX_DATASET_NAME_LEN
	.word	.LC0
	.word	EINVAL
	.word	B_FALSE
	.word	DRR_BEGIN
	.size	zfs_ioc_recv, .-zfs_ioc_recv
	.comm	ZFS_MAX_DATASET_NAME_LEN,4,4
	.comm	EINVAL,4,4
	.comm	DRR_BEGIN,4,4
	.comm	B_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
