	.file	"extr_mongoose.c_mg_hexdump_connection.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"XX"
.LC1:
	.string	"C>"
.LC2:
	.string	"<-"
.LC3:
	.string	"<A"
.LC4:
	.string	"->"
.LC5:
	.string	"-"
.LC6:
	.string	"--"
.LC7:
	.string	"%lu %p %s %s %s %d\n"
	.text
	.p2align 4
	.globl	mg_hexdump_connection
	.type	mg_hexdump_connection, @function
mg_hexdump_connection:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	add	r8d, -128
	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, 168
	.cfi_def_cfa_offset 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 152[rsp], rax
	xor	eax, eax
	cmp	r8d, 4
	ja	.L1
	mov	rbp, rdx
	lea	rdx, .L4[rip]
	mov	r12, rdi
	mov	r14, rsi
	movsx	rax, DWORD PTR [rdx+r8*4]
	mov	r13d, ecx
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L17-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rbx, .LC2[rip]
.L7:
	lea	rsi, .LC5[rip]
	mov	rdi, r14
	call	strcmp@PLT
	test	rax, rax
	jne	.L9
	mov	r14, QWORD PTR stdout[rip]
.L10:
	test	r14, r14
	je	.L1
	lea	r15, 16[rsp]
	mov	ecx, DWORD PTR MG_SOCK_STRINGIFY_IP[rip]
	mov	edx, 60
	mov	rdi, r12
	or	ecx, DWORD PTR MG_SOCK_STRINGIFY_PORT[rip]
	mov	rsi, r15
	call	mg_conn_addr_to_str@PLT
	lea	rsi, 80[rsp]
	mov	edx, 60
	mov	rdi, r12
	mov	ecx, DWORD PTR MG_SOCK_STRINGIFY_IP[rip]
	or	ecx, DWORD PTR MG_SOCK_STRINGIFY_PORT[rip]
	mov	QWORD PTR 8[rsp], rsi
	or	ecx, DWORD PTR MG_SOCK_STRINGIFY_REMOTE[rip]
	call	mg_conn_addr_to_str@PLT
	xor	eax, eax
	call	mg_time@PLT
	push	r13
	.cfi_def_cfa_offset 232
	mov	rsi, QWORD PTR 16[rsp]
	mov	r9, rbx
	mov	rdx, rax
	mov	r8, r15
	mov	rcx, r12
	mov	rdi, r14
	push	rsi
	.cfi_def_cfa_offset 240
	lea	rsi, .LC7[rip]
	call	fprintf@PLT
	pop	rax
	.cfi_def_cfa_offset 232
	pop	rdx
	.cfi_def_cfa_offset 224
	test	r13d, r13d
	jle	.L13
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r14
	call	mg_hexdumpf@PLT
.L13:
	cmp	QWORD PTR stdout[rip], r14
	je	.L1
	cmp	QWORD PTR stderr[rip], r14
	je	.L1
	mov	rdi, r14
	call	fclose@PLT
.L1:
	mov	rax, QWORD PTR 152[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L24
	add	rsp, 168
	.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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	lea	rbx, .LC4[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, r14
	lea	rsi, .LC6[rip]
	call	strcmp@PLT
	mov	r14, QWORD PTR stderr[rip]
	test	rax, rax
	je	.L10
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rbx, .LC3[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rbx, .LC1[rip]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rbx, .LC0[rip]
	jmp	.L7
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mg_hexdump_connection, .-mg_hexdump_connection
	.comm	stdout,8,8
	.comm	stderr,8,8
	.comm	MG_SOCK_STRINGIFY_REMOTE,4,4
	.comm	MG_SOCK_STRINGIFY_PORT,4,4
	.comm	MG_SOCK_STRINGIFY_IP,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_mongoose.c_mg_hexdump_connection.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%lu %p %s %s %s %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mg_hexdump_connection
	.syntax unified
	.arm
	.fpu softvfp
	.type	mg_hexdump_connection, %function
mg_hexdump_connection:
	@ args = 4, pretend = 0, frame = 128
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #148
	ldr	ip, [sp, #184]
	mov	r6, r3
	sub	ip, ip, #128
	ldr	r3, .L16
	cmp	ip, #4
	ldr	r3, [r3]
	str	r3, [sp, #140]
	mov	r3,#0
	bhi	.L1
	ldrb	r3, [r1]	@ zero_extendqisi2
	mov	r4, r0
	cmp	r3, #45
	mov	r7, r2
	bne	.L4
	ldrb	r3, [r1, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L16+4
	ldr	r5, [r3]
.L5:
	cmp	r5, #0
	beq	.L1
	ldr	r9, .L16+8
	ldr	r10, .L16+12
	ldr	r3, [r9]
	ldr	r2, [r10]
	ldr	lr, .L16+16
	add	r8, sp, #20
	orr	r3, r2, r3
	mov	r1, r8
	mov	r2, #60
	mov	r0, r4
	ldr	fp, [lr, ip, lsl #2]
	bl	mg_conn_addr_to_str
	ldr	r1, .L16+20
	ldr	r2, [r10]
	ldr	r3, [r9]
	ldr	r1, [r1]
	orr	r3, r2, r3
	add	r9, sp, #80
	orr	r3, r3, r1
	mov	r2, #60
	mov	r1, r9
	mov	r0, r4
	bl	mg_conn_addr_to_str
	bl	mg_time
	mov	r3, r4
	mov	r2, r0
	ldr	r1, .L16+24
	mov	r0, r5
	str	fp, [sp, #4]
	str	r9, [sp, #8]
	str	r8, [sp]
	str	r6, [sp, #12]
	bl	fprintf
	cmp	r6, #0
	ble	.L7
	mov	r2, r6
	mov	r1, r7
	mov	r0, r5
	bl	mg_hexdumpf
.L7:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L1
	ldr	r3, .L16+28
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L1
	mov	r0, r5
	bl	fclose
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #140]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #148
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	ldrb	r3, [r1]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L1
	ldrb	r3, [r1, #1]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L1
	ldrb	r3, [r1, #2]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L1
	ldr	r3, .L16+28
	ldr	r5, [r3]
	b	.L5
.L15:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	stdout
	.word	MG_SOCK_STRINGIFY_PORT
	.word	MG_SOCK_STRINGIFY_IP
	.word	.LANCHOR0
	.word	MG_SOCK_STRINGIFY_REMOTE
	.word	.LC0
	.word	stderr
	.size	mg_hexdump_connection, .-mg_hexdump_connection
	.section	.rodata.str1.4
	.align	2
.LC2:
	.ascii	"->\000"
	.align	2
.LC3:
	.ascii	"<-\000"
	.align	2
.LC4:
	.ascii	"C>\000"
	.align	2
.LC5:
	.ascii	"XX\000"
	.align	2
.LC6:
	.ascii	"<A\000"
	.comm	stdout,4,4
	.comm	stderr,4,4
	.comm	MG_SOCK_STRINGIFY_REMOTE,4,4
	.comm	MG_SOCK_STRINGIFY_PORT,4,4
	.comm	MG_SOCK_STRINGIFY_IP,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	CSWTCH.8, %object
	.size	CSWTCH.8, 20
CSWTCH.8:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
