	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_b1_facilities
_get_b1_facilities:                     ## @get_b1_facilities
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_b1_facilities_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%rsi,4), %eax
	cmpq	$25, %rsi
	ja	LBB0_9
## %bb.1:
	movl	$34603520, %ecx                 ## imm = 0x2100200
	btq	%rsi, %rcx
	jae	LBB0_9
## %bb.2:
	movq	8(%rdi), %rdx
	orq	(%rdi), %rdx
	movq	_PRIVATE_DTMF_TONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %r9d
	shlq	%cl, %r9
	btq	%rcx, %rdx
	jae	LBB0_3
LBB0_9:
	addq	$-17, %rsi
	cmpq	$1, %rsi
	ja	LBB0_12
## %bb.10:
	movq	16(%rdi), %rcx
	movq	_MANUFACTURER_FEATURE_V18@GOTPCREL(%rip), %rdx
	movq	_MANUFACTURER_FEATURE_VOWN@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	testl	%esi, 8(%rcx)
	je	LBB0_12
## %bb.11:
	movq	_B1_FACILITY_DTMFX@GOTPCREL(%rip), %rcx
	movq	_B1_FACILITY_DTMFR@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
LBB0_12:
	popq	%rbp
	retq
LBB0_3:
	movq	16(%rdi), %r8
	movq	24(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.4:
	movq	(%r8), %rdx
	movslq	(%rcx), %rcx
	testq	%r9, -8(%rdx,%rcx,8)
	jne	LBB0_9
LBB0_5:
	movl	8(%r8), %ecx
	movq	_MANUFACTURER_FEATURE_SOFTDTMF_SEND@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_7
## %bb.6:
	movq	_B1_FACILITY_DTMFX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_7:
	orl	%edx, %eax
	movq	_MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_9
## %bb.8:
	movq	_B1_FACILITY_DTMFR@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_b1_facilities_table,8,3        ## @b1_facilities_table
	.comm	_PRIVATE_DTMF_TONE,8,3          ## @PRIVATE_DTMF_TONE
	.comm	_MANUFACTURER_FEATURE_SOFTDTMF_SEND,4,2 ## @MANUFACTURER_FEATURE_SOFTDTMF_SEND
	.comm	_B1_FACILITY_DTMFX,4,2          ## @B1_FACILITY_DTMFX
	.comm	_MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE,4,2 ## @MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE
	.comm	_B1_FACILITY_DTMFR,4,2          ## @B1_FACILITY_DTMFR
	.comm	_MANUFACTURER_FEATURE_V18,4,2   ## @MANUFACTURER_FEATURE_V18
	.comm	_MANUFACTURER_FEATURE_VOWN,4,2  ## @MANUFACTURER_FEATURE_VOWN
	.no_dead_strip	_get_b1_facilities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_b1_facilities
_get_b1_facilities:                     ; @get_b1_facilities
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _b1_facilities_table@GOTPAGE
Lloh1:
	ldr	x9, [x9, _b1_facilities_table@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w0, [x9, x1, lsl #2]
	cmp	x1, #25
	b.hi	LBB0_3
; %bb.1:
	mov	w9, #1
	lsl	x9, x9, x1
	mov	w10, #512
	movk	w10, #528, lsl #16
	tst	x9, x10
	b.eq	LBB0_3
; %bb.2:
	ldp	x9, x10, [x8]
	orr	x9, x10, x9
Lloh3:
	adrp	x10, _PRIVATE_DTMF_TONE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PRIVATE_DTMF_TONE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	mov	w11, #1
	lsl	x10, x11, x10
	tst	x10, x9
	b.eq	LBB0_7
LBB0_3:
	sub	x9, x1, #17
	cmp	x9, #1
	b.hi	LBB0_6
; %bb.4:
	ldr	x8, [x8, #16]
	ldr	w8, [x8, #8]
Lloh6:
	adrp	x9, _MANUFACTURER_FEATURE_V18@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MANUFACTURER_FEATURE_V18@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _MANUFACTURER_FEATURE_VOWN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MANUFACTURER_FEATURE_VOWN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _B1_FACILITY_DTMFX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _B1_FACILITY_DTMFX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _B1_FACILITY_DTMFR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _B1_FACILITY_DTMFR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w0
	orr	w0, w8, w9
LBB0_6:
	ret
LBB0_7:
	ldp	x9, x11, [x8, #16]
	cbz	x11, LBB0_9
; %bb.8:
	ldr	x12, [x9]
	ldrsw	x11, [x11]
	add	x11, x12, x11, lsl #3
	ldur	x11, [x11, #-8]
	tst	x11, x10
	b.ne	LBB0_3
LBB0_9:
Lloh18:
	adrp	x10, _MANUFACTURER_FEATURE_SOFTDTMF_SEND@GOTPAGE
Lloh19:
	ldr	x10, [x10, _MANUFACTURER_FEATURE_SOFTDTMF_SEND@GOTPAGEOFF]
	ldr	w9, [x9, #8]
Lloh20:
	ldr	w10, [x10]
Lloh21:
	adrp	x11, _B1_FACILITY_DTMFX@GOTPAGE
Lloh22:
	ldr	x11, [x11, _B1_FACILITY_DTMFX@GOTPAGEOFF]
Lloh23:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w10, wzr, w11, eq
	orr	w0, w10, w0
Lloh24:
	adrp	x10, _MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE@GOTPAGE
Lloh25:
	ldr	x10, [x10, _MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE@GOTPAGEOFF]
Lloh26:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.10:
Lloh27:
	adrp	x9, _B1_FACILITY_DTMFR@GOTPAGE
Lloh28:
	ldr	x9, [x9, _B1_FACILITY_DTMFR@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w0, w9, w0
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_b1_facilities_table,8,3        ; @b1_facilities_table
	.comm	_PRIVATE_DTMF_TONE,8,3          ; @PRIVATE_DTMF_TONE
	.comm	_MANUFACTURER_FEATURE_SOFTDTMF_SEND,4,2 ; @MANUFACTURER_FEATURE_SOFTDTMF_SEND
	.comm	_B1_FACILITY_DTMFX,4,2          ; @B1_FACILITY_DTMFX
	.comm	_MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE,4,2 ; @MANUFACTURER_FEATURE_SOFTDTMF_RECEIVE
	.comm	_B1_FACILITY_DTMFR,4,2          ; @B1_FACILITY_DTMFR
	.comm	_MANUFACTURER_FEATURE_V18,4,2   ; @MANUFACTURER_FEATURE_V18
	.comm	_MANUFACTURER_FEATURE_VOWN,4,2  ; @MANUFACTURER_FEATURE_VOWN
	.no_dead_strip	_get_b1_facilities
.subsections_via_symbols
