	.file	"extr_resrc.c_define_user_data.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	define_user_data
	.type	define_user_data, @function
define_user_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, r9
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, r8
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 80
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	test	rdx, rdx
	jne	.L2
	lea	eax, -128[rcx]
	cmp	eax, 7
	ja	.L2
	lea	rdx, .L4[rip]
	mov	rcx, r9
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	mov	rdx, r8
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR [r12]
	mov	QWORD PTR 16[rsp], rdx
	lea	rdx, 16[rsp]
	mov	QWORD PTR 24[rsp], rcx
	xor	ecx, ecx
	mov	QWORD PTR 32[rsp], rdi
	lea	rdi, resources[rip]
	mov	QWORD PTR 40[rsp], rsi
	mov	esi, 3
	mov	QWORD PTR 48[rsp], 0
	mov	DWORD PTR 56[rsp], eax
	call	define_resource@PLT
	mov	edi, 32
	mov	rbx, rax
	mov	eax, DWORD PTR RES_TYPE_USERDATA[rip]
	mov	DWORD PTR 16[rbx], eax
	call	res_alloc@PLT
	mov	edx, DWORD PTR RCDATA_BUFFER[rip]
	lea	rsi, 12[rsp]
	mov	rdi, r13
	mov	QWORD PTR 8[rbx], rax
	mov	DWORD PTR 16[rax], edx
	mov	QWORD PTR 24[rax], 0
	call	rcdata_render_as_buffer@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	r8, rax
	mov	rax, QWORD PTR 8[rbx]
	mov	DWORD PTR 8[rax], edx
	mov	QWORD PTR [rax], r8
	mov	eax, DWORD PTR [r12]
	mov	DWORD PTR [rbx], eax
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L17
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L5:
	.cfi_restore_state
	call	define_cursor_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	call	define_bitmap_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	call	define_messagetable_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	call	define_icon_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	call	define_group_icon_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	call	define_group_cursor_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	call	define_fontdir_rcdata@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	call	define_font_rcdata@PLT
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	define_user_data, .-define_user_data
	.comm	resources,4,4
	.comm	RES_TYPE_USERDATA,4,4
	.comm	RCDATA_BUFFER,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_resrc.c_define_user_data.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	define_user_data
	.syntax unified
	.arm
	.fpu softvfp
	.type	define_user_data, %function
define_user_data:
	@ args = 8, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	sub	sp, sp, #52
	mov	lr, sp
	stm	lr, {r2, r3}
	ldr	r3, .L18
	add	ip, sp, #8
	cmp	r2, #0
	ldr	r3, [r3]
	str	r3, [sp, #44]
	mov	r3,#0
	ldr	r5, [sp, #72]
	stm	ip, {r0, r1}
	ldr	r6, [sp, #76]
	bne	.L2
	ldr	r3, [sp, #4]
	sub	r3, r3, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L2:
	mov	r7, #0
	ldm	lr, {r0, r1}
	add	r2, sp, #20
	stm	r2, {r0, r1}
	ldm	ip, {r0, r1}
	add	r3, sp, #28
	ldr	ip, [r5]
	stm	r3, {r0, r1}
	mov	r1, #3
	mov	r3, r7
	ldr	r0, .L18+4
	str	ip, [sp, #40]
	str	r7, [sp, #36]
	bl	define_resource
	mov	r4, r0
	ldr	r3, .L18+8
	mov	r0, #16
	ldr	r3, [r3]
	str	r3, [r4, #8]
	bl	res_alloc
	mov	r2, r0
	ldr	r3, .L18+12
	str	r0, [r4, #4]
	ldr	r3, [r3]
	str	r7, [r0, #12]
	add	r1, sp, #16
	str	r3, [r2, #8]
	mov	r0, r6
	bl	rcdata_render_as_buffer
	ldr	r2, [r5]
	ldr	r1, [sp, #16]
	ldr	r3, [r4, #4]
	stm	r3, {r0, r1}
	str	r2, [r4]
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L3:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_bitmap_rcdata
	b	.L1
.L11:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_messagetable_rcdata
	b	.L1
.L10:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_icon_rcdata
	b	.L1
.L9:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_group_icon_rcdata
	b	.L1
.L8:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_group_cursor_rcdata
	b	.L1
.L7:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_fontdir_rcdata
	b	.L1
.L6:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_font_rcdata
	b	.L1
.L5:
	mov	r3, r6
	ldm	ip, {r0, r1}
	mov	r2, r5
	bl	define_cursor_rcdata
	b	.L1
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	resources
	.word	RES_TYPE_USERDATA
	.word	RCDATA_BUFFER
	.size	define_user_data, .-define_user_data
	.comm	resources,4,4
	.comm	RES_TYPE_USERDATA,4,4
	.comm	RCDATA_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
