	.file	"extr_mdns_networking.c__mdns_udp_pcb_write_api.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_mdns_udp_pcb_write_api, @function
_mdns_udp_pcb_write_api:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR _mdns_server[rip]
	mov	rdi, QWORD PTR [rdi]
	mov	rdx, QWORD PTR 8[rbx]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax+rdi*8]
	lea	r12, [rax+rdx*4]
	call	_mdns_get_esp_netif@PLT
	mov	edi, eax
	call	esp_netif_get_netif_impl@PLT
	test	rax, rax
	je	.L6
	mov	ecx, DWORD PTR 28[rbx]
	mov	edx, DWORD PTR 32[rbx]
	mov	r8, rax
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR [r12]
	call	udp_sendto_if@PLT
	mov	edi, DWORD PTR 24[rbx]
	mov	r12, rax
	call	pbuf_free@PLT
	mov	QWORD PTR 16[rbx], r12
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[rbx]
	call	pbuf_free@PLT
	mov	r12, QWORD PTR ERR_IF[rip]
	mov	QWORD PTR 16[rbx], r12
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_mdns_udp_pcb_write_api, .-_mdns_udp_pcb_write_api
	.comm	_mdns_server,8,8
	.comm	ERR_IF,8,8
	.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_mdns_networking.c__mdns_udp_pcb_write_api.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_mdns_udp_pcb_write_api, %function
_mdns_udp_pcb_write_api:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L7
	ldr	r0, [r0]
	ldr	r3, [r3]
	sub	sp, sp, #8
	ldr	r3, [r3]
	ldr	r6, [r4, #4]
	ldr	r5, [r3, r0, lsl #2]
	bl	_mdns_get_esp_netif
	bl	esp_netif_get_netif_impl
	subs	r2, r0, #0
	beq	.L6
	ldr	r0, [r5, r6, lsl #2]
	ldr	r3, [r4, #16]
	str	r2, [sp]
	ldr	r2, [r4, #20]
	ldr	r1, [r4, #12]
	bl	udp_sendto_if
	mov	r5, r0
	ldr	r0, [r4, #12]
	bl	pbuf_free
	mov	r0, r5
	str	r5, [r4, #8]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r0, [r4, #12]
	bl	pbuf_free
	ldr	r3, .L7+4
	ldr	r5, [r3]
	mov	r0, r5
	str	r5, [r4, #8]
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	_mdns_server
	.word	ERR_IF
	.size	_mdns_udp_pcb_write_api, .-_mdns_udp_pcb_write_api
	.comm	_mdns_server,4,4
	.comm	ERR_IF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
