	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function match_bonjour_query
_match_bonjour_query:                   ## @match_bonjour_query
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$536, %rsp                      ## imm = 0x218
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r15d, %r15d
	cmpq	$3, %rdx
	jb	LBB0_9
## %bb.1:
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movl	(%rdi), %edi
	callq	_wpabuf_len
	cmpl	$3, %eax
	jl	LBB0_9
## %bb.2:
	leaq	(%r12,%rbx,4), %rax
	addq	$-12, %rax
	movq	%rax, -568(%rbp)                ## 8-byte Spill
	movl	(%r14), %edi
	callq	_wpabuf_head_u8
	movq	%rax, %r13
	movl	(%r14), %edi
	callq	_wpabuf_len
	cltq
	leaq	-12(,%rax,4), %rsi
	addq	%r13, %rsi
	movl	$3, %edx
	movq	-568(%rbp), %rdi                ## 8-byte Reload
	callq	_os_memcmp
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movl	(%r14), %edi
	callq	_wpabuf_len
	cltq
	cmpq	%rbx, %rax
	jne	LBB0_6
## %bb.4:
	movl	(%r14), %edi
	callq	_wpabuf_head
	leaq	-3(%rbx), %rdx
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_os_memcmp
	testq	%rax, %rax
	je	LBB0_5
LBB0_6:
	addl	$-3, %ebx
	leaq	-304(%rbp), %rdi
	xorl	%r15d, %r15d
	movl	$256, %esi                      ## imm = 0x100
	movq	%r12, %rdx
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_p2p_sd_dns_uncompress
	testq	%rax, %rax
	jne	LBB0_9
## %bb.7:
	movl	(%r14), %edi
	callq	_wpabuf_head
	movq	%rax, %rbx
	movl	(%r14), %edi
	callq	_wpabuf_len
                                        ## kill: def $eax killed $eax def $rax
	leal	-3(%rax), %ecx
	leaq	-560(%rbp), %rdi
	xorl	%r15d, %r15d
	movl	$256, %esi                      ## imm = 0x100
	movq	%rbx, %rdx
	xorl	%r8d, %r8d
	callq	_p2p_sd_dns_uncompress
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	leaq	-304(%rbp), %rdi
	leaq	-560(%rbp), %rsi
	callq	_os_strcmp
	xorl	%r15d, %r15d
	testq	%rax, %rax
	sete	%r15b
	jmp	LBB0_9
LBB0_5:
	movl	$1, %r15d
LBB0_9:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	movl	%r15d, %eax
	addq	$536, %rsp                      ## imm = 0x218
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_match_bonjour_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function match_bonjour_query
_match_bonjour_query:                   ; @match_bonjour_query
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #528
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	subs	x22, x2, #3
	b.lo	LBB0_3
; %bb.1:
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w0, [x0]
	bl	_wpabuf_len
	cmp	w0, #3
	b.lt	LBB0_3
; %bb.2:
	add	x8, x20, x21, lsl #2
	sub	x23, x8, #12
	ldr	w0, [x19]
	bl	_wpabuf_head_u8
	mov	x24, x0
	ldr	w0, [x19]
	bl	_wpabuf_len
	add	x8, x24, w0, sxtw #2
	sub	x1, x8, #12
	mov	x0, x23
	mov	w2, #3
	bl	_os_memcmp
	cbz	x0, LBB0_6
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldur	x8, [x29, #-72]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_12
; %bb.5:
	add	sp, sp, #528
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w0, [x19]
	bl	_wpabuf_len
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.7:
	ldr	w0, [x19]
	bl	_wpabuf_head
	mov	x1, x0
	mov	x0, x20
	mov	x2, x22
	bl	_os_memcmp
	cbz	x0, LBB0_11
LBB0_8:
	sub	w3, w21, #3
	add	x0, sp, #264
	mov	w1, #256
	mov	x2, x20
	mov	w4, #0
	bl	_p2p_sd_dns_uncompress
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.9:
	ldr	w0, [x19]
	bl	_wpabuf_head
	mov	x20, x0
	ldr	w0, [x19]
	bl	_wpabuf_len
	sub	w3, w0, #3
	add	x0, sp, #8
	mov	w1, #256
	mov	x2, x20
	mov	w4, #0
	bl	_p2p_sd_dns_uncompress
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.10:
	add	x0, sp, #264
	add	x1, sp, #8
	bl	_os_strcmp
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_4
LBB0_11:
	mov	w0, #1
	b	LBB0_4
LBB0_12:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_match_bonjour_query
.subsections_via_symbols
