	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfcomm_recv_frame
_rfcomm_recv_frame:                     ## @rfcomm_recv_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, %r13
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movl	8(%rbx), %edi
	callq	___get_dlci
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	___get_type
	decl	12(%r13)
	movl	%eax, %r12d
	decl	8(%r13)
	movq	%r13, %rdi
	callq	_skb_tail_pointer
	movl	(%rax), %edx
	movq	(%r13), %rdi
	movl	%r12d, %esi
	callq	___check_fcs
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BT_ERR
	movq	%r13, %rdi
	callq	_kfree_skb
	movq	_EILSEQ@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_15
LBB0_2:
	movl	4(%rbx), %edi
	callq	___test_ea
	xorl	%esi, %esi
	cmpq	$1, %rax
	adcl	$3, %esi
	movq	%r13, %rdi
	callq	_skb_pull
	leal	-128(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_13
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.16:
	movl	(%rbx), %edi
	callq	___test_pf
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%eax, %edx
	movq	%r13, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rfcomm_recv_data               ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_BT_ERR
	jmp	LBB0_14
LBB0_8:
	movl	(%rbx), %edi
	callq	___test_pf
	testl	%eax, %eax
	je	LBB0_14
## %bb.9:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rfcomm_recv_ua
	jmp	LBB0_14
LBB0_4:
	movl	(%rbx), %edi
	callq	___test_pf
	testl	%eax, %eax
	je	LBB0_14
## %bb.5:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rfcomm_recv_sabm
	jmp	LBB0_14
LBB0_10:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rfcomm_recv_dm
	jmp	LBB0_14
LBB0_6:
	movl	(%rbx), %edi
	callq	___test_pf
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_rfcomm_recv_disc
	jmp	LBB0_14
LBB0_12:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_rfcomm_recv_mcc
LBB0_14:
	movq	%r13, %rdi
	callq	_kfree_skb
	xorl	%ebx, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_10
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bad checksum in packet"

	.comm	_EILSEQ,4,2                     ## @EILSEQ
L_.str.1:                               ## @.str.1
	.asciz	"Unknown packet type 0x%02x\n"

	.no_dead_strip	_rfcomm_recv_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfcomm_recv_frame
_rfcomm_recv_frame:                     ; @rfcomm_recv_frame
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x1]
	ldr	w0, [x23, #8]
	bl	___get_dlci
	mov	x21, x0
	ldr	w0, [x23]
	bl	___get_type
	mov	x22, x0
	ldr	d0, [x19, #8]
	movi.2d	v1, #0xffffffffffffffff
	add.2s	v0, v0, v1
	str	d0, [x19, #8]
	mov	x0, x19
	bl	_skb_tail_pointer
	ldr	w2, [x0]
	ldr	x0, [x19]
	mov	x1, x22
	bl	___check_fcs
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
	mov	x0, x19
	bl	_kfree_skb
Lloh2:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_2:
	ldr	w0, [x23, #4]
	bl	___test_ea
	cmp	x0, #0
	mov	w8, #3
	cinc	w1, w8, eq
	mov	x0, x19
	bl	_skb_pull
	sub	w8, w22, #128
	cmp	w8, #4
	b.hi	LBB0_6
; %bb.3:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	cbz	w21, LBB0_14
; %bb.5:
	ldr	w0, [x23]
	bl	___test_pf
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x19
	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
	add	sp, sp, #80
	b	_rfcomm_recv_data
LBB0_6:
	str	x22, [sp]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BT_ERR
	b	LBB0_15
LBB0_7:
	ldr	w0, [x23]
	bl	___test_pf
	cbz	w0, LBB0_15
; %bb.8:
	mov	x0, x20
	mov	x1, x21
	bl	_rfcomm_recv_ua
	b	LBB0_15
LBB0_9:
	ldr	w0, [x23]
	bl	___test_pf
	cbz	w0, LBB0_15
; %bb.10:
	mov	x0, x20
	mov	x1, x21
	bl	_rfcomm_recv_sabm
	b	LBB0_15
LBB0_11:
	mov	x0, x20
	mov	x1, x21
	bl	_rfcomm_recv_dm
	b	LBB0_15
LBB0_12:
	ldr	w0, [x23]
	bl	___test_pf
	cbz	w0, LBB0_15
; %bb.13:
	mov	x0, x20
	mov	x1, x21
	bl	_rfcomm_recv_disc
	b	LBB0_15
LBB0_14:
	mov	x0, x20
	mov	x1, x19
	bl	_rfcomm_recv_mcc
LBB0_15:
	mov	x0, x19
	bl	_kfree_skb
	mov	w0, #0
LBB0_16:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bad checksum in packet"

	.comm	_EILSEQ,4,2                     ; @EILSEQ
l_.str.1:                               ; @.str.1
	.asciz	"Unknown packet type 0x%02x\n"

	.no_dead_strip	_rfcomm_recv_frame
.subsections_via_symbols
