	.file	"294244.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"fromHoriz"
.LC1:
	.string	"resizable"
.LC2:
	.string	"fromVert"
	.text
	.globl	AddButtons
	.type	AddButtons, @function
AddButtons:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	DWORD PTR -44[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L7:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	test	rax, rax
	je	.L9
	cmp	DWORD PTR -4[rbp], 0
	je	.L5
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -40[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR 32[rax]
	jmp	.L6
.L5:
	mov	ecx, 0
.L6:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	r8, QWORD PTR 8[rax]
	mov	rsi, QWORD PTR commandWidgetClass[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	push	0
	push	1
	lea	rdi, .LC1[rip]
	push	rdi
	push	QWORD PTR -32[rbp]
	lea	rdi, .LC2[rip]
	push	rdi
	push	rcx
	lea	r9, .LC0[rip]
	lea	rcx, XtStrings[rip+429]
	mov	rdi, rax
	mov	eax, 0
	call	XtVaCreateManagedWidget@PLT
	add	rsp, 48
	movsx	rcx, eax
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, rcx
	mov	QWORD PTR 32[rax], rdx
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 3
	mov	rcx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR 16[rax]
	mov	rsi, rax
	lea	rdi, XtStrings[rip+136]
	mov	eax, 0
	call	XtAddCallback@PLT
	jmp	.L4
.L9:
	nop
.L4:
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -44[rbp], eax
	ja	.L7
	mov	eax, DWORD PTR -44[rbp]
	sub	eax, 1
	mov	edx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 32[rax]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	AddButtons, .-AddButtons
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"294244.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"resizable\000"
	.align	2
.LC1:
	.ascii	"fromVert\000"
	.align	2
.LC2:
	.ascii	"fromHoriz\000"
	.text
	.align	2
	.global	AddButtons
	.syntax unified
	.arm
	.fpu softvfp
	.type	AddButtons, %function
AddButtons:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L7:
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L9
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r3, .L10
	ldr	ip, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L5
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #20
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	b	.L6
.L5:
	mov	r3, #0
.L6:
	mov	r2, #0
	str	r2, [sp, #28]
	mov	r2, #1
	str	r2, [sp, #24]
	ldr	r2, .L10+4
	str	r2, [sp, #20]
	ldr	r2, [fp, #-20]
	str	r2, [sp, #16]
	ldr	r2, .L10+8
	str	r2, [sp, #12]
	str	r3, [sp, #8]
	ldr	r3, .L10+12
	str	r3, [sp, #4]
	str	r1, [sp]
	ldr	r3, .L10+16
	ldr	r2, [fp, #-16]
	mov	r1, ip
	bl	XtVaCreateManagedWidget
	mov	r1, r0
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	mov	r2, r1
	str	r2, [r3, #16]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r1, [r3, #8]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldr	r3, [r3, #12]
	mov	r2, r3
	ldr	r0, .L10+20
	bl	XtAddCallback
	b	.L4
.L9:
	nop
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bhi	.L7
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #20
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r3, [r3, #16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	commandWidgetClass
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	XtStrings+429
	.word	XtStrings+136
	.size	AddButtons, .-AddButtons
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
