	.file	"extr_pager.c_PAGER_DrawButton.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"rc = %s, btnState = %d\n"
	.text
	.p2align 4
	.type	PAGER_DrawButton, @function
PAGER_DrawButton:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	lea	rdi, 48[rsp]
	call	wine_dbgstr_rect@PLT
	mov	edx, ebx
	lea	rdi, .LC0[rip]
	mov	esi, eax
	call	TRACE@PLT
	cmp	DWORD PTR PGF_INVISIBLE[rip], ebx
	je	.L1
	mov	rax, QWORD PTR 48[rsp]
	sub	rax, QWORD PTR 56[rsp]
	test	rax, rax
	jle	.L1
	mov	rax, QWORD PTR 64[rsp]
	sub	rax, QWORD PTR 72[rsp]
	test	rax, rax
	jle	.L1
	test	r13, r13
	je	.L3
	mov	ecx, DWORD PTR DFCS_SCROLLLEFT[rip]
	test	r12, r12
	cmove	ecx, DWORD PTR DFCS_SCROLLRIGHT[rip]
	cmp	ebx, 130
	je	.L7
.L13:
	cmp	ebx, 131
	je	.L8
	cmp	ebx, 128
	je	.L12
.L9:
	mov	edx, DWORD PTR DFC_SCROLL[rip]
	lea	rsi, 48[rsp]
	mov	edi, ebp
	call	DrawFrameControl@PLT
.L1:
	add	rsp, 8
	.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
.L3:
	.cfi_restore_state
	mov	ecx, DWORD PTR DFCS_SCROLLUP[rip]
	test	r12, r12
	cmove	ecx, DWORD PTR DFCS_SCROLLDOWN[rip]
	cmp	ebx, 130
	jne	.L13
.L7:
	mov	eax, DWORD PTR DFCS_INACTIVE[rip]
	or	eax, DWORD PTR DFCS_FLAT[rip]
	or	ecx, eax
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	or	ecx, DWORD PTR DFCS_FLAT[rip]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	or	ecx, DWORD PTR DFCS_PUSHED[rip]
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	PAGER_DrawButton, .-PAGER_DrawButton
	.comm	PGF_INVISIBLE,4,4
	.comm	DFC_SCROLL,4,4
	.comm	DFCS_SCROLLUP,4,4
	.comm	DFCS_SCROLLRIGHT,4,4
	.comm	DFCS_SCROLLLEFT,4,4
	.comm	DFCS_SCROLLDOWN,4,4
	.comm	DFCS_PUSHED,4,4
	.comm	DFCS_INACTIVE,4,4
	.comm	DFCS_FLAT,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_pager.c_PAGER_DrawButton.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"rc = %s, btnState = %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PAGER_DrawButton, %function
PAGER_DrawButton:
	@ args = 28, pretend = 8, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, lr}
	add	r4, sp, #16
	mov	r6, r0
	mov	r0, r4
	stm	r4, {r2, r3}
	ldr	r5, [sp, #40]
	bl	wine_dbgstr_rect
	mov	r2, r5
	mov	r1, r0
	ldr	r0, .L14
	bl	TRACE
	ldr	r3, .L14+4
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L1
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #20]
	sub	r3, r3, r2
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #24]
	ldr	r2, [sp, #28]
	sub	r3, r3, r2
	cmp	r3, #0
	ble	.L1
	ldr	r3, [sp, #32]
	cmp	r3, #0
	ldr	r3, [sp, #36]
	beq	.L3
	cmp	r3, #0
	ldrne	r3, .L14+8
	ldreq	r3, .L14+12
	cmp	r5, #130
	ldr	r3, [r3]
	beq	.L7
.L13:
	cmp	r5, #131
	beq	.L8
	cmp	r5, #128
	beq	.L12
.L9:
	ldr	r2, .L14+16
	mov	r1, r4
	mov	r0, r6
	ldr	r2, [r2]
	bl	DrawFrameControl
.L1:
	pop	{r4, r5, r6, lr}
	add	sp, sp, #8
	bx	lr
.L3:
	cmp	r3, #0
	ldrne	r3, .L14+20
	ldreq	r3, .L14+24
	cmp	r5, #130
	ldr	r3, [r3]
	bne	.L13
.L7:
	ldr	r2, .L14+28
	ldr	r1, .L14+32
	ldr	r2, [r2]
	ldr	r1, [r1]
	orr	r2, r2, r1
	orr	r3, r3, r2
	b	.L9
.L12:
	ldr	r2, .L14+32
	ldr	r2, [r2]
	orr	r3, r3, r2
	b	.L9
.L8:
	ldr	r2, .L14+36
	ldr	r2, [r2]
	orr	r3, r3, r2
	b	.L9
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	PGF_INVISIBLE
	.word	DFCS_SCROLLLEFT
	.word	DFCS_SCROLLRIGHT
	.word	DFC_SCROLL
	.word	DFCS_SCROLLUP
	.word	DFCS_SCROLLDOWN
	.word	DFCS_INACTIVE
	.word	DFCS_FLAT
	.word	DFCS_PUSHED
	.size	PAGER_DrawButton, .-PAGER_DrawButton
	.comm	PGF_INVISIBLE,4,4
	.comm	DFC_SCROLL,4,4
	.comm	DFCS_SCROLLUP,4,4
	.comm	DFCS_SCROLLRIGHT,4,4
	.comm	DFCS_SCROLLLEFT,4,4
	.comm	DFCS_SCROLLDOWN,4,4
	.comm	DFCS_PUSHED,4,4
	.comm	DFCS_INACTIVE,4,4
	.comm	DFCS_FLAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
