	.file	"extr_test_sd.c_sd_test_board_power_on.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sd_test_board_power_on, @function
sd_test_board_power_on:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR GPIO_MODE_OUTPUT[rip]
	mov	edi, DWORD PTR SD_TEST_BOARD_VSEL_GPIO[rip]
	call	gpio_set_direction@PLT
	mov	esi, DWORD PTR SD_TEST_BOARD_VSEL_3V3[rip]
	mov	edi, DWORD PTR SD_TEST_BOARD_VSEL_GPIO[rip]
	call	gpio_set_level@PLT
	mov	esi, DWORD PTR GPIO_MODE_OUTPUT[rip]
	mov	edi, DWORD PTR SD_TEST_BOARD_VSEL_EN_GPIO[rip]
	call	gpio_set_direction@PLT
	mov	edi, DWORD PTR SD_TEST_BOARD_VSEL_EN_GPIO[rip]
	xor	esi, esi
	call	gpio_set_level@PLT
	imul	edi, DWORD PTR SD_TEST_BOARD_PWR_RST_DELAY_MS[rip], 1000
	call	usleep@PLT
	mov	edi, DWORD PTR SD_TEST_BOARD_VSEL_EN_GPIO[rip]
	mov	esi, 1
	call	gpio_set_level@PLT
	imul	edi, DWORD PTR SD_TEST_BOARD_PWR_ON_DELAY_MS[rip], 1000
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	usleep@PLT
	.cfi_endproc
.LFE0:
	.size	sd_test_board_power_on, .-sd_test_board_power_on
	.comm	SD_TEST_BOARD_VSEL_GPIO,4,4
	.comm	SD_TEST_BOARD_VSEL_EN_GPIO,4,4
	.comm	SD_TEST_BOARD_VSEL_3V3,4,4
	.comm	SD_TEST_BOARD_PWR_RST_DELAY_MS,4,4
	.comm	SD_TEST_BOARD_PWR_ON_DELAY_MS,4,4
	.comm	GPIO_MODE_OUTPUT,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_test_sd.c_sd_test_board_power_on.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sd_test_board_power_on, %function
sd_test_board_power_on:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r5, .L4
	ldr	r6, .L4+4
	ldr	r1, [r5]
	ldr	r0, [r6]
	bl	gpio_set_direction
	ldr	r3, .L4+8
	ldr	r4, .L4+12
	ldr	r1, [r3]
	ldr	r0, [r6]
	bl	gpio_set_level
	ldr	r1, [r5]
	ldr	r0, [r4]
	bl	gpio_set_direction
	mov	r1, #0
	ldr	r0, [r4]
	bl	gpio_set_level
	ldr	r3, .L4+16
	ldr	r0, [r3]
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	bl	usleep
	ldr	r0, [r4]
	mov	r1, #1
	bl	gpio_set_level
	pop	{r4, r5, r6, lr}
	ldr	r3, .L4+20
	ldr	r0, [r3]
	rsb	r3, r0, r0, lsl #5
	add	r0, r0, r3, lsl #2
	lsl	r0, r0, #3
	b	usleep
.L5:
	.align	2
.L4:
	.word	GPIO_MODE_OUTPUT
	.word	SD_TEST_BOARD_VSEL_GPIO
	.word	SD_TEST_BOARD_VSEL_3V3
	.word	SD_TEST_BOARD_VSEL_EN_GPIO
	.word	SD_TEST_BOARD_PWR_RST_DELAY_MS
	.word	SD_TEST_BOARD_PWR_ON_DELAY_MS
	.size	sd_test_board_power_on, .-sd_test_board_power_on
	.comm	SD_TEST_BOARD_VSEL_GPIO,4,4
	.comm	SD_TEST_BOARD_VSEL_EN_GPIO,4,4
	.comm	SD_TEST_BOARD_VSEL_3V3,4,4
	.comm	SD_TEST_BOARD_PWR_RST_DELAY_MS,4,4
	.comm	SD_TEST_BOARD_PWR_ON_DELAY_MS,4,4
	.comm	GPIO_MODE_OUTPUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
