	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_match_dev_type             ## -- Begin function p2p_match_dev_type
	.p2align	4, 0x90
_p2p_match_dev_type:                    ## @p2p_match_dev_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, %r14
	leaq	-32(%rbp), %rsi
	movq	%rax, %rdi
	callq	_wps_parse_msg
	testq	%rax, %rax
	je	LBB0_1
LBB0_8:
	movl	$1, %eax
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	-32(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.2:
	movq	(%r14), %rax
	movl	16(%rax), %edi
	movl	-24(%rbp), %esi
	callq	_dev_type_list_match
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	(%r14), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_4
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rcx), %rax
	movl	(%rax,%rbx,4), %edi
	movl	-24(%rbp), %esi
	movq	-32(%rbp), %rdx
	callq	_dev_type_list_match
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	movq	(%r14), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rbx
	jb	LBB0_7
	jmp	LBB0_9
LBB0_4:
	xorl	%eax, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_p2p_match_dev_type             ; -- Begin function p2p_match_dev_type
	.p2align	2
_p2p_match_dev_type:                    ; @p2p_match_dev_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x1
	mov	x19, x0
	mov	x1, sp
	mov	x0, x8
	bl	_wps_parse_msg
	cbz	x0, LBB0_3
LBB0_1:
	mov	w0, #1
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_3:
	ldr	x2, [sp]
	cbz	x2, LBB0_1
; %bb.4:
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	ldr	w1, [sp, #8]
	bl	_dev_type_list_match
	cbnz	x0, LBB0_1
; %bb.5:
	ldr	x8, [x19]
	ldr	x9, [x8]
	cbz	x9, LBB0_9
; %bb.6:
	mov	x20, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #8]
	ldr	w0, [x8, x20, lsl #2]
	ldr	w1, [sp, #8]
	ldr	x2, [sp]
	bl	_dev_type_list_match
	cbnz	x0, LBB0_1
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x20, x20, #1
	ldr	x8, [x19]
	ldr	x9, [x8]
	cmp	x20, x9
	b.lo	LBB0_7
	b	LBB0_2
LBB0_9:
	mov	w0, #0
	b	LBB0_2
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
