	.file	"extr_memfd_test.c_test_seal_resize.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s SEAL-RESIZE\n"
.LC1:
	.string	"kern_memfd_seal_resize"
	.text
	.p2align 4
	.type	test_seal_resize, @function
test_seal_resize:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rsi, QWORD PTR memfd_str[rip]
	lea	rdi, .LC0[rip]
	call	printf@PLT
	mov	esi, DWORD PTR mfd_def_size[rip]
	mov	edx, DWORD PTR MFD_CLOEXEC[rip]
	lea	rdi, .LC1[rip]
	or	edx, DWORD PTR MFD_ALLOW_SEALING[rip]
	call	mfd_assert_new@PLT
	xor	esi, esi
	mov	ebp, eax
	mov	edi, eax
	call	mfd_assert_has_seals@PLT
	mov	edi, ebp
	mov	esi, DWORD PTR F_SEAL_SHRINK[rip]
	or	esi, DWORD PTR F_SEAL_GROW[rip]
	call	mfd_assert_add_seals@PLT
	mov	edi, ebp
	mov	esi, DWORD PTR F_SEAL_SHRINK[rip]
	or	esi, DWORD PTR F_SEAL_GROW[rip]
	call	mfd_assert_has_seals@PLT
	mov	edi, ebp
	call	mfd_assert_read@PLT
	mov	edi, ebp
	call	mfd_assert_write@PLT
	mov	edi, ebp
	call	mfd_fail_shrink@PLT
	mov	edi, ebp
	call	mfd_fail_grow@PLT
	mov	edi, ebp
	call	mfd_fail_grow_write@PLT
	mov	edi, ebp
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	close@PLT
	.cfi_endproc
.LFE0:
	.size	test_seal_resize, .-test_seal_resize
	.comm	mfd_def_size,4,4
	.comm	memfd_str,8,8
	.comm	MFD_CLOEXEC,4,4
	.comm	MFD_ALLOW_SEALING,4,4
	.comm	F_SEAL_SHRINK,4,4
	.comm	F_SEAL_GROW,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_memfd_test.c_test_seal_resize.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s SEAL-RESIZE\012\000"
	.align	2
.LC1:
	.ascii	"kern_memfd_seal_resize\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_seal_resize, %function
test_seal_resize:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L4
	push	{r4, r5, r6, lr}
	ldr	r1, [r3]
	ldr	r0, .L4+4
	bl	printf
	ldr	r2, .L4+8
	ldr	r3, .L4+12
	ldr	r1, [r2]
	ldr	r2, [r3]
	ldr	r3, .L4+16
	orr	r2, r1, r2
	ldr	r0, .L4+20
	ldr	r1, [r3]
	bl	mfd_assert_new
	mov	r4, r0
	ldr	r6, .L4+24
	ldr	r5, .L4+28
	mov	r1, #0
	bl	mfd_assert_has_seals
	ldr	r3, [r5]
	ldr	r1, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	mfd_assert_add_seals
	ldr	r3, [r5]
	ldr	r1, [r6]
	mov	r0, r4
	orr	r1, r1, r3
	bl	mfd_assert_has_seals
	mov	r0, r4
	bl	mfd_assert_read
	mov	r0, r4
	bl	mfd_assert_write
	mov	r0, r4
	bl	mfd_fail_shrink
	mov	r0, r4
	bl	mfd_fail_grow
	mov	r0, r4
	bl	mfd_fail_grow_write
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	close
.L5:
	.align	2
.L4:
	.word	memfd_str
	.word	.LC0
	.word	MFD_CLOEXEC
	.word	MFD_ALLOW_SEALING
	.word	mfd_def_size
	.word	.LC1
	.word	F_SEAL_SHRINK
	.word	F_SEAL_GROW
	.size	test_seal_resize, .-test_seal_resize
	.comm	mfd_def_size,4,4
	.comm	memfd_str,4,4
	.comm	MFD_CLOEXEC,4,4
	.comm	MFD_ALLOW_SEALING,4,4
	.comm	F_SEAL_SHRINK,4,4
	.comm	F_SEAL_GROW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
