	.file	"extr_rb532_button.c_rb532_button_pressed.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rb532_button_pressed, @function
rb532_button_pressed:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	esi, DWORD PTR LO_FOFF[rip]
	xor	edi, edi
	call	set_latch_u5@PLT
	mov	edi, DWORD PTR GPIO_BTN_S1[rip]
	call	gpio_direction_input@PLT
	mov	edi, DWORD PTR GPIO_BTN_S1[rip]
	call	gpio_get_value@PLT
	mov	edi, DWORD PTR GPIO_BTN_S1[rip]
	mov	ebx, eax
	call	rb532_gpio_set_func@PLT
	mov	edi, DWORD PTR LO_FOFF[rip]
	xor	esi, esi
	call	set_latch_u5@PLT
	xor	eax, eax
	test	ebx, ebx
	pop	rbx
	.cfi_def_cfa_offset 8
	sete	al
	ret
	.cfi_endproc
.LFE0:
	.size	rb532_button_pressed, .-rb532_button_pressed
	.comm	LO_FOFF,4,4
	.comm	GPIO_BTN_S1,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_rb532_button.c_rb532_button_pressed.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rb532_button_pressed, %function
rb532_button_pressed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r6, .L4
	ldr	r5, .L4+4
	ldr	r1, [r6]
	mov	r0, #0
	bl	set_latch_u5
	ldr	r0, [r5]
	bl	gpio_direction_input
	ldr	r0, [r5]
	bl	gpio_get_value
	mov	r4, r0
	ldr	r0, [r5]
	bl	rb532_gpio_set_func
	mov	r1, #0
	ldr	r0, [r6]
	bl	set_latch_u5
	clz	r0, r4
	lsr	r0, r0, #5
	pop	{r4, r5, r6, pc}
.L5:
	.align	2
.L4:
	.word	LO_FOFF
	.word	GPIO_BTN_S1
	.size	rb532_button_pressed, .-rb532_button_pressed
	.comm	LO_FOFF,4,4
	.comm	GPIO_BTN_S1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
