	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function l2cap_mode_supported
_l2cap_mode_supported:                  ## @l2cap_mode_supported
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_enable_ertm@GOTPCREL(%rip), %r9
	movq	_L2CAP_FEAT_ERTM@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_L2CAP_FEAT_STREAMING@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movl	%r10d, %ecx
	orl	%r8d, %ecx
	xorl	%eax, %eax
	cmpq	$0, (%r9)
	cmovel	%eax, %ecx
	movq	_l2cap_feat_mask@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	cmpl	$128, %edi
	je	LBB0_3
## %bb.1:
	cmpl	$129, %edi
	jne	LBB0_5
## %bb.2:
	andl	%esi, %ecx
	andl	%r8d, %ecx
	jmp	LBB0_4
LBB0_3:
	andl	%esi, %ecx
	andl	%r10d, %ecx
LBB0_4:
	movl	%ecx, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_l2cap_feat_mask,4,2            ## @l2cap_feat_mask
	.comm	_enable_ertm,8,3                ## @enable_ertm
	.comm	_L2CAP_FEAT_ERTM,4,2            ## @L2CAP_FEAT_ERTM
	.comm	_L2CAP_FEAT_STREAMING,4,2       ## @L2CAP_FEAT_STREAMING
	.no_dead_strip	_l2cap_mode_supported
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function l2cap_mode_supported
_l2cap_mode_supported:                  ; @l2cap_mode_supported
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _l2cap_feat_mask@GOTPAGE
Lloh1:
	ldr	x8, [x8, _l2cap_feat_mask@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _enable_ertm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _enable_ertm@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x8]
Lloh6:
	adrp	x8, _L2CAP_FEAT_ERTM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _L2CAP_FEAT_ERTM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
Lloh9:
	adrp	x8, _L2CAP_FEAT_STREAMING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _L2CAP_FEAT_STREAMING@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w12, w8, w9
	cmp	x11, #0
	csel	w11, wzr, w12, eq
	orr	w10, w11, w10
	cmp	w0, #128
	b.eq	LBB0_3
; %bb.1:
	mov	w8, #0
	cmp	w0, #129
	b.ne	LBB0_4
; %bb.2:
	and	w8, w10, w1
	and	w0, w8, w9
	ret
LBB0_3:
	and	w9, w10, w1
	and	w8, w9, w8
LBB0_4:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_l2cap_feat_mask,4,2            ; @l2cap_feat_mask
	.comm	_enable_ertm,8,3                ; @enable_ertm
	.comm	_L2CAP_FEAT_ERTM,4,2            ; @L2CAP_FEAT_ERTM
	.comm	_L2CAP_FEAT_STREAMING,4,2       ; @L2CAP_FEAT_STREAMING
	.no_dead_strip	_l2cap_mode_supported
.subsections_via_symbols
