	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2cap_parse_conf_req
_l2cap_parse_conf_req:                  ## @l2cap_parse_conf_req
	.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	$120, %rsp
	.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, %r14
	callq	_l2cap_pi
	movq	%rax, %r15
	movq	%rbx, -144(%rbp)                ## 8-byte Spill
	movq	24(%rbx), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movq	%rax, -48(%rbp)
	movq	80(%r15), %rax
	movq	%rax, -152(%rbp)
	movl	(%r15), %r13d
	movq	l___const.l2cap_parse_conf_req.rfc+16(%rip), %rax
	movq	%rax, -64(%rbp)
	movups	l___const.l2cap_parse_conf_req.rfc(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_L2CAP_DEFAULT_MTU@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	_L2CAP_CONF_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_BT_DBG
	movq	_L2CAP_CONF_OPT_SIZE@GOTPCREL(%rip), %rbx
	cmpl	(%rbx), %r13d
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	movq	%r12, -136(%rbp)                ## 8-byte Spill
	jge	LBB0_1
LBB0_13:
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	cmpl	$0, 16(%rbx)
	movq	-136(%rbp), %r14                ## 8-byte Reload
	movq	_L2CAP_CONF_SUCCESS@GOTPCREL(%rip), %r15
	jne	LBB0_19
## %bb.14:
	cmpq	$0, 72(%rbx)
	jne	LBB0_19
## %bb.15:
	movl	20(%rbx), %edi
	movl	%edi, %eax
	andl	$-2, %eax
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.16:
	movq	_L2CAP_CONF_STATE2_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
	movq	64(%rbx), %rax
	movl	(%rax), %esi
	callq	_l2cap_mode_supported
	testl	%eax, %eax
	jne	LBB0_19
	jmp	LBB0_17
LBB0_1:
	leaq	-96(%rbp), %r12
	movq	_L2CAP_CONF_MASK@GOTPCREL(%rip), %r15
	leaq	LJTI0_0(%rip), %r14
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, 8(%rcx)
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%rbx), %r13d
	jl	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-152(%rbp), %rdi
	leaq	-84(%rbp), %rsi
	leaq	-116(%rbp), %rdx
	movq	%r12, %rcx
	callq	_l2cap_get_conf_opt
	subl	%eax, %r13d
	movl	-84(%rbp), %ecx
	movq	_L2CAP_CONF_HINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %eax
	andl	%ecx, %eax
	movl	%eax, -84(%rbp)
	leal	-131(%rax), %esi
	cmpl	$4, %esi
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r14,%rsi,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$24, -116(%rbp)
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rsi
	leaq	-80(%rbp), %rdi
	movl	$24, %edx
	callq	_memcpy
	jmp	LBB0_12
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	testl	%ecx, %edx
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_L2CAP_CONF_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	leaq	1(%rdx), %rcx
	movq	%rcx, -48(%rbp)
	movl	%eax, (%rdx)
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	jmp	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-96(%rbp), %rax
	movq	_L2CAP_FCS_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_L2CAP_CONF_NO_FCS_RECV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	orl	%eax, 44(%rcx)
	jmp	LBB0_12
LBB0_18:
	movl	-80(%rbp), %edi
	movq	64(%rbx), %rax
	movl	(%rax), %esi
	callq	_l2cap_select_mode
	movl	%eax, 20(%rbx)
LBB0_19:
	movl	20(%rbx), %eax
	cmpl	-80(%rbp), %eax
	je	LBB0_22
## %bb.20:
	movq	_L2CAP_CONF_UNACCEPT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	movl	%eax, -80(%rbp)
	cmpl	$1, 16(%rbx)
	jne	LBB0_21
LBB0_17:
	movq	_ECONNREFUSED@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_37
LBB0_21:
	leaq	-48(%rbp), %rdi
	leaq	-80(%rbp), %rcx
	movl	$131, %esi
	movl	$24, %edx
	callq	_l2cap_add_conf_opt
LBB0_22:
	cmpq	(%r15), %r14
	jne	LBB0_36
## %bb.23:
	movq	_L2CAP_DEFAULT_MIN_MTU@GOTPCREL(%rip), %rax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpq	(%rax), %rcx
	jge	LBB0_25
## %bb.24:
	movq	_L2CAP_CONF_UNACCEPT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	24(%rbx), %rcx
	jmp	LBB0_26
LBB0_25:
	movq	%rcx, %rax
	movq	%rcx, 24(%rbx)
	movq	_L2CAP_CONF_MTU_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
LBB0_26:
	leaq	-48(%rbp), %rdi
	movl	$133, %esi
	movl	$2, %edx
	callq	_l2cap_add_conf_opt
	movl	-80(%rbp), %eax
	cmpl	$128, %eax
	je	LBB0_31
## %bb.27:
	cmpl	$129, %eax
	je	LBB0_30
## %bb.28:
	cmpl	$130, %eax
	jne	LBB0_33
## %bb.29:
	movq	_L2CAP_FCS_NONE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rbx)
	movq	_L2CAP_CONF_MODE_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
	cmpq	(%r15), %r14
	je	LBB0_35
	jmp	LBB0_36
LBB0_31:
	movl	-72(%rbp), %eax
	movl	%eax, 52(%rbx)
	movl	-76(%rbp), %eax
	movl	%eax, 48(%rbx)
	jmp	LBB0_32
LBB0_30:
	movl	-72(%rbp), %eax
	movl	%eax, 52(%rbx)
	movl	-60(%rbp), %eax
	movl	%eax, 56(%rbx)
	movl	-76(%rbp), %eax
	movl	%eax, 48(%rbx)
	movq	_L2CAP_DEFAULT_RETRANS_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_L2CAP_DEFAULT_MONITOR_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
LBB0_32:
	movq	_L2CAP_CONF_MODE_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
	leaq	-48(%rbp), %rdi
	leaq	-80(%rbp), %rcx
	movl	$131, %esi
	movl	$24, %edx
	callq	_l2cap_add_conf_opt
	cmpq	(%r15), %r14
	jne	LBB0_36
LBB0_35:
	movq	_L2CAP_CONF_OUTPUT_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 44(%rbx)
LBB0_36:
	movl	40(%rbx), %edi
	callq	_cpu_to_le16
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	%rax, 16(%rbx)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movl	-48(%rbp), %eax
	subl	%ebx, %eax
LBB0_37:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_33:
	movq	_L2CAP_CONF_UNACCEPT@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	20(%rbx), %eax
	movl	%eax, -80(%rbp)
	cmpq	(%r15), %r14
	je	LBB0_35
	jmp	LBB0_36
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @__const.l2cap_parse_conf_req.rfc
l___const.l2cap_parse_conf_req.rfc:
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0

	.comm	_L2CAP_DEFAULT_MTU,8,3          ## @L2CAP_DEFAULT_MTU
	.comm	_L2CAP_CONF_SUCCESS,8,3         ## @L2CAP_CONF_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sk %p"

	.comm	_L2CAP_CONF_OPT_SIZE,4,2        ## @L2CAP_CONF_OPT_SIZE
	.comm	_L2CAP_CONF_HINT,4,2            ## @L2CAP_CONF_HINT
	.comm	_L2CAP_CONF_MASK,4,2            ## @L2CAP_CONF_MASK
	.comm	_L2CAP_FCS_NONE,8,3             ## @L2CAP_FCS_NONE
	.comm	_L2CAP_CONF_NO_FCS_RECV,4,2     ## @L2CAP_CONF_NO_FCS_RECV
	.comm	_L2CAP_CONF_UNKNOWN,8,3         ## @L2CAP_CONF_UNKNOWN
	.comm	_L2CAP_CONF_STATE2_DEVICE,4,2   ## @L2CAP_CONF_STATE2_DEVICE
	.comm	_ECONNREFUSED,4,2               ## @ECONNREFUSED
	.comm	_L2CAP_CONF_UNACCEPT,8,3        ## @L2CAP_CONF_UNACCEPT
	.comm	_L2CAP_DEFAULT_MIN_MTU,8,3      ## @L2CAP_DEFAULT_MIN_MTU
	.comm	_L2CAP_CONF_MTU_DONE,4,2        ## @L2CAP_CONF_MTU_DONE
	.comm	_L2CAP_CONF_MODE_DONE,4,2       ## @L2CAP_CONF_MODE_DONE
	.comm	_L2CAP_DEFAULT_RETRANS_TO,4,2   ## @L2CAP_DEFAULT_RETRANS_TO
	.comm	_L2CAP_DEFAULT_MONITOR_TO,4,2   ## @L2CAP_DEFAULT_MONITOR_TO
	.comm	_L2CAP_CONF_OUTPUT_DONE,4,2     ## @L2CAP_CONF_OUTPUT_DONE
	.no_dead_strip	_l2cap_parse_conf_req
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2cap_parse_conf_req
_l2cap_parse_conf_req:                  ; @l2cap_parse_conf_req
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x19, x1
	mov	x23, x0
	bl	_l2cap_pi
	mov	x20, x0
	str	x19, [sp, #8]                   ; 8-byte Folded Spill
	ldr	x25, [x19, #24]
	ldr	x8, [x0, #80]
	stp	x8, x25, [sp, #64]
	ldr	w26, [x0]
Lloh0:
	adrp	x8, l___const.l2cap_parse_conf_req.rfc@PAGE
Lloh1:
	add	x8, x8, l___const.l2cap_parse_conf_req.rfc@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp, #16]
	ldr	x8, [x8, #16]
	str	x8, [sp, #32]
Lloh2:
	adrp	x8, _L2CAP_DEFAULT_MTU@GOTPAGE
Lloh3:
	ldr	x8, [x8, _L2CAP_DEFAULT_MTU@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x8]
Lloh5:
	adrp	x19, _L2CAP_CONF_SUCCESS@GOTPAGE
Lloh6:
	ldr	x19, [x19, _L2CAP_CONF_SUCCESS@GOTPAGEOFF]
	ldr	x21, [x19]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_BT_DBG
Lloh9:
	adrp	x23, _L2CAP_CONF_OPT_SIZE@GOTPAGE
Lloh10:
	ldr	x23, [x23, _L2CAP_CONF_OPT_SIZE@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w26, w8
	b.ge	LBB0_5
LBB0_1:
	ldr	w8, [x20, #16]
	mov	x23, x19
	cbnz	w8, LBB0_18
; %bb.2:
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_18
; %bb.3:
	ldr	w0, [x20, #20]
	and	w8, w0, #0xfffffffe
	cmp	w8, #128
	b.ne	LBB0_17
; %bb.4:
Lloh11:
	adrp	x8, _L2CAP_CONF_STATE2_DEVICE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _L2CAP_CONF_STATE2_DEVICE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
	ldr	x8, [x20, #64]
	ldr	w1, [x8]
	bl	_l2cap_mode_supported
	cbnz	w0, LBB0_18
	b	LBB0_20
LBB0_5:
Lloh14:
	adrp	x27, _L2CAP_CONF_HINT@GOTPAGE
Lloh15:
	ldr	x27, [x27, _L2CAP_CONF_HINT@GOTPAGEOFF]
Lloh16:
	adrp	x28, _L2CAP_CONF_MASK@GOTPAGE
Lloh17:
	ldr	x28, [x28, _L2CAP_CONF_MASK@GOTPAGEOFF]
Lloh18:
	adrp	x24, lJTI0_0@PAGE
Lloh19:
	add	x24, x24, lJTI0_0@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #48]
	str	x8, [x20, #8]
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x23]
	cmp	w26, w8
	b.lt	LBB0_1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #64
	add	x1, sp, #60
	add	x2, sp, #56
	add	x3, sp, #48
	bl	_l2cap_get_conf_opt
	sub	w26, w26, w0
	ldr	w9, [sp, #60]
	ldr	w10, [x27]
	ldr	w8, [x28]
	and	w8, w8, w9
	str	w8, [sp, #60]
	sub	w11, w8, #131
	cmp	w11, #4
	b.hi	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	adr	x8, LBB0_6
	ldrb	w9, [x24, x11]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #56]
	cmp	w8, #24
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x1, [sp, #48]
	add	x0, sp, #16
	mov	w2, #24
	bl	_memcpy
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	tst	w10, w9
	b.ne	LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh20:
	adrp	x9, _L2CAP_CONF_UNKNOWN@GOTPAGE
Lloh21:
	ldr	x9, [x9, _L2CAP_CONF_UNKNOWN@GOTPAGEOFF]
Lloh22:
	ldr	x21, [x9]
	str	w8, [x25], #1
	str	x25, [sp, #72]
	b	LBB0_7
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x22, [sp, #48]
	b	LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [sp, #48]
Lloh23:
	adrp	x9, _L2CAP_FCS_NONE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _L2CAP_FCS_NONE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh26:
	adrp	x8, _L2CAP_CONF_NO_FCS_RECV@GOTPAGE
Lloh27:
	ldr	x8, [x8, _L2CAP_CONF_NO_FCS_RECV@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
	b	LBB0_7
LBB0_17:
	ldr	w0, [sp, #16]
	ldr	x8, [x20, #64]
	ldr	w1, [x8]
	bl	_l2cap_select_mode
	str	w0, [x20, #20]
LBB0_18:
	ldr	w8, [x20, #20]
	ldr	w9, [sp, #16]
	cmp	w8, w9
	b.eq	LBB0_22
; %bb.19:
Lloh29:
	adrp	x9, _L2CAP_CONF_UNACCEPT@GOTPAGE
Lloh30:
	ldr	x9, [x9, _L2CAP_CONF_UNACCEPT@GOTPAGEOFF]
Lloh31:
	ldr	x21, [x9]
	str	w8, [sp, #16]
	ldr	w8, [x20, #16]
	cmp	w8, #1
	b.ne	LBB0_21
LBB0_20:
Lloh32:
	adrp	x8, _ECONNREFUSED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ECONNREFUSED@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_37
LBB0_21:
	add	x0, sp, #72
	add	x3, sp, #16
	mov	w1, #131
	mov	w2, #24
	bl	_l2cap_add_conf_opt
LBB0_22:
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_25
; %bb.23:
Lloh35:
	adrp	x8, _L2CAP_DEFAULT_MIN_MTU@GOTPAGE
Lloh36:
	ldr	x8, [x8, _L2CAP_DEFAULT_MIN_MTU@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ge	LBB0_26
; %bb.24:
Lloh38:
	adrp	x8, _L2CAP_CONF_UNACCEPT@GOTPAGE
Lloh39:
	ldr	x8, [x8, _L2CAP_CONF_UNACCEPT@GOTPAGEOFF]
Lloh40:
	ldr	x21, [x8]
	ldr	x22, [x20, #24]
	b	LBB0_27
LBB0_25:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_36
LBB0_26:
	str	x22, [x20, #24]
Lloh41:
	adrp	x8, _L2CAP_CONF_MTU_DONE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _L2CAP_CONF_MTU_DONE@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
LBB0_27:
	add	x0, sp, #72
	mov	w1, #133
	mov	w2, #2
	mov	x3, x22
	bl	_l2cap_add_conf_opt
	ldr	w8, [sp, #16]
	cmp	w8, #128
	b.eq	LBB0_31
; %bb.28:
	cmp	w8, #129
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b.eq	LBB0_32
; %bb.29:
	cmp	w8, #130
	b.ne	LBB0_33
; %bb.30:
Lloh44:
	adrp	x8, _L2CAP_FCS_NONE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _L2CAP_FCS_NONE@GOTPAGEOFF]
Lloh46:
	ldr	x8, [x8]
	str	x8, [x20, #32]
Lloh47:
	adrp	x8, _L2CAP_CONF_MODE_DONE@GOTPAGE
Lloh48:
	ldr	x8, [x8, _L2CAP_CONF_MODE_DONE@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
	b	LBB0_34
LBB0_31:
	ldur	d0, [sp, #20]
	str	d0, [x20, #48]
Lloh50:
	adrp	x8, _L2CAP_CONF_MODE_DONE@GOTPAGE
Lloh51:
	ldr	x8, [x8, _L2CAP_CONF_MODE_DONE@GOTPAGEOFF]
Lloh52:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
	add	x0, sp, #72
	add	x3, sp, #16
	mov	w1, #131
	mov	w2, #24
	bl	_l2cap_add_conf_opt
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_34
LBB0_32:
	ldr	w8, [sp, #36]
	str	w8, [x20, #56]
	ldur	d0, [sp, #20]
	str	d0, [x20, #48]
Lloh53:
	adrp	x8, _L2CAP_DEFAULT_RETRANS_TO@GOTPAGE
Lloh54:
	ldr	x8, [x8, _L2CAP_DEFAULT_RETRANS_TO@GOTPAGEOFF]
Lloh55:
	ldr	w8, [x8]
Lloh56:
	adrp	x9, _L2CAP_DEFAULT_MONITOR_TO@GOTPAGE
Lloh57:
	ldr	x9, [x9, _L2CAP_DEFAULT_MONITOR_TO@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #28]
Lloh59:
	adrp	x8, _L2CAP_CONF_MODE_DONE@GOTPAGE
Lloh60:
	ldr	x8, [x8, _L2CAP_CONF_MODE_DONE@GOTPAGEOFF]
Lloh61:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
	add	x0, sp, #72
	add	x3, sp, #16
	mov	w1, #131
	mov	w2, #24
	bl	_l2cap_add_conf_opt
	b	LBB0_34
LBB0_33:
Lloh62:
	adrp	x8, _L2CAP_CONF_UNACCEPT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _L2CAP_CONF_UNACCEPT@GOTPAGEOFF]
Lloh64:
	ldr	x21, [x8]
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w8, [x20, #20]
	str	w8, [sp, #16]
LBB0_34:
	ldr	x8, [x23]
	cmp	x21, x8
	b.ne	LBB0_36
; %bb.35:
Lloh65:
	adrp	x8, _L2CAP_CONF_OUTPUT_DONE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _L2CAP_CONF_OUTPUT_DONE@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	ldr	w9, [x20, #44]
	orr	w8, w9, w8
	str	w8, [x20, #44]
LBB0_36:
	ldr	w0, [x20, #40]
	bl	_cpu_to_le16
	str	x0, [x19, #16]
	mov	x0, x21
	bl	_cpu_to_le16
	str	x0, [x19, #8]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [x19]
	ldr	w8, [sp, #72]
	sub	w0, w8, w19
LBB0_37:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_10-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_14-LBB0_6)>>2
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_15-LBB0_6)>>2
                                        ; -- End function
	.p2align	2                               ; @__const.l2cap_parse_conf_req.rfc
l___const.l2cap_parse_conf_req.rfc:
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0

	.comm	_L2CAP_DEFAULT_MTU,8,3          ; @L2CAP_DEFAULT_MTU
	.comm	_L2CAP_CONF_SUCCESS,8,3         ; @L2CAP_CONF_SUCCESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sk %p"

	.comm	_L2CAP_CONF_OPT_SIZE,4,2        ; @L2CAP_CONF_OPT_SIZE
	.comm	_L2CAP_CONF_HINT,4,2            ; @L2CAP_CONF_HINT
	.comm	_L2CAP_CONF_MASK,4,2            ; @L2CAP_CONF_MASK
	.comm	_L2CAP_FCS_NONE,8,3             ; @L2CAP_FCS_NONE
	.comm	_L2CAP_CONF_NO_FCS_RECV,4,2     ; @L2CAP_CONF_NO_FCS_RECV
	.comm	_L2CAP_CONF_UNKNOWN,8,3         ; @L2CAP_CONF_UNKNOWN
	.comm	_L2CAP_CONF_STATE2_DEVICE,4,2   ; @L2CAP_CONF_STATE2_DEVICE
	.comm	_ECONNREFUSED,4,2               ; @ECONNREFUSED
	.comm	_L2CAP_CONF_UNACCEPT,8,3        ; @L2CAP_CONF_UNACCEPT
	.comm	_L2CAP_DEFAULT_MIN_MTU,8,3      ; @L2CAP_DEFAULT_MIN_MTU
	.comm	_L2CAP_CONF_MTU_DONE,4,2        ; @L2CAP_CONF_MTU_DONE
	.comm	_L2CAP_CONF_MODE_DONE,4,2       ; @L2CAP_CONF_MODE_DONE
	.comm	_L2CAP_DEFAULT_RETRANS_TO,4,2   ; @L2CAP_DEFAULT_RETRANS_TO
	.comm	_L2CAP_DEFAULT_MONITOR_TO,4,2   ; @L2CAP_DEFAULT_MONITOR_TO
	.comm	_L2CAP_CONF_OUTPUT_DONE,4,2     ; @L2CAP_CONF_OUTPUT_DONE
	.no_dead_strip	_l2cap_parse_conf_req
.subsections_via_symbols
