	.file	"extr_usrmarshal.c_test_marshal_HBRUSH.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"CreateBrushIndirect failed\n"
.LC1:
	.string	"Wrong size %d\n"
.LC2:
	.string	"got %p buffer %p\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"Context should be WDT_INPROC_CALL instead of 0x%08x\n"
	.align 8
.LC4:
	.string	"Marshaled value should be %p instead of %x\n"
	.section	.rodata.str1.1
.LC5:
	.string	"Didn't unmarshal properly\n"
	.text
	.p2align 4
	.type	test_marshal_HBRUSH, @function
test_marshal_HBRUSH:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	edx, edx
	xor	esi, esi
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 88
	.cfi_def_cfa_offset 144
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR BS_SOLID[rip]
	lea	rbp, 24[rsp]
	lea	r14, 28[rsp]
	lea	r13, 20[rsp]
	lea	r15, 32[rsp]
	mov	DWORD PTR 60[rsp], eax
	call	RGB@PLT
	lea	rdi, 48[rsp]
	mov	QWORD PTR 48[rsp], 0
	mov	DWORD PTR 56[rsp], eax
	call	CreateBrushIndirect@PLT
	xor	edi, edi
	lea	rsi, .LC0[rip]
	test	rax, rax
	mov	QWORD PTR 32[rsp], rax
	setne	dil
	xor	eax, eax
	call	ok@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, r14
	mov	r9d, DWORD PTR MSHCTX_LOCAL[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	init_user_marshal_cb@PLT
	mov	rdx, r15
	mov	esi, 1
	mov	rdi, rbp
	call	HBRUSH_UserSize@PLT
	xor	edi, edi
	lea	rsi, .LC1[rip]
	cmp	eax, 28
	mov	ebx, eax
	mov	edx, eax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetProcessHeap@PLT
	mov	edx, ebx
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	r8d, ebx
	mov	rdx, r14
	mov	rsi, r13
	mov	r9d, DWORD PTR MSHCTX_LOCAL[rip]
	mov	r12, rax
	mov	rcx, rax
	mov	rdi, rbp
	call	init_user_marshal_cb@PLT
	lea	r10, 1[r12]
	mov	rdx, r15
	mov	rdi, rbp
	mov	rsi, r10
	mov	QWORD PTR 8[rsp], r10
	lea	r15, 28[r12]
	call	HBRUSH_UserMarshal@PLT
	xor	edi, edi
	mov	rcx, r12
	lea	rsi, .LC2[rip]
	cmp	r15, rax
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	edx, DWORD PTR 20[r12]
	xor	edi, edi
	cmp	DWORD PTR WDT_INPROC_CALL[rip], edx
	sete	dil
	lea	rsi, .LC3[rip]
	xor	eax, eax
	call	ok@PLT
	mov	rdx, QWORD PTR 32[rsp]
	xor	edi, edi
	mov	ecx, DWORD PTR 12[r12]
	cmp	QWORD PTR 4[r12], rdx
	lea	rsi, .LC4[rip]
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	r8d, ebx
	mov	rcx, r12
	mov	rdx, r14
	mov	r9d, DWORD PTR MSHCTX_LOCAL[rip]
	mov	rsi, r13
	mov	rdi, rbp
	lea	rbx, 40[rsp]
	call	init_user_marshal_cb@PLT
	mov	r10, QWORD PTR 8[rsp]
	mov	rdx, rbx
	mov	rdi, rbp
	mov	rsi, r10
	call	HBRUSH_UserUnmarshal@PLT
	xor	edi, edi
	mov	rcx, r12
	lea	rsi, .LC2[rip]
	cmp	r15, rax
	mov	rdx, rax
	sete	dil
	xor	eax, eax
	call	ok@PLT
	mov	rax, QWORD PTR 40[rsp]
	xor	edi, edi
	cmp	QWORD PTR 32[rsp], rax
	sete	dil
	lea	rsi, .LC5[rip]
	xor	eax, eax
	call	ok@PLT
	xor	eax, eax
	call	GetProcessHeap@PLT
	xor	esi, esi
	mov	rdx, r12
	mov	edi, eax
	call	HeapFree@PLT
	xor	r8d, r8d
	xor	ecx, ecx
	mov	rdx, r14
	mov	r9d, DWORD PTR MSHCTX_LOCAL[rip]
	mov	rsi, r13
	mov	rdi, rbp
	call	init_user_marshal_cb@PLT
	mov	rsi, rbx
	mov	rdi, rbp
	call	HBRUSH_UserFree@PLT
	mov	rdi, QWORD PTR 32[rsp]
	call	DeleteObject@PLT
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 88
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	test_marshal_HBRUSH, .-test_marshal_HBRUSH
	.comm	WDT_INPROC_CALL,4,4
	.comm	MSHCTX_LOCAL,4,4
	.comm	BS_SOLID,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_usrmarshal.c_test_marshal_HBRUSH.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"CreateBrushIndirect failed\012\000"
	.align	2
.LC1:
	.ascii	"Wrong size %d\012\000"
	.align	2
.LC2:
	.ascii	"got %p buffer %p\012\000"
	.align	2
.LC3:
	.ascii	"Context should be WDT_INPROC_CALL instead of 0x%08x"
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"Marshaled value should be %p instead of %x\012\000"
	.align	2
.LC5:
	.ascii	"Didn't unmarshal properly\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_marshal_HBRUSH, %function
test_marshal_HBRUSH:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r2, #0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L6
	ldr	ip, .L6+4
	ldr	r3, [r3]
	sub	sp, sp, #52
	mov	r1, r2
	mov	r0, r2
	ldr	ip, [ip]
	str	ip, [sp, #44]
	mov	ip,#0
	mov	r5, r2
	str	r3, [sp, #40]
	bl	RGB
	mov	r3, r0
	add	r0, sp, #32
	str	r3, [sp, #36]
	str	r5, [sp, #32]
	bl	CreateBrushIndirect
	mov	r3, r0
	ldr	r7, .L6+8
	subs	r0, r0, r5
	movne	r0, #1
	ldr	r1, .L6+12
	str	r3, [sp, #16]
	bl	ok
	ldr	r3, [r7]
	add	r2, sp, #28
	str	r3, [sp, #4]
	add	r1, sp, #12
	mov	r3, r5
	str	r5, [sp]
	add	r0, sp, #24
	bl	init_user_marshal_cb
	mov	r1, #1
	add	r2, sp, #16
	add	r0, sp, #24
	bl	HBRUSH_UserSize
	mov	r6, r0
	mov	r2, r0
	sub	r0, r0, #16
	clz	r0, r0
	ldr	r1, .L6+16
	lsr	r0, r0, #5
	bl	ok
	bl	GetProcessHeap
	mov	r2, r6
	mov	r1, r5
	bl	HeapAlloc
	mov	r4, r0
	ldr	r2, [r7]
	mov	r3, r0
	str	r2, [sp, #4]
	add	r1, sp, #12
	add	r2, sp, #28
	add	r9, r4, #1
	str	r6, [sp]
	add	r0, sp, #24
	bl	init_user_marshal_cb
	mov	r1, r9
	add	r2, sp, #16
	add	r0, sp, #24
	bl	HBRUSH_UserMarshal
	add	r8, r4, #16
	mov	r2, r0
	sub	r0, r8, r0
	clz	r0, r0
	mov	r3, r4
	ldr	r1, .L6+20
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, .L6+24
	ldr	r2, [r4, #12]
	ldr	r0, [r3]
	ldr	r1, .L6+28
	sub	r0, r0, r2
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [sp, #16]
	ldr	r0, [r4, #4]
	ldr	r3, [r4, #8]
	sub	r0, r0, r2
	clz	r0, r0
	ldr	r1, .L6+32
	lsr	r0, r0, #5
	bl	ok
	ldr	r2, [r7]
	mov	r3, r4
	str	r2, [sp, #4]
	add	r1, sp, #12
	add	r2, sp, #28
	str	r6, [sp]
	add	r0, sp, #24
	bl	init_user_marshal_cb
	mov	r1, r9
	add	r2, sp, #20
	add	r0, sp, #24
	bl	HBRUSH_UserUnmarshal
	mov	r2, r0
	sub	r0, r8, r0
	clz	r0, r0
	mov	r3, r4
	ldr	r1, .L6+20
	lsr	r0, r0, #5
	bl	ok
	ldr	r3, [sp, #20]
	ldr	r0, [sp, #16]
	ldr	r1, .L6+36
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ok
	bl	GetProcessHeap
	mov	r2, r4
	mov	r1, r5
	bl	HeapFree
	ldr	r3, [r7]
	add	r2, sp, #28
	str	r3, [sp, #4]
	add	r1, sp, #12
	mov	r3, r5
	str	r5, [sp]
	add	r0, sp, #24
	bl	init_user_marshal_cb
	add	r1, sp, #20
	add	r0, sp, #24
	bl	HBRUSH_UserFree
	ldr	r0, [sp, #16]
	bl	DeleteObject
	ldr	r3, .L6+4
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	BS_SOLID
	.word	.LC6
	.word	MSHCTX_LOCAL
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	WDT_INPROC_CALL
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	test_marshal_HBRUSH, .-test_marshal_HBRUSH
	.comm	WDT_INPROC_CALL,4,4
	.comm	MSHCTX_LOCAL,4,4
	.comm	BS_SOLID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
