	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function hfcmulti_leds
LCPI0_0:
	.long	64                              ## 0x40
	.long	32                              ## 0x20
	.long	128                             ## 0x80
	.long	16                              ## 0x10
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_hfcmulti_leds:                         ## @hfcmulti_leds
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	decl	%eax
	cmpl	$7, %eax
	ja	LBB0_112
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	8(%r14), %rcx
	movq	48(%r14), %rax
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	cmpq	$0, (%rax,%rcx)
	je	LBB0_50
## %bb.3:
	cmpl	$0, 8(%rax,%rcx)
	je	LBB0_53
## %bb.4:
	movl	$1, -44(%rbp)
	movl	$1, %r8d
	cmpl	$1, 16(%r14)
	jne	LBB0_54
LBB0_5:
	movq	24(%r14), %rcx
	movl	8(%rcx), %edi
	testl	%edi, %edi
	jne	LBB0_68
## %bb.6:
	cmpl	$0, 32(%r14)
	je	LBB0_67
## %bb.7:
	movq	_poll@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movl	%edi, 8(%rcx)
	jmp	LBB0_68
LBB0_8:
	movq	48(%r14), %rax
	movq	_poll@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	addq	$32, %rax
	xorl	%edx, %edx
	movq	_ISDN_P_NT_S0@GOTPCREL(%rip), %rsi
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movl	$0, -48(%rbp,%rdx,4)
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rdx
	addq	$64, %rax
	cmpq	$4, %rdx
	je	LBB0_44
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%rcx), %edi
	testl	%edi, %edi
	je	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	4(%rcx), %ecx
	xorl	%ebx, %ebx
	cmpl	(%rsi), %ecx
	setne	%bl
	leal	3(,%rbx,4), %ecx
	cmpl	%ecx, %edi
	jne	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$1, -48(%rbp,%rdx,4)
	movl	32(%r14), %ecx
	orl	36(%r14), %ecx
	movl	%ecx, 32(%r14)
	movq	24(%r14), %rdi
	movl	(%rdi,%rdx,4), %ebx
	testl	%ebx, %ebx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_19
	jmp	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	$2, -48(%rbp,%rdx,4)
	movq	24(%r14), %rcx
	movl	$0, (%rcx,%rdx,4)
	jmp	LBB0_10
LBB0_17:                                ##   in Loop: Header=BB0_11 Depth=1
	btl	%edx, %ecx
	jae	LBB0_10
## %bb.18:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	%r8d, (%rdi,%rdx,4)
	movl	%r8d, %ebx
	testl	%ebx, %ebx
	je	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$1023, %ebx                     ## imm = 0x3FF
	jg	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$0, -48(%rbp,%rdx,4)
	jmp	LBB0_23
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$2048, %ebx                     ## imm = 0x800
	jb	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	$0, (%rdi,%rdx,4)
	jmp	LBB0_10
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.24:                              ##   in Loop: Header=BB0_11 Depth=1
	addl	%r8d, %ebx
	movl	%ebx, (%rdi,%rdx,4)
	jmp	LBB0_10
LBB0_25:
	movq	48(%r14), %rdx
	movq	_poll@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	32(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.26:
	movl	(%rsi), %ecx
	testl	%ecx, %ecx
	je	LBB0_30
## %bb.27:
	movl	4(%rsi), %esi
	movq	_ISDN_P_NT_S0@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	cmpl	(%rdi), %esi
	setne	%bl
	leal	3(,%rbx,4), %esi
	cmpl	%esi, %ecx
	jne	LBB0_66
## %bb.28:
	movl	32(%r14), %ecx
	orl	36(%r14), %ecx
	movl	%ecx, 32(%r14)
	movq	24(%r14), %rsi
	movl	(%rsi), %edi
	testl	%edi, %edi
	jne	LBB0_89
## %bb.29:
	testb	$1, %cl
	jne	LBB0_88
LBB0_30:
	movl	$0, -48(%rbp)
	xorl	%ecx, %ecx
	jmp	LBB0_94
LBB0_31:
	movq	48(%r14), %rax
	movq	_poll@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	addq	$32, %rax
	movl	$255, %r15d
	xorl	%r8d, %r8d
	movq	_ISDN_P_NT_S0@GOTPCREL(%rip), %r9
	xorl	%ecx, %ecx
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_34 Depth=1
	movq	24(%r14), %rdx
	movl	$0, (%rdx,%rcx,4)
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_34 Depth=1
	incq	%rcx
	addq	$64, %rax
	cmpq	$8, %rcx
	je	LBB0_48
LBB0_34:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_33
## %bb.35:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_33
## %bb.36:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	4(%rsi), %esi
	xorl	%edi, %edi
	cmpl	(%r9), %esi
	setne	%dil
	leal	3(,%rdi,4), %esi
	cmpl	%esi, %edx
	jne	LBB0_32
## %bb.37:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	$1, %edi
	shll	%cl, %edi
	movl	$-2, %edx
	roll	%cl, %edx
	movslq	%edx, %rdx
	andq	%rdx, %r15
	movl	32(%r14), %ebx
	orl	36(%r14), %ebx
	movl	%ebx, 32(%r14)
	movq	24(%r14), %rsi
	movl	(%rsi,%rcx,4), %edx
	testl	%edx, %edx
	jne	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_34 Depth=1
	andl	%edi, %ebx
	je	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	%r10d, (%rsi,%rcx,4)
	movl	%r10d, %edx
LBB0_40:                                ##   in Loop: Header=BB0_34 Depth=1
	cmpl	$1024, %edx                     ## imm = 0x400
	cmovgel	%r8d, %edi
	orq	%rdi, %r15
	cmpl	$2048, %edx                     ## imm = 0x800
	jl	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_34 Depth=1
	movl	$0, (%rsi,%rcx,4)
	jmp	LBB0_33
LBB0_42:                                ##   in Loop: Header=BB0_34 Depth=1
	testl	%edx, %edx
	je	LBB0_33
## %bb.43:                              ##   in Loop: Header=BB0_34 Depth=1
	addl	%r10d, %edx
	movl	%edx, (%rsi,%rcx,4)
	jmp	LBB0_33
LBB0_44:
	movq	_HFC_CHIP_B410P@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	56(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_51
## %bb.45:
	movl	-48(%rbp), %ecx
	movl	-44(%rbp), %eax
	xorl	%edx, %edx
	cmpl	$2, %ecx
	sete	%dl
	cmpl	$1, %ecx
	movl	$2, %ebx
	cmovnel	%edx, %ebx
	cmpl	$1, %eax
	je	LBB0_55
## %bb.46:
	cmpl	$2, %eax
	jne	LBB0_56
## %bb.47:
	orl	$4, %ebx
	jmp	LBB0_56
LBB0_48:
	movq	%r15, %rax
	shlq	$24, %rax
	movq	%r15, %rcx
	shlq	$16, %rcx
	orq	%r15, %rcx
	shlq	$8, %r15
	orq	%rax, %r15
	orq	%rcx, %r15
	movslq	40(%r14), %rax
	cmpq	%rax, %r15
	je	LBB0_112
## %bb.49:
	movq	_R_BRG_PCM_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_V_PCM_CLK@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	$1, %edx
	movq	%r14, %rdi
	callq	_HFC_outb_nodebug
	movl	44(%r14), %esi
	addl	$4, %esi
	movl	$16384, %edi                    ## imm = 0x4000
	callq	_outw
	movl	44(%r14), %esi
	movq	%r15, %rdi
	callq	_outl
	movl	(%r12), %esi
	movl	(%rbx), %edx
	movq	%r14, %rdi
	callq	_HFC_outb_nodebug
	movl	%r15d, 40(%r14)
	jmp	LBB0_112
LBB0_50:
	xorl	%edx, %edx
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%edi, %edi
	jmp	LBB0_84
LBB0_51:
	movdqa	-48(%rbp), %xmm0
	pxor	%xmm1, %xmm1
	movdqa	%xmm0, %xmm2
	pcmpgtd	%xmm1, %xmm2
	movmskps	%xmm2, %eax
	movl	%eax, %ecx
	andb	$4, %cl
	shrb	$2, %cl
	movl	%eax, %edx
	shrb	$3, %dl
	movzbl	%dl, %edx
	movl	%eax, %esi
	andl	$2, %esi
	orl	%edx, %esi
	andl	$1, %eax
	leal	(%rsi,%rax,4), %eax
	movzbl	%cl, %ecx
	leal	(%rax,%rcx,8), %edx
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [64,32,128,16]
	pmulld	%xmm1, %xmm0
	pand	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %r15d
	movl	%r15d, %ebx
	orl	%edx, %ebx
	cmpl	40(%r14), %ebx
	je	LBB0_112
## %bb.52:
	movq	_R_GPIO_EN1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_HFC_outb_nodebug
	movq	_R_GPIO_OUT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shrl	$4, %r15d
	jmp	LBB0_109
LBB0_53:
	xorl	%r8d, %r8d
	cmpl	$1, 16(%r14)
	je	LBB0_5
LBB0_54:
	movl	$1, -48(%rbp)
	movq	24(%r14), %rcx
	movq	$0, 8(%rcx)
	movl	$1, %edi
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_84
LBB0_55:
	orl	$8, %ebx
LBB0_56:
	movl	-40(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_59
## %bb.57:
	cmpl	$2, %eax
	jne	LBB0_60
## %bb.58:
	orl	$16, %ebx
	jmp	LBB0_60
LBB0_59:
	orl	$32, %ebx
LBB0_60:
	movl	-36(%rbp), %eax
	cmpl	$1, %eax
	je	LBB0_64
## %bb.61:
	cmpl	$2, %eax
	jne	LBB0_63
## %bb.62:
	orl	$64, %ebx
LBB0_63:
	cmpl	40(%r14), %ebx
	jne	LBB0_65
	jmp	LBB0_112
LBB0_64:
	orl	$128, %ebx
	cmpl	40(%r14), %ebx
	je	LBB0_112
LBB0_65:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$427, %edx                      ## imm = 0x1AB
	movl	%ebx, %ecx
	callq	_vpm_out
	jmp	LBB0_111
LBB0_66:
	movl	$2, -48(%rbp)
	movq	24(%r14), %rcx
	movl	$0, (%rcx)
	movl	$2, %ecx
	jmp	LBB0_94
LBB0_67:
	xorl	%edi, %edi
LBB0_68:
	movl	12(%rcx), %ebx
	testl	%ebx, %ebx
	jne	LBB0_72
## %bb.69:
	cmpl	$0, 36(%r14)
	je	LBB0_71
## %bb.70:
	movq	_poll@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	movl	%ebx, 12(%rcx)
	jmp	LBB0_72
LBB0_71:
	xorl	%ebx, %ebx
LBB0_72:
	movl	$1, %edx
	movl	$1, %esi
	testl	%edi, %edi
	je	LBB0_75
## %bb.73:
	movl	$1, %esi
	cmpl	$1023, %edi                     ## imm = 0x3FF
	jg	LBB0_75
## %bb.74:
	movl	$0, -40(%rbp)
	xorl	%esi, %esi
LBB0_75:
	testl	%ebx, %ebx
	je	LBB0_78
## %bb.76:
	cmpl	$1023, %ebx                     ## imm = 0x3FF
	jg	LBB0_78
## %bb.77:
	movl	$0, -36(%rbp)
	xorl	%edx, %edx
LBB0_78:
	cmpl	$2048, %edi                     ## imm = 0x800
	jl	LBB0_79
## %bb.86:
	movl	$0, 8(%rcx)
	xorl	%edi, %edi
	cmpl	$2048, %ebx                     ## imm = 0x800
	jge	LBB0_87
LBB0_80:
	testl	%edi, %edi
	je	LBB0_82
LBB0_81:
	movq	_poll@GOTPCREL(%rip), %rax
	addl	(%rax), %edi
	movl	%edi, 8(%rcx)
LBB0_82:
	xorl	%edi, %edi
	testl	%ebx, %ebx
	je	LBB0_84
## %bb.83:
	movq	_poll@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movl	%ebx, 12(%rcx)
LBB0_84:
	leal	(%rdi,%r8,4), %eax
	leal	(%rax,%rsi,2), %eax
	leal	(%rax,%rdx,8), %ebx
	xorl	$15, %ebx
	cmpl	40(%r14), %ebx
	je	LBB0_112
## %bb.85:
	movq	_R_GPIO_OUT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	jmp	LBB0_110
LBB0_79:
	cmpl	$2048, %ebx                     ## imm = 0x800
	jl	LBB0_80
LBB0_87:
	movl	$0, 12(%rcx)
	xorl	%ebx, %ebx
	testl	%edi, %edi
	jne	LBB0_81
	jmp	LBB0_82
LBB0_88:
	movl	%eax, (%rsi)
	movl	%eax, %edi
LBB0_89:
	cmpl	$1024, %edi                     ## imm = 0x400
	jge	LBB0_91
## %bb.90:
	movl	$0, -48(%rbp)
	xorl	%ecx, %ecx
	testl	%edi, %edi
	jne	LBB0_93
	jmp	LBB0_94
LBB0_91:
	movl	$1, %ecx
	cmpl	$2048, %edi                     ## imm = 0x800
	jb	LBB0_93
## %bb.92:
	movl	$0, (%rsi)
	movl	$1, %ecx
	jmp	LBB0_94
LBB0_93:
	addl	%eax, %edi
	movl	%edi, (%rsi)
LBB0_94:
	movq	96(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_99
## %bb.95:
	movl	(%rsi), %edx
	testl	%edx, %edx
	je	LBB0_99
## %bb.96:
	movl	4(%rsi), %esi
	movq	_ISDN_P_NT_S0@GOTPCREL(%rip), %rdi
	xorl	%ebx, %ebx
	cmpl	(%rdi), %esi
	setne	%bl
	leal	3(,%rbx,4), %esi
	cmpl	%esi, %edx
	jne	LBB0_100
## %bb.97:
	movl	32(%r14), %edx
	orl	36(%r14), %edx
	movl	%edx, 32(%r14)
	movq	24(%r14), %rsi
	movl	4(%rsi), %edi
	testl	%edi, %edi
	jne	LBB0_102
## %bb.98:
	testb	$2, %dl
	jne	LBB0_101
LBB0_99:
	movl	$0, -44(%rbp)
	xorl	%edx, %edx
	jmp	LBB0_107
LBB0_100:
	movl	$2, -44(%rbp)
	movq	24(%r14), %rax
	movl	$0, 4(%rax)
	movl	$2, %edx
	jmp	LBB0_107
LBB0_101:
	movl	%eax, 4(%rsi)
	movl	%eax, %edi
LBB0_102:
	cmpl	$1024, %edi                     ## imm = 0x400
	jge	LBB0_104
## %bb.103:
	movl	$0, -44(%rbp)
	xorl	%edx, %edx
	testl	%edi, %edi
	jne	LBB0_106
	jmp	LBB0_107
LBB0_104:
	movl	$1, %edx
	cmpl	$2048, %edi                     ## imm = 0x800
	jb	LBB0_106
## %bb.105:
	movl	$0, 4(%rsi)
	movl	$1, %edx
	jmp	LBB0_107
LBB0_106:
	addl	%edi, %eax
	movl	%eax, 4(%rsi)
LBB0_107:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	xorl	%esi, %esi
	testl	%edx, %edx
	setne	%sil
	movl	%ecx, %edi
	andl	$1, %edi
	shll	$2, %edi
	movl	%edx, %ebx
	andl	$1, %ebx
	leal	(%rdi,%rbx,8), %r15d
	orl	%r15d, %eax
	leal	(%rax,%rsi,2), %ebx
	cmpl	40(%r14), %ebx
	je	LBB0_112
## %bb.108:
	xorl	%eax, %eax
	testl	%edx, %edx
	setne	%al
	xorl	%edx, %edx
	testl	%ecx, %ecx
	setne	%dl
	movq	_R_GPIO_EN1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	shll	$2, %edx
	leal	(%rdx,%rax,8), %edx
	movq	%r14, %rdi
	callq	_HFC_outb_nodebug
	movq	_R_GPIO_OUT1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
LBB0_109:
	movq	%r14, %rdi
	movl	%r15d, %edx
LBB0_110:
	callq	_HFC_outb_nodebug
LBB0_111:
	movl	%ebx, 40(%r14)
LBB0_112:
	movq	$0, 32(%r14)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_112, LBB0_112-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_25
	.long	L0_0_set_112
	.long	L0_0_set_112
	.long	L0_0_set_112
	.long	L0_0_set_112
	.long	L0_0_set_31
	.end_data_region
                                        ## -- End function
	.comm	_poll,8,3                       ## @poll
	.comm	_R_GPIO_OUT1,4,2                ## @R_GPIO_OUT1
	.comm	_ISDN_P_NT_S0,4,2               ## @ISDN_P_NT_S0
	.comm	_HFC_CHIP_B410P,4,2             ## @HFC_CHIP_B410P
	.comm	_R_GPIO_EN1,4,2                 ## @R_GPIO_EN1
	.comm	_R_BRG_PCM_CFG,4,2              ## @R_BRG_PCM_CFG
	.comm	_V_PCM_CLK,4,2                  ## @V_PCM_CLK
	.no_dead_strip	_hfcmulti_leds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hfcmulti_leds
_hfcmulti_leds:                         ; @hfcmulti_leds
	.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	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	w8, [x0]
	sub	w8, w8, #1
	cmp	w8, #7
	b.hi	LBB0_99
; %bb.1:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #8]
	ldr	x9, [x9]
	lsl	x10, x9, #4
	ldr	x10, [x8, x10]
	cbz	x10, LBB0_60
; %bb.3:
	add	x8, x8, x9, lsl #4
	ldr	w8, [x8, #8]
	cbz	w8, LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [sp, #12]
LBB0_5:
	ldr	w9, [x19, #16]
	cmp	w9, #1
	b.ne	LBB0_63
; %bb.6:
	ldr	x9, [x19, #24]
	ldr	w11, [x9, #8]
	cbz	w11, LBB0_70
; %bb.7:
	ldr	w13, [x9, #12]
	cbz	w13, LBB0_73
LBB0_8:
	mov	w10, #1
	cbz	w11, LBB0_11
LBB0_9:
	cmp	w11, #1023
	b.gt	LBB0_11
; %bb.10:
	mov	w10, #0
	str	wzr, [sp, #16]
LBB0_11:
	mov	w12, #1
	cbz	w13, LBB0_14
; %bb.12:
	cmp	w13, #1023
	b.gt	LBB0_14
; %bb.13:
	mov	w12, #0
	str	wzr, [sp, #20]
LBB0_14:
	cmp	w11, #2048
	b.ge	LBB0_68
; %bb.15:
	cmp	w13, #2048
	b.ge	LBB0_69
LBB0_16:
	cbz	w11, LBB0_18
LBB0_17:
Lloh5:
	adrp	x14, _poll@GOTPAGE
Lloh6:
	ldr	x14, [x14, _poll@GOTPAGEOFF]
Lloh7:
	ldr	w14, [x14]
	add	w11, w14, w11
	str	w11, [x9, #8]
LBB0_18:
	mov	w11, #0
	cbz	w13, LBB0_64
; %bb.19:
Lloh8:
	adrp	x14, _poll@GOTPAGE
Lloh9:
	ldr	x14, [x14, _poll@GOTPAGEOFF]
Lloh10:
	ldr	w14, [x14]
	add	w13, w14, w13
	str	w13, [x9, #12]
	b	LBB0_64
LBB0_20:
	mov	x8, #0
	ldr	x9, [x19, #48]
Lloh11:
	adrp	x12, _poll@GOTPAGE
Lloh12:
	ldr	x12, [x12, _poll@GOTPAGEOFF]
	add	x9, x9, #32
Lloh13:
	adrp	x10, _ISDN_P_NT_S0@GOTPAGE
Lloh14:
	ldr	x10, [x10, _ISDN_P_NT_S0@GOTPAGEOFF]
	add	x11, sp, #8
Lloh15:
	ldr	x12, [x12]
	mov	w13, #7
	mov	w14, #3
	mov	w15, #1
	mov	w16, #2
	b	LBB0_23
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	str	wzr, [x11, x8, lsl #2]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x8, x8, #1
	add	x9, x9, #64
	cmp	x8, #4
	b.eq	LBB0_55
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x9]
	cbz	x0, LBB0_21
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w17, [x0]
	cbz	w17, LBB0_21
; %bb.25:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w0, [x0, #4]
	ldr	w1, [x10]
	cmp	w0, w1
	csel	w1, w14, w13, eq
	lsl	x0, x8, #2
	cmp	w17, w1
	b.ne	LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	str	w15, [x11, x0]
	ldp	w1, w17, [x19, #32]
	orr	w1, w1, w17
	str	w1, [x19, #32]
	ldr	x17, [x19, #24]
	ldr	w0, [x17, x0]
	cbz	w0, LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_23 Depth=1
	cbnz	w0, LBB0_31
	b	LBB0_33
LBB0_28:                                ;   in Loop: Header=BB0_23 Depth=1
	str	w16, [x11, x0]
	ldr	x17, [x19, #24]
	str	wzr, [x17, x0]
	b	LBB0_22
LBB0_29:                                ;   in Loop: Header=BB0_23 Depth=1
	lsr	w0, w1, w8
	tbz	w0, #0, LBB0_22
; %bb.30:                               ;   in Loop: Header=BB0_23 Depth=1
	str	w12, [x17, x8, lsl #2]
	mov	x0, x12
	cbz	w0, LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	w0, #1023
	b.gt	LBB0_33
; %bb.32:                               ;   in Loop: Header=BB0_23 Depth=1
	str	wzr, [x11, x8, lsl #2]
	b	LBB0_35
LBB0_33:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	w0, #2048
	b.lo	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_23 Depth=1
	str	wzr, [x17, x8, lsl #2]
	b	LBB0_22
LBB0_35:                                ;   in Loop: Header=BB0_23 Depth=1
	cbz	w0, LBB0_22
; %bb.36:                               ;   in Loop: Header=BB0_23 Depth=1
	add	w0, w12, w0
	str	w0, [x17, x8, lsl #2]
	b	LBB0_22
LBB0_37:
	ldr	x10, [x19, #48]
Lloh16:
	adrp	x8, _poll@GOTPAGE
Lloh17:
	ldr	x8, [x8, _poll@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x11, [x10, #32]
	cbz	x11, LBB0_42
; %bb.38:
	ldr	w9, [x11]
	cbz	w9, LBB0_42
; %bb.39:
	ldr	w11, [x11, #4]
Lloh19:
	adrp	x12, _ISDN_P_NT_S0@GOTPAGE
Lloh20:
	ldr	x12, [x12, _ISDN_P_NT_S0@GOTPAGEOFF]
Lloh21:
	ldr	w12, [x12]
	mov	w13, #7
	mov	w14, #3
	cmp	w11, w12
	csel	w11, w14, w13, eq
	cmp	w9, w11
	b.ne	LBB0_67
; %bb.40:
	ldp	w11, w9, [x19, #32]
	orr	w9, w11, w9
	str	w9, [x19, #32]
	ldr	x11, [x19, #24]
	ldr	w12, [x11]
	cbnz	w12, LBB0_77
; %bb.41:
	tbnz	w9, #0, LBB0_76
LBB0_42:
	mov	w9, #0
	str	wzr, [sp, #8]
	b	LBB0_83
LBB0_43:
	mov	x8, #0
	ldr	x10, [x19, #48]
Lloh22:
	adrp	x9, _poll@GOTPAGE
Lloh23:
	ldr	x9, [x9, _poll@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x10, x10, #32
	mov	w11, #255
Lloh25:
	adrp	x12, _ISDN_P_NT_S0@GOTPAGE
Lloh26:
	ldr	x12, [x12, _ISDN_P_NT_S0@GOTPAGEOFF]
	mov	w13, #7
	mov	w14, #3
	mov	w15, #1
	b	LBB0_47
LBB0_44:                                ;   in Loop: Header=BB0_47 Depth=1
	ldr	x16, [x19, #24]
LBB0_45:                                ;   in Loop: Header=BB0_47 Depth=1
	str	wzr, [x16, x8, lsl #2]
LBB0_46:                                ;   in Loop: Header=BB0_47 Depth=1
	add	x8, x8, #1
	add	x10, x10, #64
	cmp	x8, #8
	b.eq	LBB0_58
LBB0_47:                                ; =>This Inner Loop Header: Depth=1
	ldr	x16, [x10]
	cbz	x16, LBB0_46
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=1
	ldr	w17, [x16]
	cbz	w17, LBB0_46
; %bb.49:                               ;   in Loop: Header=BB0_47 Depth=1
	ldr	w16, [x16, #4]
	ldr	w0, [x12]
	cmp	w16, w0
	csel	w16, w14, w13, eq
	cmp	w17, w16
	b.ne	LBB0_44
; %bb.50:                               ;   in Loop: Header=BB0_47 Depth=1
	lsl	w0, w15, w8
	ldp	w17, w16, [x19, #32]
	orr	w1, w17, w16
	str	w1, [x19, #32]
	ldr	x16, [x19, #24]
	ldr	w17, [x16, x8, lsl #2]
	and	w1, w1, w0
	cmp	w17, #0
	ccmp	w1, #0, #4, eq
	b.eq	LBB0_52
; %bb.51:                               ;   in Loop: Header=BB0_47 Depth=1
	str	w9, [x16, x8, lsl #2]
	mov	x17, x9
LBB0_52:                                ;   in Loop: Header=BB0_47 Depth=1
	mvn	w1, w0
	sxtw	x1, w1
	and	x11, x11, x1
	cmp	w17, #1024
	csel	w0, w0, wzr, lt
	orr	x11, x11, x0
	cmp	w17, #2048
	b.ge	LBB0_45
; %bb.53:                               ;   in Loop: Header=BB0_47 Depth=1
	cbz	w17, LBB0_46
; %bb.54:                               ;   in Loop: Header=BB0_47 Depth=1
	add	w17, w9, w17
	str	w17, [x16, x8, lsl #2]
	b	LBB0_46
LBB0_55:
Lloh27:
	adrp	x8, _HFC_CHIP_B410P@GOTPAGE
Lloh28:
	ldr	x8, [x8, _HFC_CHIP_B410P@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	add	x1, x19, #56
	bl	_test_bit
	cbz	w0, LBB0_61
; %bb.56:
	ldp	w8, w9, [sp, #8]
	cmp	w8, #2
	cset	w10, eq
	mov	w11, #2
	cmp	w8, #1
	csel	w8, w11, w10, eq
	orr	w10, w8, #0x8
	orr	w11, w8, #0x4
	cmp	w9, #2
	csel	w8, w8, w11, ne
	cmp	w9, #1
	csel	w8, w10, w8, eq
	orr	w9, w8, #0x10
	ldp	w10, w11, [sp, #16]
	cmp	w10, #2
	csel	w9, w8, w9, ne
	orr	w8, w8, #0x20
	cmp	w10, #1
	csel	w8, w8, w9, eq
	orr	w9, w8, #0x80
	orr	w10, w8, #0x40
	cmp	w11, #2
	csel	w8, w8, w10, ne
	cmp	w11, #1
	csel	w20, w9, w8, eq
	ldr	w8, [x19, #40]
	cmp	w20, w8
	b.eq	LBB0_99
; %bb.57:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #427
	mov	x3, x20
	bl	_vpm_out
	str	w20, [x19, #40]
	b	LBB0_99
LBB0_58:
	orr	x8, x11, x11, lsl #16
	orr	x8, x8, x11, lsl #24
	orr	x20, x8, x11, lsl #8
	ldrsw	x8, [x19, #40]
	cmp	x20, x8
	b.eq	LBB0_99
; %bb.59:
Lloh30:
	adrp	x21, _R_BRG_PCM_CFG@GOTPAGE
Lloh31:
	ldr	x21, [x21, _R_BRG_PCM_CFG@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh32:
	adrp	x22, _V_PCM_CLK@GOTPAGE
Lloh33:
	ldr	x22, [x22, _V_PCM_CLK@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w2, w8, #0x1
	mov	x0, x19
	bl	_HFC_outb_nodebug
	ldr	w8, [x19, #44]
	add	w1, w8, #4
	mov	w0, #16384
	bl	_outw
	ldr	w1, [x19, #44]
	mov	x0, x20
	bl	_outl
	ldr	w1, [x21]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_HFC_outb_nodebug
	str	w20, [x19, #40]
	b	LBB0_99
LBB0_60:
	mov	w12, #0
	mov	w8, #0
	mov	w11, #0
	b	LBB0_64
LBB0_61:
	ldp	w9, w8, [sp, #16]
	cmp	w8, #0
	cset	w2, gt
	ldp	w11, w10, [sp, #8]
	cmp	w10, #0
	cset	w12, gt
	bfi	w2, w12, #1, #1
	cmp	w11, #0
	cset	w12, gt
	bfi	w2, w12, #2, #1
	cmp	w9, #0
	cset	w12, gt
	bfi	w2, w12, #3, #1
	ubfiz	w21, w8, #4, #1
	bfi	w21, w10, #5, #1
	bfi	w21, w11, #6, #1
	bfi	w21, w9, #7, #1
	orr	w20, w21, w2
	ldr	w8, [x19, #40]
	cmp	w20, w8
	b.eq	LBB0_99
; %bb.62:
Lloh34:
	adrp	x8, _R_GPIO_EN1@GOTPAGE
Lloh35:
	ldr	x8, [x8, _R_GPIO_EN1@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_HFC_outb_nodebug
Lloh37:
	adrp	x8, _R_GPIO_OUT1@GOTPAGE
Lloh38:
	ldr	x8, [x8, _R_GPIO_OUT1@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	lsr	w2, w21, #4
	mov	x0, x19
	b	LBB0_66
LBB0_63:
	mov	w12, #0
	mov	w10, #0
	mov	w11, #1
	str	w11, [sp, #8]
	ldr	x9, [x19, #24]
	str	xzr, [x9, #8]
LBB0_64:
	bfi	w11, w8, #2, #1
	bfi	w11, w10, #1, #1
	bfi	w11, w12, #3, #1
	eor	w20, w11, #0xf
	ldr	w8, [x19, #40]
	cmp	w20, w8
	b.eq	LBB0_99
; %bb.65:
Lloh40:
	adrp	x8, _R_GPIO_OUT1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _R_GPIO_OUT1@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
LBB0_66:
	bl	_HFC_outb_nodebug
	str	w20, [x19, #40]
	b	LBB0_99
LBB0_67:
	mov	w9, #2
	str	w9, [sp, #8]
	ldr	x11, [x19, #24]
	str	wzr, [x11]
	b	LBB0_83
LBB0_68:
	mov	w11, #0
	str	wzr, [x9, #8]
	cmp	w13, #2048
	b.lt	LBB0_16
LBB0_69:
	mov	w13, #0
	str	wzr, [x9, #12]
	cbnz	w11, LBB0_17
	b	LBB0_18
LBB0_70:
	ldr	w10, [x19, #32]
	cbz	w10, LBB0_72
; %bb.71:
Lloh43:
	adrp	x10, _poll@GOTPAGE
Lloh44:
	ldr	x10, [x10, _poll@GOTPAGEOFF]
Lloh45:
	ldr	w11, [x10]
	str	w11, [x9, #8]
	ldr	w13, [x9, #12]
	cbnz	w13, LBB0_8
	b	LBB0_73
LBB0_72:
	mov	w11, #0
	ldr	w13, [x9, #12]
	cbnz	w13, LBB0_8
LBB0_73:
	ldr	w10, [x19, #36]
	cbz	w10, LBB0_75
; %bb.74:
Lloh46:
	adrp	x10, _poll@GOTPAGE
Lloh47:
	ldr	x10, [x10, _poll@GOTPAGEOFF]
Lloh48:
	ldr	w13, [x10]
	str	w13, [x9, #12]
	mov	w10, #1
	cbnz	w11, LBB0_9
	b	LBB0_11
LBB0_75:
	mov	w13, #0
	mov	w10, #1
	cbnz	w11, LBB0_9
	b	LBB0_11
LBB0_76:
	str	w8, [x11]
	mov	x12, x8
LBB0_77:
	cmp	w12, #1024
	b.ge	LBB0_79
; %bb.78:
	mov	w13, #0
	mov	w9, #0
	str	wzr, [sp, #8]
	cbnz	w12, LBB0_82
	b	LBB0_83
LBB0_79:
	cmp	w12, #2048
	b.lo	LBB0_81
; %bb.80:
	str	wzr, [x11]
	mov	w9, #1
	b	LBB0_83
LBB0_81:
	mov	w13, #1
LBB0_82:
	add	w9, w8, w12
	str	w9, [x11]
	mov	x9, x13
LBB0_83:
	ldr	x11, [x10, #96]
	cbz	x11, LBB0_88
; %bb.84:
	ldr	w10, [x11]
	cbz	w10, LBB0_88
; %bb.85:
	ldr	w11, [x11, #4]
Lloh49:
	adrp	x12, _ISDN_P_NT_S0@GOTPAGE
Lloh50:
	ldr	x12, [x12, _ISDN_P_NT_S0@GOTPAGEOFF]
Lloh51:
	ldr	w12, [x12]
	mov	w13, #7
	mov	w14, #3
	cmp	w11, w12
	csel	w11, w14, w13, eq
	cmp	w10, w11
	b.ne	LBB0_89
; %bb.86:
	ldp	w11, w10, [x19, #32]
	orr	w10, w11, w10
	str	w10, [x19, #32]
	ldr	x11, [x19, #24]
	ldr	w12, [x11, #4]
	cbnz	w12, LBB0_91
; %bb.87:
	tbnz	w10, #1, LBB0_90
LBB0_88:
	mov	w10, #0
	str	wzr, [sp, #12]
	b	LBB0_97
LBB0_89:
	mov	w10, #2
	str	w10, [sp, #12]
	ldr	x8, [x19, #24]
	str	wzr, [x8, #4]
	b	LBB0_97
LBB0_90:
	str	w8, [x11, #4]
	mov	x12, x8
LBB0_91:
	cmp	w12, #1024
	b.ge	LBB0_93
; %bb.92:
	mov	w13, #0
	mov	w10, #0
	str	wzr, [sp, #12]
	cbnz	w12, LBB0_96
	b	LBB0_97
LBB0_93:
	cmp	w12, #2048
	b.lo	LBB0_95
; %bb.94:
	str	wzr, [x11, #4]
	mov	w10, #1
	b	LBB0_97
LBB0_95:
	mov	w13, #1
LBB0_96:
	add	w8, w8, w12
	str	w8, [x11, #4]
	mov	x10, x13
LBB0_97:
	cmp	w9, #0
	cset	w8, ne
	cmp	w10, #0
	cset	w11, ne
	ubfiz	w20, w9, #2, #1
	bfi	w20, w10, #3, #1
	orr	w21, w20, w8
	bfi	w21, w11, #1, #1
	ldr	w8, [x19, #40]
	cmp	w21, w8
	b.eq	LBB0_99
; %bb.98:
	cmp	w10, #0
	cset	w8, ne
	cmp	w9, #0
	cset	w9, ne
Lloh52:
	adrp	x10, _R_GPIO_EN1@GOTPAGE
Lloh53:
	ldr	x10, [x10, _R_GPIO_EN1@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x10]
	lsl	w2, w9, #2
	bfi	w2, w8, #3, #1
	mov	x0, x19
	bl	_HFC_outb_nodebug
Lloh55:
	adrp	x8, _R_GPIO_OUT1@GOTPAGE
Lloh56:
	ldr	x8, [x8, _R_GPIO_OUT1@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_HFC_outb_nodebug
	str	w21, [x19, #40]
LBB0_99:
	str	xzr, [x19, #32]
	ldr	x8, [sp, #24]
Lloh58:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh59:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_101
; %bb.100:
	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
LBB0_101:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_2-LBB0_2)>>2
	.short	(LBB0_20-LBB0_2)>>2
	.short	(LBB0_37-LBB0_2)>>2
	.short	(LBB0_99-LBB0_2)>>2
	.short	(LBB0_99-LBB0_2)>>2
	.short	(LBB0_99-LBB0_2)>>2
	.short	(LBB0_99-LBB0_2)>>2
	.short	(LBB0_43-LBB0_2)>>2
                                        ; -- End function
	.comm	_poll,8,3                       ; @poll
	.comm	_R_GPIO_OUT1,4,2                ; @R_GPIO_OUT1
	.comm	_ISDN_P_NT_S0,4,2               ; @ISDN_P_NT_S0
	.comm	_HFC_CHIP_B410P,4,2             ; @HFC_CHIP_B410P
	.comm	_R_GPIO_EN1,4,2                 ; @R_GPIO_EN1
	.comm	_R_BRG_PCM_CFG,4,2              ; @R_BRG_PCM_CFG
	.comm	_V_PCM_CLK,4,2                  ; @V_PCM_CLK
	.no_dead_strip	_hfcmulti_leds
.subsections_via_symbols
