	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2cap_information_rsp
_l2cap_information_rsp:                 ## @l2cap_information_rsp
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movl	8(%rdx), %edi
	callq	___le16_to_cpu
	movq	%rax, %rbx
	movl	4(%r15), %edi
	callq	___le16_to_cpu
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_BT_DBG
	leaq	20(%r14), %rdi
	callq	_del_timer
	movq	_L2CAP_IT_FEAT_MASK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_3
## %bb.1:
	movl	(%r15), %edi
	callq	_get_unaligned_le32
	movl	%eax, (%r14)
	movq	_L2CAP_FEAT_FIXED_CHAN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.2:
	movq	_L2CAP_IT_FIXED_CHAN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le16
	movl	%eax, -32(%rbp)
	movq	%r14, %rdi
	callq	_l2cap_get_ident
	movq	%rax, 8(%r14)
	movq	_L2CAP_INFO_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-32(%rbp), %r8
	movq	%r14, %rdi
	movq	%rax, %rsi
	movl	$4, %ecx
	callq	_l2cap_send_cmd
	jmp	LBB0_5
LBB0_3:
	movq	_L2CAP_IT_FIXED_CHAN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_5
LBB0_4:
	movq	_L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 16(%r14)
	movq	$0, 8(%r14)
	movq	%r14, %rdi
	callq	_l2cap_conn_start
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"type 0x%4.4x result 0x%2.2x"

	.comm	_L2CAP_IT_FEAT_MASK,8,3         ## @L2CAP_IT_FEAT_MASK
	.comm	_L2CAP_FEAT_FIXED_CHAN,4,2      ## @L2CAP_FEAT_FIXED_CHAN
	.comm	_L2CAP_IT_FIXED_CHAN,8,3        ## @L2CAP_IT_FIXED_CHAN
	.comm	_L2CAP_INFO_REQ,4,2             ## @L2CAP_INFO_REQ
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_DONE,4,2 ## @L2CAP_INFO_FEAT_MASK_REQ_DONE
	.no_dead_strip	_l2cap_information_rsp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2cap_information_rsp
_l2cap_information_rsp:                 ; @l2cap_information_rsp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x19, x0
	ldr	w0, [x2, #8]
	bl	___le16_to_cpu
	mov	x21, x0
	ldr	w0, [x20, #4]
	bl	___le16_to_cpu
	mov	x2, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	bl	_BT_DBG
	add	x0, x19, #20
	bl	_del_timer
Lloh2:
	adrp	x8, _L2CAP_IT_FEAT_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _L2CAP_IT_FEAT_MASK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_get_unaligned_le32
	str	w0, [x19]
Lloh5:
	adrp	x8, _L2CAP_FEAT_FIXED_CHAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _L2CAP_FEAT_FIXED_CHAN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.2:
Lloh8:
	adrp	x8, _L2CAP_IT_FIXED_CHAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _L2CAP_IT_FIXED_CHAN@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	bl	_cpu_to_le16
	str	w0, [sp, #8]
	mov	x0, x19
	bl	_l2cap_get_ident
	mov	x1, x0
	str	x0, [x19, #8]
Lloh11:
	adrp	x8, _L2CAP_INFO_REQ@GOTPAGE
Lloh12:
	ldr	x8, [x8, _L2CAP_INFO_REQ@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x19
	mov	w3, #4
	bl	_l2cap_send_cmd
	b	LBB0_5
LBB0_3:
Lloh14:
	adrp	x8, _L2CAP_IT_FIXED_CHAN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _L2CAP_IT_FIXED_CHAN@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x21, x8
	b.ne	LBB0_5
LBB0_4:
Lloh17:
	adrp	x8, _L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _L2CAP_INFO_FEAT_MASK_REQ_DONE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	mov	x0, x19
	bl	_l2cap_conn_start
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"type 0x%4.4x result 0x%2.2x"

	.comm	_L2CAP_IT_FEAT_MASK,8,3         ; @L2CAP_IT_FEAT_MASK
	.comm	_L2CAP_FEAT_FIXED_CHAN,4,2      ; @L2CAP_FEAT_FIXED_CHAN
	.comm	_L2CAP_IT_FIXED_CHAN,8,3        ; @L2CAP_IT_FIXED_CHAN
	.comm	_L2CAP_INFO_REQ,4,2             ; @L2CAP_INFO_REQ
	.comm	_L2CAP_INFO_FEAT_MASK_REQ_DONE,4,2 ; @L2CAP_INFO_FEAT_MASK_REQ_DONE
	.no_dead_strip	_l2cap_information_rsp
.subsections_via_symbols
