	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnep_ctrl_set_mcfilter
_bnep_ctrl_set_mcfilter:                ## @bnep_ctrl_set_mcfilter
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$1, %edx
	jle	LBB0_1
## %bb.2:
	movl	%edx, %ebx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_get_unaligned_be16
	addl	$-2, %ebx
	cmpl	%eax, %ebx
	jge	LBB0_3
LBB0_1:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_4
LBB0_3:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_BT_DBG
	movq	_BNEP_FILTER_MULTI_ADDR_RSP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BNEP_FILTER_UNSUPPORTED_REQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_bnep_send_rsp
LBB0_4:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EILSEQ,4,2                     ## @EILSEQ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"filter len %d"

	.comm	_BNEP_FILTER_MULTI_ADDR_RSP,4,2 ## @BNEP_FILTER_MULTI_ADDR_RSP
	.comm	_BNEP_FILTER_UNSUPPORTED_REQ,4,2 ## @BNEP_FILTER_UNSUPPORTED_REQ
	.comm	_BNEP_SUCCESS,4,2               ## @BNEP_SUCCESS
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_bnep_ctrl_set_mcfilter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnep_ctrl_set_mcfilter
_bnep_ctrl_set_mcfilter:                ; @bnep_ctrl_set_mcfilter
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w2, #1
	b.le	LBB0_2
; %bb.1:
	mov	x20, x2
	mov	x19, x0
	mov	x0, x1
	bl	_get_unaligned_be16
	sub	w8, w20, #2
	cmp	w8, w0
	b.ge	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_DBG
Lloh5:
	adrp	x8, _BNEP_FILTER_MULTI_ADDR_RSP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNEP_FILTER_MULTI_ADDR_RSP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _BNEP_FILTER_UNSUPPORTED_REQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BNEP_FILTER_UNSUPPORTED_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bnep_send_rsp
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EILSEQ,4,2                     ; @EILSEQ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"filter len %d"

	.comm	_BNEP_FILTER_MULTI_ADDR_RSP,4,2 ; @BNEP_FILTER_MULTI_ADDR_RSP
	.comm	_BNEP_FILTER_UNSUPPORTED_REQ,4,2 ; @BNEP_FILTER_UNSUPPORTED_REQ
	.comm	_BNEP_SUCCESS,4,2               ; @BNEP_SUCCESS
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_bnep_ctrl_set_mcfilter
.subsections_via_symbols
