	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2cap_do_start
_l2cap_do_start:                        ## @l2cap_do_start
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_l2cap_pi
	movq	16(%rax), %r14
	movl	(%r14), %eax
	movq	_L2CAP_INFO_FEAT_MASK_REQ_SENT@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.1:
	movq	_L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.2:
	movq	%rbx, %rdi
	callq	_l2cap_check_security
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	callq	_l2cap_pi
	movl	12(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -32(%rbp)
	movq	%rbx, %rdi
	callq	_l2cap_pi
	movl	8(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	%r14, %rdi
	callq	_l2cap_get_ident
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_l2cap_pi
	movq	%r15, (%rax)
	movq	%rbx, %rdi
	callq	_l2cap_pi
	movq	(%rax), %rsi
	movq	_L2CAP_CONN_REQ@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_L2CAP_IT_FEAT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, -48(%rbp)
	movl	(%r15), %eax
	orl	%eax, (%r14)
	movq	%r14, %rdi
	callq	_l2cap_get_ident
	movq	%rax, 8(%r14)
	leaq	16(%r14), %r15
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_L2CAP_INFO_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mod_timer
	movq	8(%r14), %rsi
	movq	_L2CAP_INFO_REQ@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%r14, %rdi
	movl	$24, %ecx
	callq	_l2cap_send_cmd
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_SENT,4,2 ## @L2CAP_INFO_FEAT_MASK_REQ_SENT
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_DONE,4,2 ## @L2CAP_INFO_FEAT_MASK_REQ_DONE
	.comm	_L2CAP_CONN_REQ,4,2             ## @L2CAP_CONN_REQ
	.comm	_L2CAP_IT_FEAT_MASK,4,2         ## @L2CAP_IT_FEAT_MASK
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_L2CAP_INFO_TIMEOUT,4,2         ## @L2CAP_INFO_TIMEOUT
	.comm	_L2CAP_INFO_REQ,4,2             ## @L2CAP_INFO_REQ
	.no_dead_strip	_l2cap_do_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2cap_do_start
_l2cap_do_start:                        ; @l2cap_do_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
	bl	_l2cap_pi
	ldr	x19, [x0, #16]
	ldr	w8, [x19]
Lloh0:
	adrp	x21, _L2CAP_INFO_FEAT_MASK_REQ_SENT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _L2CAP_INFO_FEAT_MASK_REQ_SENT@GOTPAGEOFF]
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
Lloh2:
	adrp	x9, _L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_l2cap_check_security
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x20
	bl	_l2cap_pi
	ldr	w0, [x0, #12]
	bl	_cpu_to_le16
	str	x0, [sp, #24]
	mov	x0, x20
	bl	_l2cap_pi
	ldr	w8, [x0, #8]
	str	w8, [sp, #16]
	mov	x0, x19
	bl	_l2cap_get_ident
	mov	x21, x0
	mov	x0, x20
	bl	_l2cap_pi
	str	x21, [x0]
	mov	x0, x20
	bl	_l2cap_pi
	ldr	x1, [x0]
Lloh5:
	adrp	x8, _L2CAP_CONN_REQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _L2CAP_CONN_REQ@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _L2CAP_IT_FEAT_MASK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _L2CAP_IT_FEAT_MASK@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [sp, #8]
	ldr	w8, [x21]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	bl	_l2cap_get_ident
	str	x0, [x19, #8]
	add	x20, x19, #16
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
Lloh13:
	adrp	x8, _L2CAP_INFO_TIMEOUT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _L2CAP_INFO_TIMEOUT@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x21
	mov	x0, x20
	bl	_mod_timer
	ldr	x1, [x19, #8]
Lloh16:
	adrp	x8, _L2CAP_INFO_REQ@GOTPAGE
Lloh17:
	ldr	x8, [x8, _L2CAP_INFO_REQ@GOTPAGEOFF]
LBB0_5:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #24
	bl	_l2cap_send_cmd
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_SENT,4,2 ; @L2CAP_INFO_FEAT_MASK_REQ_SENT
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_DONE,4,2 ; @L2CAP_INFO_FEAT_MASK_REQ_DONE
	.comm	_L2CAP_CONN_REQ,4,2             ; @L2CAP_CONN_REQ
	.comm	_L2CAP_IT_FEAT_MASK,4,2         ; @L2CAP_IT_FEAT_MASK
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_L2CAP_INFO_TIMEOUT,4,2         ; @L2CAP_INFO_TIMEOUT
	.comm	_L2CAP_INFO_REQ,4,2             ; @L2CAP_INFO_REQ
	.no_dead_strip	_l2cap_do_start
.subsections_via_symbols
