	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnep_rx_frame
_bnep_rx_frame:                         ## @bnep_rx_frame
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	24(%rdi), %r14
	movl	(%rsi), %eax
	addl	%eax, 12(%r14)
	movslq	4(%rsi), %rax
	movq	(%rax), %r13
	movq	%rsi, %rdi
	movl	$1, %esi
	callq	_skb_pull
	movq	_BNEP_TYPE_MASK@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	andq	%r13, %rax
	movq	_BNEP_RX_TYPES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_2
LBB0_1:
	incl	(%r14)
	jmp	LBB0_4
LBB0_2:
	movq	_BNEP_CONTROL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movl	(%rbx), %edx
	movl	4(%rbx), %esi
	movq	%r15, %rdi
	callq	_bnep_rx_control
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree_skb
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	%rbx, %rdi
	callq	_skb_reset_mac_header
	movq	___bnep_rx_hlen@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	andq	%r13, %rcx
	movl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	callq	_skb_pull
	testl	%eax, %eax
	je	LBB0_1
## %bb.8:
	movslq	4(%rbx), %rdi
	addq	$-2, %rdi
	callq	_get_unaligned
	movq	%rax, (%r15)
	movq	_BNEP_EXT_HEADER@GOTPCREL(%rip), %rcx
	testq	%r13, (%rcx)
	je	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnep_rx_extension
	testq	%rax, %rax
	js	LBB0_1
## %bb.10:
	movq	(%r15), %rax
LBB0_11:
	movq	%rax, %rdi
	callq	_ntohs
	cmpl	$33024, %eax                    ## imm = 0x8100
	jne	LBB0_14
## %bb.12:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_skb_pull
	testl	%eax, %eax
	je	LBB0_1
## %bb.13:
	movslq	4(%rbx), %rdi
	addq	$-2, %rdi
	callq	_get_unaligned
	movq	%rax, (%r15)
LBB0_14:
	movq	_ETH_HLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	(%rbx), %ecx
	leal	(%rax,%rcx), %edi
	addl	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_skb
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	movq	%rax, %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$2, %esi
	callq	_skb_reserve
	andq	(%r12), %r13
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	addq	$-128, %r13
	cmpq	$3, %r13
	ja	LBB0_24
## %bb.16:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r13,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_17:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	addl	%esi, %esi
	movq	%r12, %rdi
	callq	___skb_put
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%edx, %edx
	jmp	LBB0_20
LBB0_18:
	incl	8(%r14)
	movq	%rbx, %rdi
	callq	_kfree_skb
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_19:
	movq	_ETH_ALEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	___skb_put
	movq	16(%r15), %rsi
	movl	(%r13), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	___skb_put
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_20:
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	(%r15), %r15
	movq	%r12, %rdi
	movl	$2, %esi
	callq	___skb_put
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_put_unaligned
	jmp	LBB0_24
LBB0_21:
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	___skb_put
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_skb_mac_header
	movq	_ETH_ALEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rax, %r13
	addl	$2, %esi
	movq	%r12, %rdi
	callq	___skb_put
	movq	8(%r15), %rsi
	movl	(%r13), %edx
	addl	$2, %edx
	movq	%rax, %rdi
	jmp	LBB0_23
LBB0_22:
	movq	_ETH_HLEN@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	___skb_put
	movl	(%r13), %edx
	movq	%rax, %rdi
	movq	%r15, %rsi
LBB0_23:
	callq	_memcpy
LBB0_24:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	___skb_put
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_skb_copy_from_linear_data
	movq	%rbx, %rdi
	callq	_kfree_skb
	incl	4(%r14)
	movq	_CHECKSUM_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r12)
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_eth_type_trans
	movl	%eax, 8(%r12)
	movq	%r12, %rdi
	callq	_netif_rx_ni
	jmp	LBB0_5
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_19
	.long	L0_0_set_21
	.long	L0_0_set_22
	.end_data_region
                                        ## -- End function
	.comm	_BNEP_TYPE_MASK,8,3             ## @BNEP_TYPE_MASK
	.comm	_BNEP_RX_TYPES,8,3              ## @BNEP_RX_TYPES
	.comm	_BNEP_CONTROL,8,3               ## @BNEP_CONTROL
	.comm	___bnep_rx_hlen,8,3             ## @__bnep_rx_hlen
	.comm	_BNEP_EXT_HEADER,8,3            ## @BNEP_EXT_HEADER
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CHECKSUM_NONE,4,2              ## @CHECKSUM_NONE
	.no_dead_strip	_bnep_rx_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnep_rx_frame
_bnep_rx_frame:                         ; @bnep_rx_frame
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [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 w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	ldr	x20, [x0, #24]
	ldr	w8, [x20, #12]
	ldp	w9, w10, [x1]
                                        ; kill: def $w10 killed $w10 def $x10
	sxtw	x10, w10
	add	w8, w8, w9
	str	w8, [x20, #12]
	ldr	x23, [x10]
	mov	x0, x1
	mov	w1, #1
	bl	_skb_pull
Lloh0:
	adrp	x24, _BNEP_TYPE_MASK@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BNEP_TYPE_MASK@GOTPAGEOFF]
	ldr	x8, [x24]
	and	x8, x8, x23
Lloh2:
	adrp	x9, _BNEP_RX_TYPES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNEP_RX_TYPES@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ls	LBB0_2
LBB0_1:
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	b	LBB0_4
LBB0_2:
Lloh5:
	adrp	x9, _BNEP_CONTROL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BNEP_CONTROL@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.3:
	ldp	w2, w1, [x19]
	mov	x0, x21
	bl	_bnep_rx_control
LBB0_4:
	mov	x0, x19
	bl	_kfree_skb
LBB0_5:
	mov	w0, #0
LBB0_6:
	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	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x0, x19
	bl	_skb_reset_mac_header
Lloh8:
	adrp	x8, ___bnep_rx_hlen@GOTPAGE
Lloh9:
	ldr	x8, [x8, ___bnep_rx_hlen@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x9, [x24]
	and	x9, x9, x23
	ldr	w1, [x8, x9, lsl #2]
	mov	x0, x19
	bl	_skb_pull
	cbz	w0, LBB0_1
; %bb.8:
	ldrsw	x8, [x19, #4]
	sub	x0, x8, #2
	bl	_get_unaligned
	str	x0, [x21]
Lloh11:
	adrp	x8, _BNEP_EXT_HEADER@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNEP_EXT_HEADER@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	tst	x8, x23
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x21
	mov	x1, x19
	bl	_bnep_rx_extension
	tbnz	x0, #63, LBB0_1
; %bb.10:
	ldr	x0, [x21]
LBB0_11:
	bl	_ntohs
	mov	w8, #33024
	cmp	w0, w8
	b.ne	LBB0_14
; %bb.12:
	mov	x0, x19
	mov	w1, #4
	bl	_skb_pull
	cbz	w0, LBB0_1
; %bb.13:
	ldrsw	x8, [x19, #4]
	sub	x0, x8, #2
	bl	_get_unaligned
	str	x0, [x21]
LBB0_14:
Lloh14:
	adrp	x25, _ETH_HLEN@GOTPAGE
Lloh15:
	ldr	x25, [x25, _ETH_HLEN@GOTPAGEOFF]
	ldr	w8, [x25]
	ldr	w9, [x19]
	add	w8, w8, w9
	add	w0, w8, #2
Lloh16:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	bl	_alloc_skb
	cbz	x0, LBB0_18
; %bb.15:
	mov	x22, x0
	mov	w1, #2
	bl	_skb_reserve
	ldr	x8, [x24]
	and	x8, x8, x23
	sub	x8, x8, #128
	cmp	x8, #3
	b.hi	LBB0_24
; %bb.16:
Lloh19:
	adrp	x9, lJTI0_0@PAGE
Lloh20:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_17
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_17:
Lloh21:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh22:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w8, [x24]
	lsl	w1, w8, #1
	mov	x0, x22
	bl	___skb_put
	mov	x23, x0
	mov	x0, x19
	bl	_skb_mac_header
	mov	x1, x0
	ldr	w8, [x24]
	lsl	w2, w8, #1
	b	LBB0_20
LBB0_18:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	mov	x0, x19
	bl	_kfree_skb
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_19:
Lloh26:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh27:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	___skb_put
	ldr	x1, [x21, #16]
	ldr	w2, [x24]
	bl	_memcpy
	ldr	w1, [x24]
	mov	x0, x22
	bl	___skb_put
	mov	x23, x0
	mov	x0, x19
	bl	_skb_mac_header
	mov	x1, x0
	ldr	w2, [x24]
LBB0_20:
	mov	x0, x23
	bl	_memcpy
	ldr	x21, [x21]
	mov	x0, x22
	mov	w1, #2
	bl	___skb_put
	mov	x1, x0
	mov	x0, x21
	bl	_put_unaligned
	b	LBB0_24
LBB0_21:
Lloh28:
	adrp	x24, _ETH_ALEN@GOTPAGE
Lloh29:
	ldr	x24, [x24, _ETH_ALEN@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x22
	bl	___skb_put
	mov	x23, x0
	mov	x0, x19
	bl	_skb_mac_header
	mov	x1, x0
	ldr	w2, [x24]
	mov	x0, x23
	bl	_memcpy
	ldr	w8, [x24]
	add	w1, w8, #2
	mov	x0, x22
	bl	___skb_put
	ldr	x1, [x21, #8]
	ldr	w8, [x24]
	add	w2, w8, #2
	b	LBB0_23
LBB0_22:
	ldr	w1, [x25]
	mov	x0, x22
	bl	___skb_put
	ldr	w2, [x25]
	mov	x1, x21
LBB0_23:
	bl	_memcpy
LBB0_24:
	ldr	w1, [x19]
	mov	x0, x22
	bl	___skb_put
	mov	x1, x0
	ldr	w2, [x19]
	mov	x0, x19
	bl	_skb_copy_from_linear_data
	mov	x0, x19
	bl	_kfree_skb
	ldr	w8, [x20, #4]
	add	w8, w8, #1
	str	w8, [x20, #4]
Lloh30:
	adrp	x8, _CHECKSUM_NONE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CHECKSUM_NONE@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x22, #12]
	mov	x0, x22
	mov	x1, x20
	bl	_eth_type_trans
	str	w0, [x22, #8]
	mov	x0, x22
	bl	_netif_rx_ni
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_17-LBB0_17)>>2
	.byte	(LBB0_19-LBB0_17)>>2
	.byte	(LBB0_21-LBB0_17)>>2
	.byte	(LBB0_22-LBB0_17)>>2
                                        ; -- End function
	.comm	_BNEP_TYPE_MASK,8,3             ; @BNEP_TYPE_MASK
	.comm	_BNEP_RX_TYPES,8,3              ; @BNEP_RX_TYPES
	.comm	_BNEP_CONTROL,8,3               ; @BNEP_CONTROL
	.comm	___bnep_rx_hlen,8,3             ; @__bnep_rx_hlen
	.comm	_BNEP_EXT_HEADER,8,3            ; @BNEP_EXT_HEADER
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CHECKSUM_NONE,4,2              ; @CHECKSUM_NONE
	.no_dead_strip	_bnep_rx_frame
.subsections_via_symbols
