	.file	"extr_siw_mem.c_siw_mem_add.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"new MEM object\n"
	.text
	.p2align 4
	.globl	siw_mem_add
	.type	siw_mem_add, @function
siw_mem_add:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	mov	edi, 1
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	mov	esi, 16777215
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbx, 4[rsp]
	call	XA_LIMIT@PLT
	mov	esi, 4
	mov	rdi, rbx
	mov	r13d, eax
	call	get_random_bytes@PLT
	mov	rsi, rsp
	mov	r8, rbx
	mov	ecx, r13d
	mov	r9d, DWORD PTR GFP_KERNEL[rip]
	mov	rdx, rbp
	mov	rdi, r12
	and	DWORD PTR 4[rsp], 16777215
	call	xa_alloc_cyclic@PLT
	test	rax, rax
	js	.L7
	mov	eax, DWORD PTR [rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	sal	eax, 8
	mov	DWORD PTR 0[rbp], eax
	call	siw_dbg_mem@PLT
	xor	eax, eax
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	eax, DWORD PTR ENOMEM[rip]
	neg	eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	siw_mem_add, .-siw_mem_add
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_siw_mem.c_siw_mem_add.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"new MEM object\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	siw_mem_add
	.syntax unified
	.arm
	.fpu softvfp
	.type	siw_mem_add, %function
siw_mem_add:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L9
	sub	sp, sp, #28
	mov	r5, r0
	mov	r4, r1
	mov	r0, #1
	mvn	r1, #-16777216
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	XA_LIMIT
	mov	r6, r0
	add	r7, sp, #16
	mov	r1, #4
	mov	r0, r7
	bl	get_random_bytes
	ldr	r3, .L9+4
	ldr	ip, [sp, #16]
	ldr	r1, [r3]
	bic	ip, ip, #-16777216
	str	r1, [sp, #4]
	mov	r3, r6
	mov	r0, r5
	mov	r2, r4
	str	r7, [sp]
	add	r1, sp, #12
	str	ip, [sp, #16]
	bl	xa_alloc_cyclic
	cmp	r0, #0
	blt	.L7
	ldr	r3, [sp, #12]
	mov	r0, r4
	lsl	r3, r3, #8
	ldr	r1, .L9+8
	str	r3, [r4]
	bl	siw_dbg_mem
	mov	r0, #0
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L9+12
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	GFP_KERNEL
	.word	.LC0
	.word	ENOMEM
	.size	siw_mem_add, .-siw_mem_add
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
