	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnep_rx_control
_bnep_rx_control:                       ## @bnep_rx_control
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movl	(%rsi), %ecx
	leal	-128(%rcx), %eax
	cmpl	$6, %eax
	ja	LBB0_7
## %bb.1:
	movl	$107, %ecx
	btl	%eax, %ecx
	jae	LBB0_2
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	xorl	%eax, %eax
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_2:
	incq	%rsi
	decl	%edx
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_10
## %bb.4:
	addq	$32, %rsp
	popq	%rbp
	jmp	_bnep_ctrl_set_netfilter        ## TAILCALL
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-8(%rbp), %rax
	jne	LBB0_10
## %bb.6:
	addq	$32, %rsp
	popq	%rbp
	jmp	_bnep_ctrl_set_mcfilter         ## TAILCALL
LBB0_7:
	movq	_BNEP_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movl	$134, -16(%rbp)
	movl	%ecx, -12(%rbp)
	leaq	-20(%rbp), %rsi
	movl	$12, %edx
	callq	_bnep_send
	jmp	LBB0_8
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BNEP_CONTROL,4,2               ## @BNEP_CONTROL
	.no_dead_strip	_bnep_rx_control
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnep_rx_control
_bnep_rx_control:                       ; @bnep_rx_control
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
	ldr	w9, [x1], #1
	sub	w8, w9, #128
	cmp	w8, #6
	b.hi	LBB0_9
; %bb.1:
	mov	w9, #1
	lsl	w9, w9, w8
	mov	w10, #107
	tst	w9, w10
	b.eq	LBB0_4
LBB0_2:
	ldur	x8, [x29, #-8]
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_10
; %bb.3:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	sub	w2, w2, #1
	cmp	w8, #2
	b.ne	LBB0_7
; %bb.5:
	ldur	x8, [x29, #-8]
Lloh6:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh7:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_bnep_ctrl_set_netfilter
LBB0_7:
	ldur	x8, [x29, #-8]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_bnep_ctrl_set_mcfilter
LBB0_9:
Lloh12:
	adrp	x8, _BNEP_CONTROL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNEP_CONTROL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	w10, #134
	stp	w8, w10, [sp, #12]
	str	w9, [sp, #20]
	add	x1, sp, #12
	mov	w2, #12
	bl	_bnep_send
	b	LBB0_2
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_BNEP_CONTROL,4,2               ; @BNEP_CONTROL
	.no_dead_strip	_bnep_rx_control
.subsections_via_symbols
