	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2caprtpr
_l2caprtpr:                             ## @l2caprtpr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	$0, -48(%rbp)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	leaq	-48(%rbp), %rdx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %ecx
	callq	_kread
	testq	%rax, %rax
	js	LBB0_10
## %bb.2:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.3:
	leaq	-80(%rbp), %rbx
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_stdout@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	leaq	L_.str.6(%rip), %r8
	xorl	%eax, %eax
	callq	_fprintf
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-48(%rbp), %r14
	movq	-72(%rbp), %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_bdaddrpr
	movl	%r12d, %edi
	leaq	L_.str.7(%rip), %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movl	%eax, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r13, -48(%rbp)
	movb	$1, %r14b
	movq	%r13, %rsi
	testq	%r13, %r13
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	$16, %ecx
	callq	_kread
	testq	%rax, %rax
	js	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_LIST_NEXT
	movq	%rax, %r13
	testb	$1, %r14b
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_nl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_N_L2CAP_RAW_RT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	cmpq	%rsi, (%rax,%rcx,8)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_8
LBB0_10:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Known %sL2CAP routes\n"

	.comm	_nl,8,3                         ## @nl
	.comm	_N_L2CAP_RAW_RT,8,3             ## @N_L2CAP_RAW_RT
L_.str.1:                               ## @.str.1
	.asciz	"raw "

L_.str.2:                               ## @.str.2
	.space	1

L_.str.3:                               ## @.str.3
	.asciz	"%-8.8s %-8.8s %-17.17s\n"

L_.str.4:                               ## @.str.4
	.asciz	"RTentry"

L_.str.5:                               ## @.str.5
	.asciz	"Hook"

L_.str.6:                               ## @.str.6
	.asciz	"BD_ADDR"

L_.str.7:                               ## @.str.7
	.asciz	"%-8lx %-8lx %-17.17s\n"

	.no_dead_strip	_l2caprtpr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2caprtpr
_l2caprtpr:                             ; @l2caprtpr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	xzr, [sp, #40]
	cbz	x1, LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #40
	mov	w3, #8
	bl	_kread
	tbnz	x0, #63, LBB0_8
; %bb.2:
	ldr	x1, [sp, #40]
	cbz	x1, LBB0_8
; %bb.3:
	mov	w25, #0
	mov	x21, #0
Lloh0:
	adrp	x26, _stdout@GOTPAGE
Lloh1:
	ldr	x26, [x26, _stdout@GOTPAGEOFF]
Lloh2:
	adrp	x22, l_.str.7@PAGE
Lloh3:
	add	x22, x22, l_.str.7@PAGEOFF
Lloh4:
	adrp	x27, l_.str.4@PAGE
Lloh5:
	add	x27, x27, l_.str.4@PAGEOFF
Lloh6:
	adrp	x24, l_.str.3@PAGE
Lloh7:
	add	x24, x24, l_.str.3@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w25, [x26]
	ldp	x28, x23, [sp, #32]
	add	x0, sp, #24
	mov	x1, #0
	mov	w2, #0
	bl	_bdaddrpr
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x28, x0, [sp, #8]
	str	x23, [sp]
	mov	x0, x25
	mov	x1, x22
	bl	_fprintf
	str	x21, [sp, #40]
	mov	w25, #1
	mov	x1, x21
	cbz	x21, LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #24
	mov	x0, x20
	mov	w3, #16
	bl	_kread
	tbnz	x0, #63, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x0, sp, #24
	mov	x1, x21
	bl	_LIST_NEXT
	mov	x21, x0
	tbnz	w25, #0, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26]
Lloh8:
	adrp	x8, _nl@GOTPAGE
Lloh9:
	ldr	x8, [x8, _nl@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _N_L2CAP_RAW_RT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _N_L2CAP_RAW_RT@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cmp	x8, x19
Lloh14:
	adrp	x8, l_.str.2@PAGE
Lloh15:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh16:
	adrp	x9, l_.str.1@PAGE
Lloh17:
	add	x9, x9, l_.str.1@PAGEOFF
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w0, [x26]
Lloh20:
	adrp	x8, l_.str.6@PAGE
Lloh21:
	add	x9, x8, l_.str.6@PAGEOFF
Lloh22:
	adrp	x8, l_.str.5@PAGE
Lloh23:
	add	x8, x8, l_.str.5@PAGEOFF
	stp	x8, x9, [sp, #8]
	str	x27, [sp]
	mov	x1, x24
	bl	_fprintf
	b	LBB0_4
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdrp	Lloh20, Lloh22
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Known %sL2CAP routes\n"

	.comm	_nl,8,3                         ; @nl
	.comm	_N_L2CAP_RAW_RT,8,3             ; @N_L2CAP_RAW_RT
l_.str.1:                               ; @.str.1
	.asciz	"raw "

l_.str.2:                               ; @.str.2
	.space	1

l_.str.3:                               ; @.str.3
	.asciz	"%-8.8s %-8.8s %-17.17s\n"

l_.str.4:                               ; @.str.4
	.asciz	"RTentry"

l_.str.5:                               ; @.str.5
	.asciz	"Hook"

l_.str.6:                               ; @.str.6
	.asciz	"BD_ADDR"

l_.str.7:                               ; @.str.7
	.asciz	"%-8lx %-8lx %-17.17s\n"

	.no_dead_strip	_l2caprtpr
.subsections_via_symbols
