	.file	"extr_gpioths.c_gpioths_dht_timeuntil.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	gpioths_dht_timeuntil, @function
gpioths_dht_timeuntil:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR GPIOTHS_DHT_TIMEOUT[rip]
	test	eax, eax
	jle	.L2
	mov	ebp, edi
	mov	r12d, esi
	mov	r13, rdx
	mov	r14, rcx
	xor	ebx, ebx
	mov	r15, rsp
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, 1
	add	ebx, 1
	call	DELAY@PLT
	cmp	DWORD PTR GPIOTHS_DHT_TIMEOUT[rip], ebx
	jle	.L2
.L5:
	xor	edx, edx
	mov	rcx, r15
	mov	esi, r12d
	mov	edi, ebp
	call	GPIOBUS_PIN_GET@PLT
	cmp	QWORD PTR [rsp], r13
	jne	.L3
	xor	eax, eax
	test	r14, r14
	je	.L1
	movsx	rbx, ebx
	mov	QWORD PTR [r14], rbx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	eax, DWORD PTR ETIMEDOUT[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.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
.L12:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	gpioths_dht_timeuntil, .-gpioths_dht_timeuntil
	.comm	GPIOTHS_DHT_TIMEOUT,4,4
	.comm	ETIMEDOUT,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_gpioths.c_gpioths_dht_timeuntil.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	gpioths_dht_timeuntil, %function
gpioths_dht_timeuntil:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r8, .L12
	mov	r5, r0
	ldr	r0, [r8]
	mov	r9, r3
	ldr	r3, .L12+4
	sub	sp, sp, #12
	cmp	r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ble	.L2
	mov	r6, r1
	mov	r7, r2
	mov	r4, #0
	b	.L5
.L3:
	mov	r0, #1
	bl	DELAY
	ldr	ip, [r8]
	add	r4, r4, #1
	cmp	ip, r4
	ble	.L2
.L5:
	mov	r3, sp
	mov	r2, #0
	mov	r1, r6
	mov	r0, r5
	bl	GPIOBUS_PIN_GET
	ldr	ip, [sp]
	cmp	ip, r7
	bne	.L3
	cmp	r9, #0
	moveq	r0, r9
	movne	r0, #0
	strne	r4, [r9]
	b	.L1
.L2:
	ldr	r3, .L12+8
	ldr	r0, [r3]
.L1:
	ldr	r3, .L12+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	GPIOTHS_DHT_TIMEOUT
	.word	.LC0
	.word	ETIMEDOUT
	.size	gpioths_dht_timeuntil, .-gpioths_dht_timeuntil
	.comm	GPIOTHS_DHT_TIMEOUT,4,4
	.comm	ETIMEDOUT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
