	.file	"extr_mdns.c__mdns_name_is_discovery.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_services"
.LC1:
	.string	"_dns-sd"
.LC2:
	.string	"_udp"
	.text
	.p2align 4
	.type	_mdns_name_is_discovery, @function
_mdns_name_is_discovery:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR 24[rdi]
	test	rdi, rdi
	je	.L1
	cmp	QWORD PTR [rdi], 0
	je	.L1
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	call	strcasecmp@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	rdi, QWORD PTR 16[rbx]
	test	rdi, rdi
	je	.L1
	cmp	QWORD PTR [rdi], 0
	je	.L1
	lea	rsi, .LC1[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L1
	mov	rdi, QWORD PTR 8[rbx]
	test	rdi, rdi
	je	.L1
	cmp	QWORD PTR [rdi], 0
	je	.L1
	lea	rsi, .LC2[rip]
	call	strcasecmp@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	rdi, QWORD PTR [rbx]
	test	rdi, rdi
	je	.L1
	cmp	QWORD PTR [rdi], 0
	je	.L1
	mov	rsi, QWORD PTR MDNS_DEFAULT_DOMAIN[rip]
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L1
	xor	r12d, r12d
	cmp	QWORD PTR MDNS_TYPE_PTR[rip], rbp
	sete	r12b
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_mdns_name_is_discovery, .-_mdns_name_is_discovery
	.comm	MDNS_TYPE_PTR,8,8
	.comm	MDNS_DEFAULT_DOMAIN,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.c__mdns_name_is_discovery.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_services\000"
	.align	2
.LC1:
	.ascii	"_dns-sd\000"
	.align	2
.LC2:
	.ascii	"_udp\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_mdns_name_is_discovery, %function
_mdns_name_is_discovery:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r0, [r0, #12]
	cmp	r0, #0
	beq	.L9
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L1
	mov	r6, r1
	ldr	r1, .L28
	bl	strcasecmp
	subs	r4, r0, #0
	bne	.L9
	ldr	r0, [r5, #8]
	cmp	r0, #0
	beq	.L1
	ldr	r3, [r0]
	cmp	r3, #0
	beq	.L1
	ldr	r1, .L28+4
	bl	strcasecmp
	subs	r7, r0, #0
	bne	.L1
	ldr	r0, [r5, #4]
	cmp	r0, #0
	beq	.L1
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L1
	ldr	r1, .L28+8
	bl	strcasecmp
	cmp	r0, #0
	bne	.L9
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L9
	ldr	r4, [r0]
	cmp	r4, #0
	beq	.L1
	ldr	r3, .L28+12
	ldr	r1, [r3]
	bl	strcasecmp
	cmp	r0, #0
	bne	.L9
	ldr	r3, .L28+16
	ldr	r4, [r3]
	sub	r4, r4, r6
	clz	r4, r4
	lsr	r4, r4, #5
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	mov	r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L29:
	.align	2
.L28:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	MDNS_DEFAULT_DOMAIN
	.word	MDNS_TYPE_PTR
	.size	_mdns_name_is_discovery, .-_mdns_name_is_discovery
	.comm	MDNS_TYPE_PTR,4,4
	.comm	MDNS_DEFAULT_DOMAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
