	.file	"161081109.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"gprs_serial_init fail to open serial port"
	.align 8
.LC1:
	.string	"gprs_serial_init cfsetospeed is err"
	.text
	.globl	gprs_serial_init
	.type	gprs_serial_init, @function
gprs_serial_init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -104[rbp]
	mov	esi, 2306
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	jns	.L2
	lea	rdi, .LC0[rip]
	call	perror@PLT
	mov	eax, -1
	jmp	.L5
.L2:
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 2176
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, -49
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 2147483647
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 48
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, -65
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	or	eax, 4
	mov	DWORD PTR -80[rbp], eax
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	lea	rax, -80[rbp]
	mov	esi, 4098
	mov	rdi, rax
	call	cfsetispeed@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, -2
	jmp	.L5
.L4:
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	mov	eax, DWORD PTR -84[rbp]
.L5:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	gprs_serial_init, .-gprs_serial_init
	.section	.rodata
.LC2:
	.string	"%s %d write %s err\n"
	.text
	.globl	gprs_serial_send
	.type	gprs_serial_send, @function
gprs_serial_send:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L8
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 48
	lea	rsi, __func__.4[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -12
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	gprs_serial_send, .-gprs_serial_send
	.section	.rodata
.LC3:
	.string	"%s %d read err\n"
	.text
	.globl	gprs_serial_recv
	.type	gprs_serial_recv, @function
gprs_serial_recv:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L11
	mov	edx, 60
	lea	rsi, __func__.3[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -11
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	gprs_serial_recv, .-gprs_serial_recv
	.section	.rodata
.LC4:
	.string	"%s %d send %s err\n"
.LC5:
	.string	"%s %d send %s than recv  err\n"
	.text
	.globl	gprs_serial_send_than_recv_timeout
	.type	gprs_serial_send_than_recv_timeout, @function
gprs_serial_send_than_recv_timeout:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	DWORD PTR -48[rbp], r9d
	mov	edx, DWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_send
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L14
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 75
	lea	rsi, __func__.2[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -14
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -48[rbp]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_recv
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L16
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 81
	lea	rsi, __func__.2[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -15
	jmp	.L15
.L16:
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	gprs_serial_send_than_recv_timeout, .-gprs_serial_send_than_recv_timeout
	.globl	gprs_serial_send_than_recv_match_timeout
	.type	gprs_serial_send_than_recv_match_timeout, @function
gprs_serial_send_than_recv_match_timeout:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	QWORD PTR -56[rbp], r9
	mov	edx, DWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_send
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L22
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 97
	lea	rsi, __func__.1[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -14
	jmp	.L19
.L22:
	nop
.L18:
	mov	eax, DWORD PTR 16[rbp]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_recv
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L20
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 104
	lea	rsi, __func__.1[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -15
	jmp	.L19
.L20:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L21
	jmp	.L18
.L21:
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	gprs_serial_send_than_recv_match_timeout, .-gprs_serial_send_than_recv_match_timeout
	.section	.rodata
.LC6:
	.string	"%s %d atcmd%s recv err\n"
	.text
	.globl	gprs_serial_send_than_recv_match_step_cnt
	.type	gprs_serial_send_than_recv_match_step_cnt, @function
gprs_serial_send_than_recv_match_step_cnt:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -24[rbp], edx
	mov	QWORD PTR -40[rbp], rcx
	mov	DWORD PTR -44[rbp], r8d
	mov	QWORD PTR -56[rbp], r9
	mov	edx, DWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_send
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L24
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 123
	lea	rsi, __func__.0[rip]
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -14
	jmp	.L25
.L24:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L31
	mov	eax, 0
	jmp	.L25
.L31:
	nop
.L26:
	sub	DWORD PTR 24[rbp], 1
	mov	eax, DWORD PTR 16[rbp]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	mov	edx, DWORD PTR -44[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	gprs_serial_recv
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L27
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 135
	lea	rsi, __func__.0[rip]
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR 24[rbp], 0
	jle	.L28
	jmp	.L26
.L28:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 139
	lea	rsi, __func__.0[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -16
	jmp	.L25
.L27:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L29
	cmp	DWORD PTR 24[rbp], 0
	jle	.L30
	jmp	.L26
.L30:
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rax
	mov	edx, 149
	lea	rsi, __func__.0[rip]
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -17
	jmp	.L25
.L29:
	mov	eax, 0
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	gprs_serial_send_than_recv_match_step_cnt, .-gprs_serial_send_than_recv_match_step_cnt
	.globl	gprs_serial_deinit
	.type	gprs_serial_deinit, @function
gprs_serial_deinit:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	gprs_serial_deinit, .-gprs_serial_deinit
	.section	.rodata
	.align 16
	.type	__func__.4, @object
	.size	__func__.4, 17
__func__.4:
	.string	"gprs_serial_send"
	.align 16
	.type	__func__.3, @object
	.size	__func__.3, 17
__func__.3:
	.string	"gprs_serial_recv"
	.align 32
	.type	__func__.2, @object
	.size	__func__.2, 35
__func__.2:
	.string	"gprs_serial_send_than_recv_timeout"
	.align 32
	.type	__func__.1, @object
	.size	__func__.1, 41
__func__.1:
	.string	"gprs_serial_send_than_recv_match_timeout"
	.align 32
	.type	__func__.0, @object
	.size	__func__.0, 42
__func__.0:
	.string	"gprs_serial_send_than_recv_match_step_cnt"
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"161081109.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"gprs_serial_init fail to open serial port\000"
	.align	2
.LC1:
	.ascii	"gprs_serial_init cfsetospeed is err\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	gprs_serial_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_init, %function
gprs_serial_init:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	str	r0, [fp, #-80]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L7+4
	ldr	r0, [fp, #-80]
	bl	open
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bge	.L2
	ldr	r0, .L7+8
	bl	perror
	mvn	r3, #0
	b	.L5
.L2:
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	tcgetattr
	ldr	r3, [fp, #-60]
	orr	r3, r3, #2176
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	orr	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #64
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	orr	r3, r3, #4
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-56]
	sub	r3, fp, #68
	ldr	r1, .L7+12
	mov	r0, r3
	bl	cfsetispeed
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r0, .L7+16
	bl	puts
	mvn	r3, #1
	b	.L5
.L4:
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	tcsetattr
	ldr	r3, [fp, #-72]
.L5:
	ldr	r2, .L7
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC2
	.word	2306
	.word	.LC0
	.word	4098
	.word	.LC1
	.size	gprs_serial_init, .-gprs_serial_init
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s %d write %s err\012\000"
	.text
	.align	2
	.global	gprs_serial_send
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_send, %function
gprs_serial_send:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	write
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L10
	ldr	r3, [fp, #-20]
	mov	r2, #48
	ldr	r1, .L12
	ldr	r0, .L12+4
	bl	printf
	mvn	r3, #11
	b	.L11
.L10:
	mov	r3, #0
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	__func__.6095
	.word	.LC3
	.size	gprs_serial_send, .-gprs_serial_send
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s %d read err\012\000"
	.text
	.align	2
	.global	gprs_serial_recv
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_recv, %function
gprs_serial_recv:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r2, r3
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L15
	mov	r2, #60
	ldr	r1, .L17
	ldr	r0, .L17+4
	bl	printf
	mvn	r3, #10
	b	.L16
.L15:
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	__func__.6102
	.word	.LC4
	.size	gprs_serial_recv, .-gprs_serial_recv
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%s %d send %s err\012\000"
	.align	2
.LC6:
	.ascii	"%s %d send %s than recv  err\012\000"
	.text
	.align	2
	.global	gprs_serial_send_than_recv_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_send_than_recv_timeout, %function
gprs_serial_send_than_recv_timeout:
	@ args = 8, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_send
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-20]
	mov	r2, #75
	ldr	r1, .L23
	ldr	r0, .L23+4
	bl	printf
	mvn	r3, #13
	b	.L21
.L20:
	ldr	r2, [fp, #8]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_recv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L22
	ldr	r3, [fp, #-20]
	mov	r2, #81
	ldr	r1, .L23
	ldr	r0, .L23+8
	bl	printf
	mvn	r3, #14
	b	.L21
.L22:
	mov	r3, #0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	__func__.6112
	.word	.LC5
	.word	.LC6
	.size	gprs_serial_send_than_recv_timeout, .-gprs_serial_send_than_recv_timeout
	.align	2
	.global	gprs_serial_send_than_recv_match_timeout
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_send_than_recv_match_timeout, %function
gprs_serial_send_than_recv_match_timeout:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_send
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L30
	ldr	r3, [fp, #-20]
	mov	r2, #97
	ldr	r1, .L31
	ldr	r0, .L31+4
	bl	printf
	mvn	r3, #13
	b	.L27
.L30:
	nop
.L26:
	ldr	r2, [fp, #12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_recv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L28
	ldr	r3, [fp, #-20]
	mov	r2, #104
	ldr	r1, .L31
	ldr	r0, .L31+8
	bl	printf
	mvn	r3, #14
	b	.L27
.L28:
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-28]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L29
	b	.L26
.L29:
	mov	r3, #0
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	__func__.6123
	.word	.LC5
	.word	.LC6
	.size	gprs_serial_send_than_recv_match_timeout, .-gprs_serial_send_than_recv_match_timeout
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s %d atcmd%s recv err\012\000"
	.text
	.align	2
	.global	gprs_serial_send_than_recv_match_step_cnt
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_send_than_recv_match_step_cnt, %function
gprs_serial_send_than_recv_match_step_cnt:
	@ args = 16, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_send
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L34
	ldr	r3, [fp, #-20]
	mov	r2, #123
	ldr	r1, .L42
	ldr	r0, .L42+4
	bl	printf
	mvn	r3, #13
	b	.L35
.L34:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L41
	mov	r3, #0
	b	.L35
.L41:
	nop
.L36:
	ldr	r3, [fp, #16]
	sub	r3, r3, #1
	str	r3, [fp, #16]
	ldr	r2, [fp, #12]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	ldr	r2, [fp, #4]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	gprs_serial_recv
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L37
	ldr	r3, [fp, #-20]
	mov	r2, #135
	ldr	r1, .L42
	ldr	r0, .L42+8
	bl	printf
	ldr	r3, [fp, #16]
	cmp	r3, #0
	ble	.L38
	b	.L36
.L38:
	ldr	r3, [fp, #-20]
	mov	r2, #139
	ldr	r1, .L42
	ldr	r0, .L42+12
	bl	printf
	mvn	r3, #15
	b	.L35
.L37:
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-28]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L39
	ldr	r3, [fp, #16]
	cmp	r3, #0
	ble	.L40
	b	.L36
.L40:
	ldr	r3, [fp, #-20]
	mov	r2, #149
	ldr	r1, .L42
	ldr	r0, .L42+12
	bl	printf
	mvn	r3, #16
	b	.L35
.L39:
	mov	r3, #0
.L35:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	__func__.6136
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	gprs_serial_send_than_recv_match_step_cnt, .-gprs_serial_send_than_recv_match_step_cnt
	.align	2
	.global	gprs_serial_deinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	gprs_serial_deinit, %function
gprs_serial_deinit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	close
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	gprs_serial_deinit, .-gprs_serial_deinit
	.section	.rodata
	.align	2
	.type	__func__.6095, %object
	.size	__func__.6095, 17
__func__.6095:
	.ascii	"gprs_serial_send\000"
	.align	2
	.type	__func__.6102, %object
	.size	__func__.6102, 17
__func__.6102:
	.ascii	"gprs_serial_recv\000"
	.align	2
	.type	__func__.6112, %object
	.size	__func__.6112, 35
__func__.6112:
	.ascii	"gprs_serial_send_than_recv_timeout\000"
	.align	2
	.type	__func__.6123, %object
	.size	__func__.6123, 41
__func__.6123:
	.ascii	"gprs_serial_send_than_recv_match_timeout\000"
	.align	2
	.type	__func__.6136, %object
	.size	__func__.6136, 42
__func__.6136:
	.ascii	"gprs_serial_send_than_recv_match_step_cnt\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
