	.file	"extr_libzfs_input_check.c_test_recv_new.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s@replicant"
.LC1:
	.string	"could not read stream: %s\n"
.LC2:
	.string	"snapname"
.LC3:
	.string	"begin_record"
.LC4:
	.string	"input_fd"
.LC5:
	.string	"September 17th, 2013"
.LC6:
	.string	"org.openzfs:launch"
.LC7:
	.string	"localprops"
.LC8:
	.string	"force"
.LC9:
	.string	"cleanup_fd"
	.text
	.p2align 4
	.type	test_recv_new, @function
test_recv_new:
.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
	.cfi_offset 15, -24
	mov	r15d, esi
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -72[rbp], rdi
	mov	rbx, rsp
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -60[rbp], 0
	call	fnvlist_alloc@PLT
	mov	r12, rax
	xor	eax, eax
	call	fnvlist_alloc@PLT
	mov	r13, rax
	xor	eax, eax
	call	fnvlist_alloc@PLT
	mov	r14, rax
	mov	eax, DWORD PTR MAXNAMELEN[rip]
	lea	r8d, 32[rax]
	movsx	rax, r8d
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rbx, rax
	and	rdx, -16
	mov	rax, rbx
	cmp	rsp, rax
	je	.L3
.L15:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L15
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L16
.L4:
	mov	esi, DWORD PTR O_RDWR[rip]
	mov	edi, DWORD PTR ZFS_DEV[rip]
	mov	r9, rsp
	mov	DWORD PTR -80[rbp], r8d
	mov	QWORD PTR -88[rbp], r9
	call	open@PLT
	mov	r8d, DWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rdi, rsp
	lea	rdx, .LC0[rip]
	mov	ebx, eax
	mov	esi, r8d
	call	snprintf@PLT
	lea	rax, -60[rbp]
	xor	ecx, ecx
	mov	edx, 4
	mov	rsi, rax
	mov	edi, r15d
	mov	QWORD PTR -80[rbp], rax
	call	pread@PLT
	mov	r9, QWORD PTR -88[rbp]
	cmp	eax, 4
	jne	.L17
.L5:
	mov	rdx, r9
	lea	rsi, .LC2[rip]
	mov	rdi, r12
	call	fnvlist_add_string@PLT
	mov	rdx, QWORD PTR -80[rbp]
	mov	ecx, 4
	mov	rdi, r12
	lea	rsi, .LC3[rip]
	call	fnvlist_add_byte_array@PLT
	mov	edx, r15d
	lea	rsi, .LC4[rip]
	mov	rdi, r12
	call	fnvlist_add_int32@PLT
	lea	rdx, .LC5[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, r14
	call	fnvlist_add_string@PLT
	mov	rdx, r14
	lea	rsi, .LC7[rip]
	mov	rdi, r13
	call	fnvlist_add_nvlist@PLT
	lea	rsi, .LC8[rip]
	mov	rdi, r13
	call	fnvlist_add_boolean@PLT
	mov	edx, ebx
	lea	rsi, .LC9[rip]
	mov	rdi, r13
	call	fnvlist_add_int32@PLT
	mov	rsi, QWORD PTR -72[rbp]
	mov	rcx, r13
	mov	rdx, r12
	mov	r8d, DWORD PTR EBADE[rip]
	mov	edi, DWORD PTR ZFS_IOC_RECV_NEW[rip]
	call	IOC_INPUT_TEST@PLT
	mov	rdi, r14
	call	nvlist_free@PLT
	mov	rdi, r13
	call	nvlist_free@PLT
	mov	rdi, r12
	call	nvlist_free@PLT
	mov	edi, ebx
	call	close@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -40[rbp]
	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
.L17:
	.cfi_restore_state
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdx, rax
	call	fprintf@PLT
	mov	r9, QWORD PTR -88[rbp]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_recv_new, .-test_recv_new
	.comm	stderr,4,4
	.comm	recvdprops,8,8
	.comm	origin,8,8
	.comm	errno,4,4
	.comm	action_handle,8,8
	.comm	ZFS_IOC_RECV_NEW,4,4
	.comm	ZFS_DEV,4,4
	.comm	O_RDWR,4,4
	.comm	MAXNAMELEN,4,4
	.comm	EBADE,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_libzfs_input_check.c_test_recv_new.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s@replicant\000"
	.align	2
.LC1:
	.ascii	"could not read stream: %s\012\000"
	.align	2
.LC2:
	.ascii	"snapname\000"
	.align	2
.LC3:
	.ascii	"begin_record\000"
	.align	2
.LC4:
	.ascii	"input_fd\000"
	.align	2
.LC5:
	.ascii	"September 17th, 2013\000"
	.align	2
.LC6:
	.ascii	"org.openzfs:launch\000"
	.align	2
.LC7:
	.ascii	"localprops\000"
	.align	2
.LC8:
	.ascii	"force\000"
	.align	2
.LC9:
	.ascii	"cleanup_fd\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_recv_new, %function
test_recv_new:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #28
	ldr	r3, .L10
	mov	r9, r1
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, #0
	mov	r8, r0
	str	r3, [fp, #-44]
	bl	fnvlist_alloc
	mov	r4, r0
	bl	fnvlist_alloc
	mov	r5, r0
	bl	fnvlist_alloc
	ldr	r3, .L10+4
	mov	r6, r0
	ldr	r3, [r3]
	ldr	r1, .L10+8
	add	r2, r3, #39
	ldr	r0, .L10+12
	bic	r2, r2, #7
	sub	sp, sp, r2
	ldr	r1, [r1]
	ldr	r0, [r0]
	add	r7, r3, #32
	bl	open
	mov	ip, r0
	add	r10, sp, #8
	mov	r1, r7
	mov	r3, r8
	ldr	r2, .L10+16
	mov	r0, r10
	mov	r7, ip
	bl	snprintf
	mov	r3, #0
	mov	r0, r9
	mov	r2, #4
	sub	r1, fp, #44
	bl	pread
	cmp	r0, #4
	beq	.L2
	ldr	r3, .L10+20
	ldr	r2, .L10+24
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r3, [fp, #-48]
	bl	strerror
	ldr	r3, [fp, #-48]
	mov	r2, r0
	ldr	r1, .L10+28
	mov	r0, r3
	bl	fprintf
.L2:
	mov	r2, r10
	ldr	r1, .L10+32
	mov	r0, r4
	bl	fnvlist_add_string
	mov	r3, #4
	ldr	r1, .L10+36
	sub	r2, fp, #44
	mov	r0, r4
	bl	fnvlist_add_byte_array
	mov	r2, r9
	ldr	r1, .L10+40
	mov	r0, r4
	bl	fnvlist_add_int32
	ldr	r2, .L10+44
	ldr	r1, .L10+48
	mov	r0, r6
	bl	fnvlist_add_string
	mov	r2, r6
	ldr	r1, .L10+52
	mov	r0, r5
	bl	fnvlist_add_nvlist
	ldr	r1, .L10+56
	mov	r0, r5
	bl	fnvlist_add_boolean
	mov	r2, r7
	ldr	r1, .L10+60
	mov	r0, r5
	bl	fnvlist_add_int32
	ldr	r2, .L10+64
	ldr	r3, .L10+68
	ldr	r2, [r2]
	mov	r1, r8
	str	r2, [sp]
	ldr	r0, [r3]
	mov	r2, r4
	mov	r3, r5
	bl	IOC_INPUT_TEST
	mov	r0, r6
	bl	nvlist_free
	mov	r0, r5
	bl	nvlist_free
	mov	r0, r4
	bl	nvlist_free
	mov	r0, r7
	bl	close
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC10
	.word	MAXNAMELEN
	.word	O_RDWR
	.word	ZFS_DEV
	.word	.LC0
	.word	stderr
	.word	errno
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	EBADE
	.word	ZFS_IOC_RECV_NEW
	.size	test_recv_new, .-test_recv_new
	.comm	stderr,4,4
	.comm	recvdprops,4,4
	.comm	origin,4,4
	.comm	errno,4,4
	.comm	action_handle,4,4
	.comm	ZFS_IOC_RECV_NEW,4,4
	.comm	ZFS_DEV,4,4
	.comm	O_RDWR,4,4
	.comm	MAXNAMELEN,4,4
	.comm	EBADE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
